cosmetic changes
Mark Tiefenbruck mark@fluxbox.org
2 files changed,
9 insertions(+),
18 deletions(-)
M
src/CommandDialog.cc
→
src/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.cc
→
src/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