I seem to have forgotten this in the last patch
markt markt
2 files changed,
0 insertions(+),
24 deletions(-)
M
src/FocusControl.cc
→
src/FocusControl.cc
@@ -399,9 +399,6 @@ * focus is meant to be, it'll make things right ;-)
* last_focused is set to something if we want to make use of the * previously focused window (it must NOT be set focused now, it * is probably dying). - * - * ignore_event means that it ignores the given event until - * it gets a focusIn */ void FocusControl::revertFocus(BScreen &screen) { if (s_reverting)@@ -454,21 +451,6 @@ bool unfocus_frame) {
// go up the transient tree looking for a focusable window FluxboxWindow *fbwin = client.fbwindow(); - if (fbwin == 0) - unfocus_frame = false; - - WinClient *trans_parent = client.transientFor(); - while (trans_parent) { - if (trans_parent->fbwindow() && // can't focus if no fbwin - (!unfocus_frame || trans_parent->fbwindow() != fbwin) && // can't be this window - trans_parent->fbwindow()->isVisible() && - trans_parent->fbwindow()->setCurrentClient(*trans_parent, - s_focused_window == &client)) { - return; - } - trans_parent = trans_parent->transientFor(); - } - if (fbwin == 0) return; // nothing more we can do
M
src/Window.cc
→
src/Window.cc
@@ -204,9 +204,6 @@ void tempRaiseFluxboxWindow(FluxboxWindow &win) {
if (win.oplock) return; win.oplock = true; - if (!win.winClient().transientList().empty()) - win.screen().layerManager().lock(); - if (!win.isIconic()) { // don't update netizen, as it is only temporary win.layerItem().tempRaise();@@ -221,9 +218,6 @@ // TODO: should we also check if it is the active client?
tempRaiseFluxboxWindow(*(*it)->fbwindow()); } win.oplock = false; - - if (!win.winClient().transientList().empty()) - win.screen().layerManager().unlock(); }