make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does

This commit is contained in:
Dana Jansens 2002-07-16 04:15:24 +00:00
parent 1d4391b09c
commit 7427fe1b9c

View file

@ -705,8 +705,13 @@ void Blackbox::process_event(XEvent *e) {
if (screen && workspace < screen->getWorkspaceCount()) if (screen && workspace < screen->getWorkspaceCount())
screen->changeWorkspaceID(workspace); screen->changeWorkspaceID(workspace);
} else if (e->xclient.message_type == } else if (e->xclient.message_type ==
xatom->getAtom(XAtom::blackbox_change_window_focus) || xatom->getAtom(XAtom::blackbox_change_window_focus)) {
e->xclient.message_type == // 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)) { xatom->getAtom(XAtom::net_active_window)) {
// NET_ACTIVE_WINDOW // NET_ACTIVE_WINDOW
BlackboxWindow *win = searchWindow(e->xclient.window); BlackboxWindow *win = searchWindow(e->xclient.window);