GDK/Win32: Rename "window" for event handling code
We want to make the distinction between GdkSurface's and native Windows HWNDs clearer.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -36,7 +36,7 @@ HKL _gdk_input_locale;
|
||||
gboolean _gdk_input_locale_is_ime = FALSE;
|
||||
|
||||
GdkWin32ModalOpKind _modal_operation_in_progress = GDK_WIN32_MODAL_OP_NONE;
|
||||
HWND _modal_move_resize_window = NULL;
|
||||
HWND _modal_move_resize_hwnd = NULL;
|
||||
|
||||
/* The singleton clipdrop object pointer */
|
||||
GdkWin32Clipdrop *_win32_clipdrop = NULL;
|
||||
|
||||
@@ -168,7 +168,7 @@ typedef enum {
|
||||
/* Non-zero while a modal sizing, moving, or dnd operation is in progress */
|
||||
extern GdkWin32ModalOpKind _modal_operation_in_progress;
|
||||
|
||||
extern HWND _modal_move_resize_window;
|
||||
extern HWND _modal_move_resize_hwnd;
|
||||
|
||||
void _gdk_win32_begin_modal_call (GdkWin32ModalOpKind kind);
|
||||
void _gdk_win32_end_modal_call (GdkWin32ModalOpKind kind);
|
||||
|
||||
@@ -989,7 +989,7 @@ gdk_win32_surface_move_resize_internal (GdkSurface *surface,
|
||||
{
|
||||
/* We ignore changes to the surface being moved or resized by the
|
||||
user, as we don't want to fight the user */
|
||||
if (GDK_SURFACE_HWND (surface) == _modal_move_resize_window)
|
||||
if (GDK_SURFACE_HWND (surface) == _modal_move_resize_hwnd)
|
||||
goto out;
|
||||
|
||||
if (with_move && (width < 0 && height < 0))
|
||||
|
||||
Reference in New Issue
Block a user