all repos — fluxbox @ 06837ba8642b8a126de92f60ae05d5f84bba8bfe

custom fork of the fluxbox windowmanager

cosmetic changes
Mark Tiefenbruck mark@fluxbox.org
commit

06837ba8642b8a126de92f60ae05d5f84bba8bfe

parent

fe412dbeef7af324a376cba338bff8c24e032d2e

2 files changed, 9 insertions(+), 18 deletions(-)

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

@@ -93,11 +93,6 @@

void CommandDialog::hide() { FbTk::FbWindow::hide(); Fluxbox::instance()->setShowingDialog(false); - - // return focus to fluxbox window - if (FocusControl::focusedFbWindow()) - FocusControl::focusedFbWindow()->focus(); - } void CommandDialog::exposeEvent(XExposeEvent &event) {
M src/fluxbox.ccsrc/fluxbox.cc

@@ -884,22 +884,18 @@ if (ue.event != ue.window && (!screen || !ue.send_event)) {

return; } - WinClient *winclient = 0; - - if ((winclient = searchWindow(ue.window)) != 0) { - - if (winclient != 0) { - FluxboxWindow *win = winclient->fbwindow(); - - if (!win) { - delete winclient; - return; - } + WinClient *winclient = searchWindow(ue.window); - // this should delete client and adjust m_focused_window if necessary - win->unmapNotifyEvent(ue); + if (winclient != 0) { + FluxboxWindow *win = winclient->fbwindow(); + if (!win) { + delete winclient; + return; } + + // this should delete client and adjust m_focused_window if necessary + win->unmapNotifyEvent(ue); // according to http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4 // a XWithdrawWindow is