[gnome-session] gnome-session-check-accelerated: Refuse to work in zaphod mode



commit a1489d49290df0ba3812134a45d2311d46db6999
Author: Adam Jackson <ajax redhat com>
Date:   Tue Jun 7 14:44:42 2011 -0400

    gnome-session-check-accelerated: Refuse to work in zaphod mode
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651799

 tools/gnome-session-check-accelerated-helper.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tools/gnome-session-check-accelerated-helper.c b/tools/gnome-session-check-accelerated-helper.c
index 3bb0dcf..3f83f76 100644
--- a/tools/gnome-session-check-accelerated-helper.c
+++ b/tools/gnome-session-check-accelerated-helper.c
@@ -266,6 +266,11 @@ main (int argc, char **argv)
                 goto out;
         }
 
+        if (ScreenCount (display) > 1) {
+                _print_error ("Zaphod mode not supported.");
+                goto out;
+        }
+
         if (_has_composite (display) != 0) {
                 _print_error ("No composite extension.");
                 goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]