[gtk+] wayland: remove unneeded statement



commit e032c83822d98cc831d019f29f4f8f4afc2a9131
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jun 29 15:19:42 2016 +0200

    wayland: remove unneeded statement
    
    seat->pointer_info.focus is already set to NULL 2 lines above, no need to
    repeat it there.

 gdk/wayland/gdkdevice-wayland.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 32f57a2..c61fb7d 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1317,8 +1317,6 @@ pointer_handle_leave (void              *data,
   if (seat->cursor)
     gdk_wayland_pointer_stop_cursor_animation (&seat->pointer_info);
 
-  seat->pointer_info.focus = NULL;
-
   if (display_wayland->seat_version < WL_POINTER_HAS_FRAME)
     gdk_wayland_seat_flush_frame_event (seat);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]