discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5f6c91a4f48cd97436a34a8a163776e66d15475e

commit 5f6c91a4f48cd97436a34a8a163776e66d15475e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Aug 4 19:10:25 2015 -0400

    block screensaver activation during wl dnd operations
---
 src/bin/e_comp_wl_data.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c
index f1843df..e620303 100644
--- a/src/bin/e_comp_wl_data.c
+++ b/src/bin/e_comp_wl_data.c
@@ -296,6 +296,7 @@ _e_comp_wl_data_device_drag_finished(E_Drag *drag, int 
dropped)
    e_comp->wl_comp_data->drag_client = NULL;
    e_comp->wl_comp_data->selection.target = NULL;
    e_comp->wl_comp_data->drag_source = NULL;
+   e_screensaver_inhibit_toggle(0);
 }
 
 static void
@@ -347,6 +348,7 @@ _e_comp_wl_data_device_cb_drag_start(struct wl_client 
*client, struct wl_resourc
    e_drag_start(e_comp->wl_comp_data->drag, x, y);
    if (e_comp->wl_comp_data->ptr.ec)
      e_comp_wl_data_device_send_enter(e_comp->wl_comp_data->ptr.ec);
+   e_screensaver_inhibit_toggle(1);
 }
 
 static void

-- 


Reply via email to