summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-09-14 14:39:38 +0200
committerDanny Baumann <dannybaumann@web.de>2008-09-14 14:39:38 +0200
commit07bfd59f0ff0fe41e4da7b0e7ea6d92286b25b4a (patch)
tree95a2b234abf06ad3517822de6de97af1504c1a8e /src
parent7a6e30c5cba00499c2eb5540f4e65cb49b9ecf5c (diff)
Use pendingMaps variable to set w->managed on MapNotify.
Diffstat (limited to 'src')
-rw-r--r--src/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.c b/src/event.c
index 8746c5f6..ac617491 100644
--- a/src/event.c
+++ b/src/event.c
@@ -1341,7 +1341,7 @@ handleEvent (CompDisplay *d,
w = findWindowAtDisplay (d, event->xmap.window);
if (w)
{
- if (!w->attrib.override_redirect)
+ if (w->pendingMaps)
w->managed = TRUE;
/* been shaded */