summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/decorator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decorator.cpp b/src/decorator.cpp
index 0be19a1..a3a9a2f 100644
--- a/src/decorator.cpp
+++ b/src/decorator.cpp
@@ -117,7 +117,7 @@ Aquamarine::Decorator::Decorator (void) : DCOPObject ("KWinInterface"),
KCmdLineArgs *args = KCmdLineArgs::parsedArgs ();
Time timestamp;
- int status = decor_acquire_dm_session (qt_xdisplay (), 0, "Aquamarine",
+ int status = decor_acquire_dm_session (qt_xdisplay (), qt_xscreen(), "Aquamarine",
args->isSet ("replace"),&timestamp);
if (status != DECOR_ACQUIRE_STATUS_SUCCESS)