summaryrefslogtreecommitdiffstats
path: root/kwin/kcmkwin/kwinrules/detectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/kcmkwin/kwinrules/detectwidget.cpp')
-rw-r--r--kwin/kcmkwin/kwinrules/detectwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/kcmkwin/kwinrules/detectwidget.cpp b/kwin/kcmkwin/kwinrules/detectwidget.cpp
index 1a497c8bc..918951b35 100644
--- a/kwin/kcmkwin/kwinrules/detectwidget.cpp
+++ b/kwin/kcmkwin/kwinrules/detectwidget.cpp
@@ -189,7 +189,7 @@ WId DetectDialog::findWindow()
{
Window root;
Window child;
- uint mask;
+ uint tqmask;
int rootX, rootY, x, y;
Window parent = qt_xrootwin();
Atom wm_state = XInternAtom( qt_xdisplay(), "WM_STATE", False );
@@ -198,7 +198,7 @@ WId DetectDialog::findWindow()
++i )
{
XQueryPointer( qt_xdisplay(), parent, &root, &child,
- &rootX, &rootY, &x, &y, &mask );
+ &rootX, &rootY, &x, &y, &tqmask );
if( child == None )
return 0;
Atom type;