dont loose key events when showing everything
authorHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 15 May 2010 23:27:09 +0000 (23:27 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 15 May 2010 23:27:09 +0000 (23:27 +0000)
SVN revision: 48903

src/modules/everything/evry.c

index c39c145..9f53f42 100644 (file)
@@ -154,13 +154,12 @@ evry_show(E_Zone *zone, const char *params)
      }
 
    input_window = ecore_x_window_input_new(zone->container->win, 0, 0, 1, 1);
-
    ecore_x_window_show(input_window);
    if (!e_grabinput_get(input_window, 0, input_window))
-     {
-       return 0;
-     }
+     return 0;
 
+   ecore_x_sync();
+   
    win = _evry_window_new(zone);
    if (!win)
      {