e_desk: Quick fix for a problem which is about wrong placement of keyboard while... 16/107116/3
authorGwanglim Lee <gl77.lee@samsung.com>
Mon, 26 Dec 2016 14:23:45 +0000 (23:23 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 27 Dec 2016 03:46:00 +0000 (19:46 -0800)
Change-Id: I7be1064c3eb049f255570670930d5ec2460ec225

src/bin/e_desk.c

index 2d9bef5c375064b6e8fb62f38d2c0b33d0a25c5e..f437c8628bff0a3fb3b1958cc096358c52e35f71 100644 (file)
@@ -1,4 +1,5 @@
 #include "e.h"
+#include "e_policy_keyboard.h"
 
 /* E_Desk is a child object of E_Zone. A desk is essentially a background
  * and an associated set of client windows. Each zone can have an arbitrary
@@ -792,7 +793,14 @@ e_desk_geometry_set(E_Desk *desk, int x, int y, int w, int h)
 
    EINA_LIST_FOREACH(sd->clients, l, ec)
      {
-        if (ec->maximized)
+        /* even if the desktop geometry is chagned, the system partial windows such as virtual
+         * keyboard and clipboard should be placed at the bottom of the desktop. */
+        /* QUICK FIX */
+        if (e_policy_client_is_keyboard(ec))
+          {
+             continue;
+          }
+        else if (ec->maximized)
           {
              max = ec->maximized;
              ec->maximized = E_MAXIMIZE_NONE;