devilhorns pushed a commit to branch master.

commit 1dca808f98a044a2c4cceb34a27d1d9651c0b431
Author: Chris Michael <[email protected]>
Date:   Fri Aug 16 11:55:50 2013 +0100

    Get the pointer grab from the compositor's input
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_desktop_shell/e_mod_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index f7285ea..fc19ffc 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -1631,7 +1631,8 @@ _e_wl_shell_shell_surface_cb_pong(struct wl_client 
*client EINA_UNUSED, struct w
         E_Wayland_Shell_Grab *grab = NULL;
 
         ews = ewss->surface;
-        grab = (E_Wayland_Shell_Grab *)ews->input->wl.seat.pointer->grab;
+
+        grab = (E_Wayland_Shell_Grab 
*)_e_wl_comp->input->wl.seat.pointer->grab;
         if (grab->grab.interface == &_e_busy_grab_interface)
           {
              _e_wl_shell_grab_end(grab);

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to