From ce8c9ce432e8bded6c48890b4ef9113892a34d05 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 13 Jan 2005 07:19:03 +0000 Subject: [PATCH] set frame size and virtual roots to make apps that try manage their own geometyr work with vroots (gtk is broken in this regard - workign on gtk patch to respect NET_VIRTUAL_ROOTS from NETWM) SVN revision: 12949 --- src/bin/e_border.c | 1 + src/bin/e_main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index fd3172632..94e0683cb 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -2087,6 +2087,7 @@ _e_border_eval(E_Border *bd) bd->client_inset.r = r; bd->client_inset.t = t; bd->client_inset.b = b; + ecore_x_netwm_frame_size_set(bd->client.win, l, r, t, b); bd->w += (bd->client_inset.l + bd->client_inset.r); bd->h += (bd->client_inset.t + bd->client_inset.b); bd->changes.size = 1; diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 7874053e9..bb5104112 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -549,7 +549,7 @@ _e_main_screens_init(void) } } } - + ecore_x_netwm_desk_roots_set(man->root, 1, &(con->win)); e_container_show(con); } else