summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-24 00:02:24 +0000
committerDana Jansens <danakj@orodu.net>2003-01-24 00:02:24 +0000
commit406c79aea1b6f9c8bd1bbeb253ebc7cb97fc7e25 (patch)
treee960abd6eee0027442a1b6a2122a13b19984341a /src/client.cc
parentf1951eaae2b377b1db1fdbdd236e84b4ef2e8c60 (diff)
out with the blackbox source
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cc b/src/client.cc
index 91d61f4b..80cc1a2c 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -1266,7 +1266,7 @@ bool Client::focus()
}
while (XCheckTypedWindowEvent(**otk::display, _window, UnmapNotify, &ev)) {
if (ignore_unmaps) {
- --ignore_unmaps;
+ unmapHandler(ev.xunmap);
} else {
XPutBackEvent(**otk::display, &ev);
return false;
@@ -1406,7 +1406,7 @@ void Client::unmapHandler(const XUnmapEvent &e)
{
if (ignore_unmaps) {
#ifdef DEBUG
-// printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event);
+ printf("Ignored UnmapNotify for 0x%lx (event 0x%lx)\n", e.window, e.event);
#endif // DEBUG
ignore_unmaps--;
return;