1
0
Fork 0
mutter-performance-source/clutter/win32
Chun-wei Fan c1fd29df7a Fix The Win32 Backend for Newer Visual Studio Versions
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
2014-03-08 18:35:50 +08:00
..
clutter-backend-win32.c win32: Disable event retrieval in Cogl 2013-07-12 17:59:54 +01:00
clutter-backend-win32.h Remove per-backend CLUTTER_VBLANK envvar 2011-11-10 14:55:02 +00:00
clutter-device-manager-win32.c win32: Update DeviceManager device creation 2011-01-21 10:25:45 +00:00
clutter-device-manager-win32.h device: Impose per-backend DeviceManager 2010-02-17 17:46:48 +00:00
clutter-event-win32.c stage: Remove tracking input devices, it's not used 2012-09-03 21:50:19 +01:00
clutter-stage-win32.c Fix The Win32 Backend for Newer Visual Studio Versions 2014-03-08 18:35:50 +08:00
clutter-stage-win32.h win32: Use the Stage state tracking 2012-01-26 08:31:10 +00:00
clutter-win32.h win32: Add a public clutter_win32_handle_event function 2010-10-25 13:19:17 +01:00
invisible-cursor.cur win32: Use an invisible cursor when cursor-visible is FALSE 2010-01-19 16:10:23 +00:00
resources.rc win32: Use an invisible cursor when cursor-visible is FALSE 2010-01-19 16:10:23 +00:00