this really needs to be fixed

This commit is contained in:
Mark Tiefenbruck 2007-12-30 14:16:58 -08:00
parent 0c1380128d
commit 2590d207e0

View file

@ -2898,9 +2898,12 @@ void FluxboxWindow::enterNotifyEvent(XCrossingEvent &ev) {
}
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 @@ void FluxboxWindow::leaveNotifyEvent(XCrossingEvent &ev) {
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())