summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c
index ce108a748..1fe5cd4ba 100644
--- a/src/ui/ui.c
+++ b/src/ui/ui.c
@@ -116,8 +116,8 @@ maybe_redirect_mouse_event (XEvent *xevent)
GdkWindow *gdk_window;
Window window;
XIEvent *xev;
- XIDeviceEvent *xev_d;
- XIEnterEvent *xev_e;
+ XIDeviceEvent *xev_d = NULL;
+ XIEnterEvent *xev_e = NULL;
if (!is_input_event (xevent))
return FALSE;