mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
ae58ad8c46
The GetSystemMetrics() function returns wrong values for SM_CXSIZEFRAME, SM_CYSIZEFRAME, SM_CXFIXEDFRAME and SM_CYFIXEDFRAME when built with Visual Studio 2012 and 2013 (unless the XP compatibility setting for the PlatformToolset entry is turned on), causing the window of Clutter programs to automatically shrink to a point where they become unusable. This patch uses AdjustWindowRectEx() for builds using Visual Studio 2012 and later, which deduces the required height and width of the Window properly. Unfortunately we can't use this for the VS 2008/2010 builds as they cause the Window to continually expand as the program is run. https://bugzilla.gnome.org/show_bug.cgi?id=725873 |
||
---|---|---|
.. | ||
clutter-backend-win32.c | ||
clutter-backend-win32.h | ||
clutter-device-manager-win32.c | ||
clutter-device-manager-win32.h | ||
clutter-event-win32.c | ||
clutter-stage-win32.c | ||
clutter-stage-win32.h | ||
clutter-win32.h | ||
invisible-cursor.cur | ||
resources.rc |