all repos — fluxbox @ 82f02f44c590e6eb04b2b6211bc602cd75210524

custom fork of the fluxbox windowmanager

I seem to have forgotten this in the last patch
markt markt
commit

82f02f44c590e6eb04b2b6211bc602cd75210524

parent

e407bb80b62205cd647082bee4658327b962f24b

2 files changed, 0 insertions(+), 24 deletions(-)

jump to
M src/FocusControl.ccsrc/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.ccsrc/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(); }