diff options
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/display.c b/src/core/display.c index 8a97fb6b..e9ce0a98 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -59,20 +59,16 @@ #include <X11/extensions/Xrandr.h> #endif #include <X11/extensions/shape.h> -#ifdef HAVE_RENDER #include <X11/extensions/Xrender.h> -#endif #ifdef HAVE_XKB #include <X11/XKBlib.h> #endif #ifdef HAVE_XCURSOR #include <X11/Xcursor/Xcursor.h> #endif -#ifdef HAVE_COMPOSITE_EXTENSIONS #include <X11/extensions/Xcomposite.h> #include <X11/extensions/Xdamage.h> #include <X11/extensions/Xfixes.h> -#endif #include <string.h> #define GRAB_OP_IS_WINDOW_SWITCH(g) \ @@ -498,7 +494,6 @@ meta_display_open (void) the_display->shape_event_base); } -#ifdef HAVE_RENDER { the_display->have_render = FALSE; @@ -519,11 +514,7 @@ meta_display_open (void) the_display->render_error_base, the_display->render_event_base); } -#else /* HAVE_RENDER */ - meta_verbose ("Not compiled with Render support\n"); -#endif /* !HAVE_RENDER */ -#ifdef HAVE_COMPOSITE_EXTENSIONS { int composite_major_version = 0; int composite_minor_version = 0; @@ -600,9 +591,6 @@ meta_display_open (void) the_display->xfixes_error_base, the_display->xfixes_event_base); } -#else /* HAVE_COMPOSITE_EXTENSIONS */ - meta_verbose ("Not compiled with Composite support\n"); -#endif /* !HAVE_COMPOSITE_EXTENSIONS */ #ifdef HAVE_XCURSOR { @@ -5381,18 +5369,14 @@ meta_display_get_focus_window (MetaDisplay *display) return display->focus_window; } -#ifdef HAVE_COMPOSITE_EXTENSIONS int meta_display_get_damage_event_base (MetaDisplay *display) { return display->damage_event_base; } -#endif -#ifdef HAVE_COMPOSITE_EXTENSIONS int meta_display_get_shape_event_base (MetaDisplay *display) { return display->shape_event_base; } -#endif |