summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-04-11 09:22:23 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-04-11 09:22:23 -0400
commitf975f0c240e656dccef11f5d0cb5b8da66f6853a (patch)
treed7a8f1c9b8d1c1f98aec3985c5527bc22080555c
parentff605f11f122e643ea25e9c6c1cd885b7abd4ef6 (diff)
fix move/resize on titlebars
-rw-r--r--src/moveresize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moveresize.c b/src/moveresize.c
index 3898ff6..5a8e3b6 100644
--- a/src/moveresize.c
+++ b/src/moveresize.c
@@ -264,7 +264,7 @@ pulse(void *d EINA_UNUSED, Efx_Map_Data *emd EINA_UNUSED, Evas_Object *obj)
264static void 264static void
265move_start(E_Client *ec) 265move_start(E_Client *ec)
266{ 266{
267 if (ec != e_client_action_get()) return; 267 if (!ec->moving) return;
268 clear_all(); 268 clear_all();
269 client = ec; 269 client = ec;
270 e_comp_shape_queue_block(ec->comp, 1); 270 e_comp_shape_queue_block(ec->comp, 1);
@@ -319,7 +319,7 @@ resize_start(E_Client *ec)
319{ 319{
320 unsigned int x; 320 unsigned int x;
321 321
322 if (ec != e_client_action_get()) return; 322 if (!e_client_util_resizing_get(ec)) return;
323 clear_all(); 323 clear_all();
324 client = ec; 324 client = ec;
325 e_comp_shape_queue_block(ec->comp, 1); 325 e_comp_shape_queue_block(ec->comp, 1);