From f605312c489378ee3c2070468cc9f115419a9cee Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Tue, 25 Dec 2007 23:30:34 +0100 Subject: 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 --- src/Slit.cc | 3 +-- 1 file changed, 1 insertion(+), 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) { if (wmhints != 0) { if ((wmhints->flags & IconWindowHint) && (wmhints->icon_window != None)) { - XMoveWindow(disp, client->clientWindow(), screen().width() + 10, - screen().height() + 10); + XMoveWindow(disp, client->clientWindow(), -100, -100); XMapWindow(disp, client->clientWindow()); client->setIconWindow(wmhints->icon_window); client->setWindow(client->iconWindow()); -- cgit v0.11.2