Revision: 14759
http://sourceforge.net/p/edk2/code/14759
Author: vanjeff
Date: 2013-10-09 08:02:37 +0000 (Wed, 09 Oct 2013)
Log Message:
-----------
Sync patch r14758 from main trunk.
Restore the correct cursor status after finish creating the dialog.
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/14758
Modified Paths:
--------------
branches/UDK2010.SR1/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
Modified:
branches/UDK2010.SR1/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
===================================================================
---
branches/UDK2010.SR1/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
2013-10-09 07:51:14 UTC (rev 14758)
+++
branches/UDK2010.SR1/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.c
2013-10-09 08:02:37 UTC (rev 14759)
@@ -420,6 +420,7 @@
UINTN DimensionsWidth;
UINTN DimensionsHeight;
UINTN CurrentAttribute;
+ BOOLEAN CursorVisible;
//
// If screen dimension info is not ready, get it from console.
@@ -453,7 +454,8 @@
LargestString = DimensionsWidth - 2;
}
- CurrentAttribute = gST->ConOut->Mode->Attribute;
+ CurrentAttribute = gST->ConOut->Mode->Attribute;
+ CursorVisible = gST->ConOut->Mode->CursorVisible;
gST->ConOut->EnableCursor (gST->ConOut, FALSE);
gST->ConOut->SetAttribute (gST->ConOut, GetPopupColor ());
@@ -535,7 +537,7 @@
}
gST->ConOut->SetAttribute (gST->ConOut, CurrentAttribute);
- gST->ConOut->EnableCursor (gST->ConOut, TRUE);
+ gST->ConOut->EnableCursor (gST->ConOut, CursorVisible);
}
/**
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits