From 4f114b2faa9339527fb0aabc73e8f0670d2bc8ee Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 31 Jul 2005 08:25:08 +0000 Subject: [PATCH] fix werid multihead xinerama problem :) SVN revision: 15970 --- src/bin/e_border.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 1a8639b99..5feab4e40 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -4549,6 +4549,17 @@ _e_border_eval(E_Border *bd) bd->y + bd->client_inset.t, bd->client.w, bd->client.h); + /* if the explicit geometry request asks for the app to be + * in another zone - well move it there */ + { + E_Zone *zone; + + zone = e_container_zone_at_point_get(bd->zone->container, + bd->x + (bd->w / 2), + bd->y + (bd->h / 2)); + if (zone != bd->zone) + e_border_zone_set(bd, zone); + } } /* effect changes to the window border itself */