summaryrefslogtreecommitdiff
path: root/mate-panel/panel-action-protocol.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-17 17:02:14 +0100
committerStefano Karapetsas <[email protected]>2014-02-17 17:02:14 +0100
commit453154a00f0f17e20340e408055e224ea57cc4e8 (patch)
tree01006728be3b989e2a0cacd20b4e287a5d63eec9 /mate-panel/panel-action-protocol.c
parent9043b93048346404662950b55b5d60b7e588e375 (diff)
downloadmate-panel-453154a00f0f17e20340e408055e224ea57cc4e8.tar.bz2
mate-panel-453154a00f0f17e20340e408055e224ea57cc4e8.tar.xz
Fix mate-panel --reset
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;