aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2007-12-25 22:30:34 (GMT)
committerTomas Janousek <tomi@nomi.cz>2008-01-27 14:01:14 (GMT)
commitf605312c489378ee3c2070468cc9f115419a9cee (patch)
treead1cbcf7c7bec1670a5a3a265c6b1e77b0b6e16c
parent4faf1bf5c3fe07260b0a4c084db56b0bed12734a (diff)
downloadfluxbox_paul-f605312c489378ee3c2070468cc9f115419a9cee.zip
fluxbox_paul-f605312c489378ee3c2070468cc9f115419a9cee.tar.bz2
Move dockapps to (-100,-100) instead of (screenw + 10, screenh + 10).
The windows used to appear when one xrandr'ed to a bigger resolution. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
-rw-r--r--src/Slit.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index b8ff368..e8b6ee0 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -481,8 +481,7 @@ void Slit::addClient(Window w) {
481 if (wmhints != 0) { 481 if (wmhints != 0) {
482 if ((wmhints->flags & IconWindowHint) && 482 if ((wmhints->flags & IconWindowHint) &&
483 (wmhints->icon_window != None)) { 483 (wmhints->icon_window != None)) {
484 XMoveWindow(disp, client->clientWindow(), screen().width() + 10, 484 XMoveWindow(disp, client->clientWindow(), -100, -100);
485 screen().height() + 10);
486 XMapWindow(disp, client->clientWindow()); 485 XMapWindow(disp, client->clientWindow());
487 client->setIconWindow(wmhints->icon_window); 486 client->setIconWindow(wmhints->icon_window);
488 client->setWindow(client->iconWindow()); 487 client->setWindow(client->iconWindow());