Author: gadamopoulos
Date: Sat Jul 22 17:13:06 2017
New Revision: 75389
URL:
http://svn.reactos.org/svn/reactos?rev=75389&view=rev
Log:
[EXPLORER] -Restore a call to RegLoadSettings while handling WM_DISPLAYCHANGE which was
removed in r74221. This is not really correct since it resets the size and position of the
taskbar but I add it back since it updates the cached rects for all four positions.
Modified:
trunk/reactos/base/shell/explorer/traywnd.cpp
Modified: trunk/reactos/base/shell/explorer/traywnd.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/traywn…
==============================================================================
--- trunk/reactos/base/shell/explorer/traywnd.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/traywnd.cpp [iso-8859-1] Sat Jul 22 17:13:06 2017
@@ -2265,6 +2265,9 @@
LRESULT OnDisplayChange(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
+ /* Load the saved tray window settings */
+ RegLoadSettings();
+
/* Move the tray window to the right position and resize it if necessary */
CheckTrayWndPosition();