devilhorns pushed a commit to branch master.

commit 8f8d79cb9189085454a8b455177aa1b797fb4a1c
Author: Chris Michael <[email protected]>
Date:   Tue Jul 23 07:10:48 2013 +0100

    Add a pointer structure to the window struct.
    
    NB: This is used in a case where someone calls
    ecore_evas_object_cursor_set on a specific window. The generic
    pointer_enter code for a window initially sets the cursor to
    left_arrow by default. When the above function is used, and a pointer
    enter event occurs, the cursor assigned from the above function was
    not being respected.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_wayland/Ecore_Wayland.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h 
b/src/lib/ecore_wayland/Ecore_Wayland.h
index 7802f3c..241c238 100644
--- a/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -211,6 +211,13 @@ struct _Ecore_Wl_Window
         struct wl_region *input, *opaque;
      } region;
 
+   struct 
+     {
+        struct wl_surface *surface;
+        int hot_x, hot_y;
+        Eina_Bool set : 1;
+     } pointer;
+
    int id;
    int x, y;
    int edges;

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to