[gtk/present-toplevel-2] more win32 build fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2] more win32 build fixes
- Date: Thu, 12 Mar 2020 23:19:50 +0000 (UTC)
commit c101da01ce101f47be55c0d03cb1c96f8ff9f746
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 12 19:18:54 2020 -0400
more win32 build fixes
gdk/win32/gdkevents-win32.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
index 636ed06554..5a4b833589 100644
--- a/gdk/win32/gdkevents-win32.c
+++ b/gdk/win32/gdkevents-win32.c
@@ -3472,8 +3472,7 @@ gdk_event_translate (MSG *msg,
(LOWORD (msg->wParam) == WA_INACTIVE ? "INACTIVE" : "???"))),
HIWORD (msg->wParam) ? " minimized" : "",
(HWND) msg->lParam));
- if (window->surface_type == GDK_SURFACE_POPUP ||
- window->surface_type == GDK_SURFACE_TEMP)
+ if (GDK_IS_POPUP (window) || GDK_IS_DRAG_SURFACE (window))
{
/* Popups cannot be activated or de-activated -
* they only support keyboard focus, which GTK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]