summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-09 20:18:20 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-09 20:18:14 -0400
commitb4e96a0aea68d73b4451098b4ba5d9ea48847c5d (patch)
treeae6f530f2ef201257bf81e739389ef43e8fedecb
parent7d39be8c4a74df57cee447c8f984eea98e228b69 (diff)
feed mouse up during window maximize if the current window is being dragged
prevent window from accidentally toggling its maximize state repeatedly
-rw-r--r--src/bin/e_client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index c9961f365..697f55d94 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -4086,6 +4086,11 @@ e_client_maximize(E_Client *ec, E_Maximize max)
4086 evas_object_smart_callback_call(ec->frame, "maximize", NULL); 4086 evas_object_smart_callback_call(ec->frame, "maximize", NULL);
4087 evas_object_smart_callback_call(ec->frame, "maximize_pre", &max); 4087 evas_object_smart_callback_call(ec->frame, "maximize_pre", &max);
4088 if (!max) return; 4088 if (!max) return;
4089 if (ec->moving)
4090 {
4091 if (ec == action_client)
4092 e_comp_canvas_feed_mouse_up(0); //triggers event grabber cb
4093 }
4089 override = ec->maximize_override; 4094 override = ec->maximize_override;
4090 if (ec->fullscreen) 4095 if (ec->fullscreen)
4091 e_client_unfullscreen(ec); 4096 e_client_unfullscreen(ec);