mirror of
https://github.com/brl/mutter.git
synced 2025-08-07 09:04:41 +00:00
fixups to allow compilation in non-verbose mode. Closes #515152.
2008-02-14 Jim Huang <jserv.tw@gmail.com> * src/core/display.c, src/core/util.c: fixups to allow compilation in non-verbose mode. Closes #515152. svn path=/trunk/; revision=3569
This commit is contained in:

committed by
Thomas James Alexander Thurman

parent
2d41d65cf2
commit
04956ecf18
@@ -1246,7 +1246,9 @@ meta_displays_list (void)
|
||||
return all_displays;
|
||||
}
|
||||
|
||||
#ifdef WITH_VERBOSE_MODE
|
||||
static gboolean dump_events = TRUE;
|
||||
#endif
|
||||
|
||||
static gboolean
|
||||
grab_op_is_mouse_only (MetaGrabOp op)
|
||||
@@ -1607,8 +1609,10 @@ event_callback (XEvent *event,
|
||||
|
||||
display = data;
|
||||
|
||||
#ifdef WITH_VERBOSE_MODE
|
||||
if (dump_events)
|
||||
meta_spew_event (display, event);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STARTUP_NOTIFICATION
|
||||
sn_display_process_event (display->sn_display, event);
|
||||
|
Reference in New Issue
Block a user