summaryrefslogtreecommitdiff
path: root/mate-panel/panel-action-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-action-protocol.c')
-rw-r--r--mate-panel/panel-action-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-action-protocol.c b/mate-panel/panel-action-protocol.c
index 12a7f667..3a4efa72 100644
--- a/mate-panel/panel-action-protocol.c
+++ b/mate-panel/panel-action-protocol.c
@@ -118,8 +118,8 @@ panel_action_protocol_filter (GdkXEvent *gdk_xevent,
display = gdk_screen_get_display (screen);
window = gdk_x11_window_lookup_for_display (display, xevent->xclient.window);
#else
- screen = gdk_drawable_get_screen (window);
window = gdk_window_lookup (xevent->xclient.window);
+ screen = gdk_drawable_get_screen (window);
#endif
if (!window)
return GDK_FILTER_CONTINUE;