Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
compiz-manager
compiz-manager-NOMAD.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compiz-manager-NOMAD.diff of Package compiz-manager
--- compiz-manager.orig 2008-09-10 18:04:28.000000000 +0200 +++ compiz-manager 2008-09-10 18:05:06.000000000 +0200 @@ -199,6 +199,19 @@ fi } +# Detects if Xdmx is running +check_xdmx() +{ + verbose "Checking for Xdmx: " + if xdpyinfo | grep -q DMX ; then + verbose "present. \n" + return 0; + else + verbose "not present. \n" + return 1; + fi +} + # Detects if Xgl is running check_xgl() { @@ -359,8 +372,16 @@ INDIRECT="yes"; fi +# if we run under Xdmx +if check_xdmx; then + # check if we have the required bits to run compiz and if not, + # fallback + if ! check_composite; then + abort_with_fallback_wm + fi + # if we run under Xgl, we can skip some tests here -if ! check_xgl; then +elif ! check_xgl; then # if vesa or vga are in use, do not even try glxinfo (LP#119341) if ! running_under_whitelisted_driver || have_blacklisted_pciid; then abort_with_fallback_wm
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor