mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
win32: Use GCLP_* instead of GCL_* when calling GetClassLongPtr
(commit message by Neil) GetClassLongPtr expects a different constant when retrieving handles or pointers. This fixes problems using Win64.
This commit is contained in:
parent
f2776ea32b
commit
c99a24d341
@ -222,7 +222,7 @@ _clutter_stage_win32_update_cursor (ClutterStageWin32 *stage_win32)
|
||||
HCURSOR cursor;
|
||||
|
||||
if (stage_win32->is_cursor_visible)
|
||||
cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCL_HCURSOR);
|
||||
cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCLP_HCURSOR);
|
||||
else
|
||||
{
|
||||
ClutterBackend *backend = clutter_get_default_backend ();
|
||||
|
Loading…
Reference in New Issue
Block a user