summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2010-09-17 13:09:28 -0600
committerScott Moreau <oreaus@gmail.com>2010-09-17 13:09:28 -0600
commit89163fb52f1d179dbd21149ca35548e89aed72d7 (patch)
treefd1f942d85344fc8ffb97ca54fd6a06cace2c807
parent7c70e3db5055857965ef4c4a283340385b1af80f (diff)
downloaddialog-89163fb52f1d179dbd21149ca35548e89aed72d7.tar.gz
dialog-89163fb52f1d179dbd21149ca35548e89aed72d7.tar.bz2
Fix matching.
-rw-r--r--src/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index f52be77..e91bea4 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -81,7 +81,7 @@ DialogScreen::handleEvent (XEvent *event)
if (event->type == MapNotify)
{
CompWindow *w = screen->findWindow (event->xmap.window);
- if (w && w->transientFor ())
+ if (w && w->transientFor () && optionGetDialogtypes ().evaluate (w))
{
CompWindow *ww = screen->findWindow (w->transientFor ());
DialogWindow *dww = DialogWindow::get (ww);