]> Dogcows Code - chaz/openbox/commitdiff
make bbkeys' cycliong work right, how it used to. instead of working like supoprt...
authorDana Jansens <danakj@orodu.net>
Tue, 16 Jul 2002 04:15:24 +0000 (04:15 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 16 Jul 2002 04:15:24 +0000 (04:15 +0000)
src/blackbox.cc

index 3ec32d5208d5d1da86f47774c9ac2b54b1916d83..4a1aebc8b4d282190fdf5365b707e67a8be614db 100644 (file)
@@ -705,8 +705,13 @@ void Blackbox::process_event(XEvent *e) {
         if (screen && workspace < screen->getWorkspaceCount())
           screen->changeWorkspaceID(workspace);
       } else if (e->xclient.message_type == 
-                 xatom->getAtom(XAtom::blackbox_change_window_focus) ||
-                 e->xclient.message_type == 
+                 xatom->getAtom(XAtom::blackbox_change_window_focus)) {
+        // TEMP HACK TO KEEP BBKEYS WORKING
+        BlackboxWindow *win = searchWindow(e->xclient.window);
+
+        if (win && win->isVisible() && win->setInputFocus())
+          win->installColormap(True);
+      } else if (e->xclient.message_type == 
                  xatom->getAtom(XAtom::net_active_window)) {
         // NET_ACTIVE_WINDOW
         BlackboxWindow *win = searchWindow(e->xclient.window);
This page took 0.024102 seconds and 4 git commands to generate.