summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2010-12-04 19:34:47 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2010-12-04 19:35:08 +0800
commitf280dbcd36a0d8c5451b373d6413e91ddb7c0023 (patch)
tree6a560ac84045b095409b7c6a5b0a89f7d7740e38
parente68bb57c4625f2080b564fa98573644c0342030c (diff)
downloadunity-window-decorator-f280dbcd36a0d8c5451b373d6413e91ddb7c0023.tar.gz
unity-window-decorator-f280dbcd36a0d8c5451b373d6413e91ddb7c0023.tar.bz2
Fix typo which caused windows not to be recognized
-rw-r--r--plugins/decor/src/decor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index 1207e06..ff3bdd2 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -1246,7 +1246,7 @@ DecorScreen::handleEvent (XEvent *event)
}
break;
case MapRequest:
- w = screen->findWindow (event->xdestroywindow.window);
+ w = screen->findWindow (event->xmaprequest.window);
if (w)
DecorWindow::get (w)->update (true);
break;