From 5d0fe4753504ebc2143a8560eada2575536ac3f8 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Sat, 19 Sep 2009 16:51:37 +0000 Subject: [PATCH] fix last commit: do not add pending move when doing only resize SVN revision: 42567 --- src/bin/e_border.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 20d0b2241..d82c043db 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -982,11 +982,11 @@ _e_border_move_resize_internal(E_Border *bd, int x, int y, int w, int h, Eina_Bo pnd = E_NEW(E_Border_Pending_Move_Resize, 1); if (!pnd) return; - pnd->move = 1; pnd->resize = 1; pnd->without_border = without_border; if (move) { + pnd->move = 1; pnd->x = x; pnd->y = y; } @@ -1012,17 +1012,17 @@ _e_border_move_resize_internal(E_Border *bd, int x, int y, int w, int h, Eina_Bo bd->pre_res_change.valid = 0; if (move) { + bd->changes.pos = 1; bd->x = x; bd->y = y; - bd->changes.pos = 1; } bd->w = w; bd->h = h; bd->client.w = bd->w - (bd->client_inset.l + bd->client_inset.r); bd->client.h = bd->h - (bd->client_inset.t + bd->client_inset.b); + bd->changes.size = 1; bd->changed = 1; - bd->changes.size = 1; if ((bd->shaped) || (bd->client.shaped)) { bd->need_shape_merge = 1;