From: Dana Jansens Date: Tue, 16 Jul 2002 04:15:24 +0000 (+0000) Subject: make bbkeys' cycliong work right, how it used to. instead of working like supoprt... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7427fe1b9c7eabccdece941c70403a0fef1349b0;p=chaz%2Fopenbox make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does --- diff --git a/src/blackbox.cc b/src/blackbox.cc index 3ec32d52..4a1aebc8 100644 --- a/src/blackbox.cc +++ b/src/blackbox.cc @@ -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);