make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
This commit is contained in:
parent
1d4391b09c
commit
7427fe1b9c
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue