* I'm a total idiot -- the last change moved this block of code, but
  it was still in the wrong place (before screens had been counted)
1 files changed, 12 insertions(+), 12 deletions(-)

M Manager.C
M Manager.C +12 -12
@@ 248,17 248,6 @@ WindowManager::WindowManager(int argc, c
     m_shell = (char *)getenv("SHELL");
     if (!m_shell) m_shell = NewString("/bin/sh");
 
-#ifdef CONFIG_USE_COMPOSITE
-    int ev, er;
-    if (XCompositeQueryExtension(m_display, &ev, &er)) {
-        fprintf(stderr, "\n     Enabling composite extension.\n");
-        for (int i = 0; i < m_screensTotal; ++i) {
-            XCompositeRedirectSubwindows(m_display, RootWindow(m_display, i),
-                                         CompositeRedirectAutomatic);
-        }
-    }
-#endif
-
     // find out what the Alt keycode and thus modifier mask are
     int kpk = 0;
     int kmin = 0;

          
@@ 355,7 344,18 @@ WindowManager::WindowManager(int argc, c
     if (m_screensTotal > 1) {
         fprintf(stderr, "\n     Detected %d screens.", m_screensTotal);
     }
-    
+   
+#ifdef CONFIG_USE_COMPOSITE
+    int ev, er;
+    if (XCompositeQueryExtension(m_display, &ev, &er)) {
+        fprintf(stderr, "\n     Enabling composite extension.\n");
+        for (int i = 0; i < m_screensTotal; ++i) {
+            XCompositeRedirectSubwindows(m_display, RootWindow(m_display, i),
+                                         CompositeRedirectAutomatic);
+        }
+    }
+#endif
+ 
     XSetSelectionOwner(m_display, Atoms::wmx_running,
 		       None, timestamp(True)); // used to have m_menuWindow
     XSync(m_display, False);