mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 04:02:36 +00:00
Fix a compile error when the X11 backend is disabled
When defining clutter_stage_gdk_update_foreign_event_mask, check for the same macros as when actually using it. Signed-off-by: Dima Ryazanov <dima@gmail.com> Reviewed-by: Emmanuele Bassi <ebassi@gnome.org>
This commit is contained in:
parent
fbe2c74e19
commit
71743ef660
@ -70,7 +70,7 @@ G_DEFINE_TYPE_WITH_CODE (ClutterStageGdk,
|
||||
G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_STAGE_WINDOW,
|
||||
clutter_stage_window_iface_init));
|
||||
|
||||
#ifdef CLUTTER_WINDOWING_X11
|
||||
#if defined(GDK_WINDOWING_X11) && defined(COGL_HAS_XLIB_SUPPORT)
|
||||
static void
|
||||
clutter_stage_gdk_update_foreign_event_mask (CoglOnscreen *onscreen,
|
||||
guint32 event_mask,
|
||||
|
Loading…
Reference in New Issue
Block a user