projects
/
dana
/
dcompmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ccb99e
)
check for composite version 0.3
author
Dana Jansens
<danakj@orodu.net>
Tue, 4 Mar 2008 21:16:46 +0000
(16:16 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 4 Mar 2008 21:16:46 +0000
(16:16 -0500)
dcompmgr.c
patch
|
blob
|
history
diff --git
a/dcompmgr.c
b/dcompmgr.c
index
1c4a5f9
..
542f1ad
100644
(file)
--- a/
dcompmgr.c
+++ b/
dcompmgr.c
@@
-91,6
+91,12
@@
main(int argc, char **argv)
display_unref(dpy);
return 1;
}
+ if (dpy->composite.major_version <= 0 && dpy->composite.minor_version < 3)
+ {
+ printf(_("composite extension does not support the overlay window"));
+ display_unref(dpy);
+ return 1;
+ }
nscreens = all_screens(dpy, &screens);
if (nscreens < 1) {