summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronestone <onestone>2007-02-06 23:35:05 +0000
committeronestone <onestone>2007-02-06 23:35:05 +0000
commit909181ed0e1a4af975fd03c1681ca0c0aa9e1bd9 (patch)
tree456ec3e4b6b0beca0b59404756735bdcd7f8a9f0
parent8d234e3ad3afef2d31d92976052a078b8a5ab90d (diff)
downloadaquamarine-909181ed0e1a4af975fd03c1681ca0c0aa9e1bd9.tar.gz
aquamarine-909181ed0e1a4af975fd03c1681ca0c0aa9e1bd9.tar.bz2
aquamarine: aquamarine now runs on multi screen configurations
-rw-r--r--src/decorator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decorator.cpp b/src/decorator.cpp
index a3a9a2f..ef99092 100644
--- a/src/decorator.cpp
+++ b/src/decorator.cpp
@@ -127,7 +127,7 @@ Aquamarine::Decorator::Decorator (void) : DCOPObject ("KWinInterface"),
fprintf (stderr,
"Could not acquire decoration manager "
"selection on screen %d display \"%s\"\n",
- 0, DisplayString (qt_xdisplay ()));
+ qt_xscreen(), DisplayString (qt_xdisplay ()));
}
else if (status == DECOR_ACQUIRE_STATUS_OTHER_DM_RUNNING)
{
@@ -136,11 +136,11 @@ Aquamarine::Decorator::Decorator (void) : DCOPObject ("KWinInterface"),
"has a decoration manager; try using the "
"--replace option to replace the current "
"decoration manager.\n",
- 0, DisplayString (qt_xdisplay ()));
+ qt_xscreen(), DisplayString (qt_xdisplay ()));
}
return;
}
- decor_set_dm_check_hint (qt_xdisplay (), 0);
+ decor_set_dm_check_hint (qt_xdisplay (), qt_xscreen());
mConfig = new KConfig ("kwinrc");
mConfig->setGroup ("Style");