aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-11-01 00:12:53 (GMT)
committerrathnor <rathnor>2003-11-01 00:12:53 (GMT)
commitb6d5b558fe9b490284a3901ed76243f6b4c580b8 (patch)
treede28ed07ceac034724a281cd991b97252016c06a /src/Slit.cc
parent08089dd064d626cb6d9f65dd201f6f9be5d5751b (diff)
downloadfluxbox_pavel-b6d5b558fe9b490284a3901ed76243f6b4c580b8.zip
fluxbox_pavel-b6d5b558fe9b490284a3901ed76243f6b4c580b8.tar.bz2
slit client mapping on restart, surplus menu redraw
Diffstat (limited to 'src/Slit.cc')
-rw-r--r--src/Slit.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index a16bfb8..422d0e4 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.80 2003/08/30 01:01:47 fluxgen Exp $ 25// $Id: Slit.cc,v 1.81 2003/11/01 00:12:53 rathnor Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -968,7 +968,10 @@ void Slit::handleEvent(XEvent &event) {
968 configureRequestEvent(event.xconfigurerequest); 968 configureRequestEvent(event.xconfigurerequest);
969 } else if (event.type == DestroyNotify) { 969 } else if (event.type == DestroyNotify) {
970 removeClient(event.xdestroywindow.window, false); 970 removeClient(event.xdestroywindow.window, false);
971 } else if (event.type == UnmapNotify) { 971 } else if (event.type == UnmapNotify && event.xany.send_event) {
972 // we ignore server-generated events, which can occur
973 // on restart. The ICCCM says that a client must send
974 // a synthetic event for the withdrawn state
972 removeClient(event.xunmap.window); 975 removeClient(event.xunmap.window);
973 } 976 }
974} 977}