diff options
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,7 +87,8 @@ filter_func (GdkXEvent *xevent, return GDK_FILTER_REMOVE; else { - ef->last_event_serial = ((XEvent*)xevent)->xany.serial; + if (ef) + ef->last_event_serial = ((XEvent*)xevent)->xany.serial; return GDK_FILTER_CONTINUE; } } |