ecore-wayland: No need for setting the input here as it's done again
authorChris Michael <cp.michael@samsung.com>
Mon, 1 Dec 2014 18:43:34 +0000 (13:43 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 1 Dec 2014 18:43:34 +0000 (13:43 -0500)
directly below.

Summary: Not much of a functional change, just removing an extra
unnecessary line. Input is being set directly below this with an if
(!( line, so no point in this one.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl_window.c

index 5dbd09bb0b2e71b47e3df9a6d731274ef5dab71c..63c870f6736b2d8b8af419fd4802bb2270dcda1c 100644 (file)
@@ -167,7 +167,6 @@ ecore_wl_window_move(Ecore_Wl_Window *win, int x, int y)
 
    if ((!input) && (win->parent))
      {
-        input = win->parent->keyboard_device;
         if (!(input = win->parent->keyboard_device))
           input = win->parent->pointer_device;
      }