From 44aab9ff4bda5d74c47445a4a7d1ecb975628875 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 22 Jan 2008 17:30:06 +0100 Subject: [PATCH] call get_screen_bycoord() anyway --- client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client.c b/client.c index 610962ef8..f932f80ad 100644 --- a/client.c +++ b/client.c @@ -22,7 +22,6 @@ #include #include #include -#include #include "client.h" #include "tag.h" @@ -418,10 +417,7 @@ client_resize(Client *c, Area geometry, Bool sizehints) if(c->geometry.x != geometry.x || c->geometry.y != geometry.y || c->geometry.width != geometry.width || c->geometry.height != geometry.height) { - if(XineramaIsActive(globalconf.display)) - new_screen = get_screen_bycoord(geometry.x, geometry.y); - else - new_screen = c->screen; + new_screen = get_screen_bycoord(geometry.x, geometry.y); c->geometry.x = wc.x = geometry.x; c->geometry.y = wc.y = geometry.y;