mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
make sure compositor things don't get compiled when we're not using the
2008-06-02 Thomas Thurman <tthurman@gnome.org> * src/core/display.c: make sure compositor things don't get compiled when we're not using the compositor. svn path=/trunk/; revision=3748
This commit is contained in:
parent
327e3cb6b5
commit
a8c5c002fb
@ -1,3 +1,8 @@
|
||||
2008-06-02 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* src/core/display.c: make sure compositor things don't get
|
||||
compiled when we're not using the compositor.
|
||||
|
||||
2008-06-02 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* test/metacity-test: new test script, imported from
|
||||
|
@ -5116,6 +5116,7 @@ meta_display_remove_autoraise_callback (MetaDisplay *display)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_COMPOSITE_EXTENSIONS
|
||||
void
|
||||
meta_display_get_compositor_version (MetaDisplay *display,
|
||||
int *major,
|
||||
@ -5124,6 +5125,7 @@ meta_display_get_compositor_version (MetaDisplay *display,
|
||||
*major = display->composite_major_version;
|
||||
*minor = display->composite_minor_version;
|
||||
}
|
||||
#endif
|
||||
|
||||
Display *
|
||||
meta_display_get_xdisplay (MetaDisplay *display)
|
||||
@ -5155,14 +5157,18 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user