Commit 7ccf6a7d authored by LRN's avatar LRN
Browse files

GDK W32: remove unused client_message

This seems to be a leftover from API that was removed in
commit c332ac20 back in 2011.
The code, as it is now, does not even make sense.
parent 5c9ae36c
Pipeline #7518 passed with stages
in 50 minutes and 56 seconds
......@@ -129,7 +129,6 @@ static GdkSurface *mouse_window = NULL;
static GdkSurface *mouse_window_ignored_leave = NULL;
static gint current_x, current_y;
static gint current_root_x, current_root_y;
static UINT client_message;
static UINT got_gdk_events_message;
static HWND modal_win32_dialog = NULL;
......@@ -462,7 +461,6 @@ _gdk_events_init (GdkDisplay *display)
client_message = RegisterWindowMessage ("GDK_WIN32_CLIENT_MESSAGE");
got_gdk_events_message = RegisterWindowMessage ("GDK_WIN32_GOT_EVENTS");
#if 0
......@@ -2378,42 +2376,6 @@ gdk_event_translate (MSG *msg,
if (msg->message == client_message)
GList *tmp_list;
GdkFilterReturn result = GDK_FILTER_CONTINUE;
GList *node;
GDK_NOTE (EVENTS, g_print (" client_message"));
event = gdk_event_new (GDK_NOTHING);
((GdkEventPrivate *)event)->flags |= GDK_EVENT_PENDING;
node = _gdk_event_queue_append (display, event);
switch (result)
_gdk_event_queue_remove_link (display, node);
g_list_free_1 (node);
gdk_event_free (event);
return_val = TRUE;
goto done;
((GdkEventPrivate *)event)->flags &= ~GDK_EVENT_PENDING;
GDK_NOTE (EVENTS, _gdk_win32_print_event (event));
return_val = TRUE;
goto done;
/* No more: Send unknown client messages on to Gtk for it to use */
GDK_NOTE (EVENTS, _gdk_win32_print_event (event));
return_val = TRUE;
goto done;
if (msg->message == aerosnap_message)
_gdk_win32_surface_handle_aerosnap (gdk_surface_get_toplevel (window),
(GdkWin32AeroSnapCombo) msg->wParam);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment