aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 11:36:08 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 11:36:08 (GMT)
commit06837ba8642b8a126de92f60ae05d5f84bba8bfe (patch)
tree3b23523e74c651225c3f12ff943fd92527668ea9 /src/fluxbox.cc
parentfe412dbeef7af324a376cba338bff8c24e032d2e (diff)
downloadfluxbox-06837ba8642b8a126de92f60ae05d5f84bba8bfe.zip
fluxbox-06837ba8642b8a126de92f60ae05d5f84bba8bfe.tar.bz2
cosmetic changes
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index db337ad..1c3b783 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -884,23 +884,19 @@ void Fluxbox::handleUnmapNotify(XUnmapEvent &ue) {
884 return; 884 return;
885 } 885 }
886 886
887 WinClient *winclient = 0; 887 WinClient *winclient = searchWindow(ue.window);
888 888
889 if ((winclient = searchWindow(ue.window)) != 0) { 889 if (winclient != 0) {
890
891 if (winclient != 0) {
892 FluxboxWindow *win = winclient->fbwindow();
893
894 if (!win) {
895 delete winclient;
896 return;
897 }
898
899 // this should delete client and adjust m_focused_window if necessary
900 win->unmapNotifyEvent(ue);
901 890
891 FluxboxWindow *win = winclient->fbwindow();
892 if (!win) {
893 delete winclient;
894 return;
902 } 895 }
903 896
897 // this should delete client and adjust m_focused_window if necessary
898 win->unmapNotifyEvent(ue);
899
904 // according to http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4 900 // according to http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.4
905 // a XWithdrawWindow is 901 // a XWithdrawWindow is
906 // 1) unmapping the window (which leads to the upper branch 902 // 1) unmapping the window (which leads to the upper branch