devilhorns pushed a commit to branch master.

commit 599d98e3f3618c8ef031f7a5b4748c48d9926e6d
Author: Chris Michael <[email protected]>
Date:   Thu Sep 12 14:58:44 2013 +0100

    Fix zmike issue w/ surface losing focus when we move/resize.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 328b825..719d125 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -592,9 +592,7 @@ wl_pointer_set_focus(struct wl_pointer *pointer, struct 
wl_resource *surface, wl
      }
 
    resource = _find_resource_for_surface(&pointer->resource_list, surface);
-   if (resource &&
-       (pointer->focus != surface ||
-           pointer->focus_resource != resource)) 
+   if (resource)
      {
         struct wl_display *disp;
 
@@ -2249,7 +2247,6 @@ _e_comp_wl_pointer_configure(E_Wayland_Surface *ews, 
Evas_Coord x, Evas_Coord y,
    if (!input->wl.seat.pointer->focus) return;
 
    if ((focus = wl_resource_get_user_data(input->wl.seat.pointer->focus)))
-//   if ((focus = (E_Wayland_Surface *)input->wl.seat.pointer->focus))
      {
         /* NB: Ideally, I wanted to use the e_pointer methods here so that 
          * the cursor would match the E theme, however Wayland currently 

-- 

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

Reply via email to