summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-24 11:53:47 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-24 11:57:15 -0400
commit4464c681fd610e5f2e6e91aeb375550e8ae9c844 (patch)
tree9e4a80085c415ef805f50da4dcae2b0852033f04
parenta9cd60fb90f663742f31ca3ebaf37225daadbd0b (diff)
block client mouse move calls from comp object during move/resize
this is now handled by the event grabber. many callbacks on this object are due to clip changes instead of genuine mouse movements, meaning that processing events can lead to further resizes during a render cycle
-rw-r--r--src/bin/e_comp_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index c02069b28..a7b6b8965 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -475,6 +475,7 @@ _e_comp_object_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj E
475 475
476 if (!cw->ec) return; 476 if (!cw->ec) return;
477 if (e_client_action_get() && (e_client_action_get() != cw->ec)) return; 477 if (e_client_action_get() && (e_client_action_get() != cw->ec)) return;
478 if (cw->ec->moving || e_client_util_resizing_get(cw->ec)) return;
478 e_client_mouse_move(cw->ec, &ev->cur.output); 479 e_client_mouse_move(cw->ec, &ev->cur.output);
479} 480}
480///////////////////////////////////// 481/////////////////////////////////////