projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4c545
)
only update wl dnd surface client if a wl drag is active
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 10 Aug 2015 20:40:56 +0000
(16:40 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 10 Aug 2015 22:59:02 +0000
(18:59 -0400)
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index
fbf4723
..
63697ad
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-1108,7
+1108,8
@@
_e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
ecore_evas_pointer_xy_get(e_comp->ee, &ec->mouse.current.mx, &ec->mouse.current.my);
ec->netwm.sync.send_time = ecore_loop_time_get();
}
- if (e_comp->wl_comp_data->drag_client && (e_comp->wl_comp_data->drag_client == ec))
+ if (e_comp->wl_comp_data->drag && e_comp->wl_comp_data->drag_client &&
+ (e_comp->wl_comp_data->drag_client == ec))
{
e_comp->wl_comp_data->drag->dx -= state->sx;
e_comp->wl_comp_data->drag->dy -= state->sy;