e_client: add vkbd.floating not to add conformant_region
authorJuyeon Lee <juyeonne.lee@samsung.com>
Thu, 25 May 2017 10:59:06 +0000 (19:59 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 26 May 2017 05:10:15 +0000 (14:10 +0900)
Change-Id: Ieb83a40377e5d61ad362803f792717efb74b3b2e

src/bin/e_client.h
src/bin/e_policy_conformant.c

index 270f50a99d0454d59d677cd1a78fcd706a758463..89c3a98222671d5403121bc7b72f2333b3b12384 100644 (file)
@@ -672,6 +672,7 @@ struct E_Client
 #ifdef _F_E_VIRTUAL_KEYBOARD_TYPE_
       E_Virtual_Keyboard_Window_Type win_type;
 #endif
+      unsigned char                  floating : 1;
    } vkbd;
 
    struct
index 3490408b765459cd07807ab05fb3546603cf8b98..b4977855f0a3ee10c4ccb612d38320c9a8edddf4 100644 (file)
@@ -367,7 +367,7 @@ _conf_client_type_get(E_Client *ec)
    Conformant_Type type = CONFORMANT_TYPE_MAX;
    if (!ec) return type;
 
-   if (ec->vkbd.vkbd)
+   if (ec->vkbd.vkbd && !ec->vkbd.floating)
      type = CONFORMANT_TYPE_KEYBOARD;
    else if (e_policy_client_is_cbhm(ec))
      type = CONFORMANT_TYPE_CLIPBOARD;