diff options
author | rathnor <rathnor> | 2003-11-01 00:12:53 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-11-01 00:12:53 (GMT) |
commit | b6d5b558fe9b490284a3901ed76243f6b4c580b8 (patch) | |
tree | de28ed07ceac034724a281cd991b97252016c06a /src/Slit.cc | |
parent | 08089dd064d626cb6d9f65dd201f6f9be5d5751b (diff) | |
download | fluxbox-b6d5b558fe9b490284a3901ed76243f6b4c580b8.zip fluxbox-b6d5b558fe9b490284a3901ed76243f6b4c580b8.tar.bz2 |
slit client mapping on restart, surplus menu redraw
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 7 |
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 | } |