diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-16 04:15:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-16 04:15:24 +0000 |
| commit | 7427fe1b9c7eabccdece941c70403a0fef1349b0 (patch) | |
| tree | 3d05944afeeb27fcf069245c18956a724a120230 /src/blackbox.cc | |
| parent | 1d4391b09c12a0615bb6be65f9af514db4eed709 (diff) | |
make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
Diffstat (limited to 'src/blackbox.cc')
| -rw-r--r-- | src/blackbox.cc | 9 |
1 files changed, 7 insertions, 2 deletions
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); |
