all repos — fluxbox @ 2590d207e084513dd63b11ae521cb65d3b407ed1

custom fork of the fluxbox windowmanager

this really needs to be fixed
Mark Tiefenbruck mark@fluxbox.org
commit

2590d207e084513dd63b11ae521cb65d3b407ed1

parent

0c1380128d6e99b59945a64eb2167df68c5e4577

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2898,9 +2898,12 @@ return;

} if (ev.window == frame().window()) { + // save old value, so we can restore it later + WinClient *old = WindowCmd<void>::client(); WindowCmd<void>::setWindow(this); Fluxbox::instance()->keys()->doAction(ev.type, ev.state, 0, Keys::ON_WINDOW); + WindowCmd<void>::setClient(old); } WinClient *client = 0;

@@ -2957,9 +2960,12 @@ ev.x_root <= (int)(frame().x() + frame().width()) &&

ev.y_root <= (int)(frame().y() + frame().height())) return; + // save old value, so we can restore it later + WinClient *old = WindowCmd<void>::client(); WindowCmd<void>::setWindow(this); Fluxbox::instance()->keys()->doAction(ev.type, ev.state, 0, Keys::ON_WINDOW); + WindowCmd<void>::setClient(old); // I hope commenting this out is right - simon 21jul2003 //if (ev.window == frame().window())