mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
only use compositor version if we have a compositor. Closes #514453.
2008-02-04 Thomas Thurman <tthurman@gnome.org> * src/core/compositor.c: only use compositor version if we have a compositor. Closes #514453. svn path=/trunk/; revision=3552
This commit is contained in:

committed by
Thomas James Alexander Thurman

parent
4c8557055c
commit
fbc3563b21
@ -55,6 +55,7 @@
|
||||
|
||||
#define USE_IDLE_REPAINT 1
|
||||
|
||||
#ifdef HAVE_COMPOSITE_EXTENSIONS
|
||||
static inline gboolean
|
||||
composite_at_least_version (MetaDisplay *display,
|
||||
int maj, int minor)
|
||||
@ -69,6 +70,8 @@ composite_at_least_version (MetaDisplay *display,
|
||||
#define have_cow(display) \
|
||||
composite_at_least_version (display, 0, 3)
|
||||
|
||||
#endif
|
||||
|
||||
typedef enum _MetaCompWindowType
|
||||
{
|
||||
META_COMP_WINDOW_NORMAL,
|
||||
|
Reference in New Issue
Block a user