rotation: exclude the window which is placed below top-most visible window from the... 44/78544/3
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 6 Jul 2016 04:28:14 +0000 (13:28 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 6 Jul 2016 06:51:26 +0000 (23:51 -0700)
There was a problem that the orientation of the window below lockscreen was changed.

Change-Id: I963fc524f99ce3257572a5c7a4f7b0d074329ac5

src/rotation/e_mod_rotation_wl.c

index 2539f4fec934d7fede53813b5183634397de0a5c..198fbdf5ad72248cde6ce3755f48827fc3d7d89d 100644 (file)
@@ -525,16 +525,11 @@ _e_client_rotation_zone_set(E_Zone *zone, E_Client *include_ec)
 
    TRACE_DS_BEGIN(CLIENT ROTATION ZONE SET);
 
-   if ((include_ec) &&
-       (include_ec->comp_data) &&
-       (!include_ec->comp_data->sub.data)) // video window shall not be included on target
-     target_list = eina_list_append(target_list, include_ec);
-
    DBG("<<< Try to set zone rotation");
    E_CLIENT_REVERSE_FOREACH(ec)
      {
         if (ec->zone != zone) continue;
-        if (!ec->visible) continue;
+        if ((ec != include_ec) && (!ec->visible)) continue;
         if (e_object_is_del(E_OBJECT(ec))) continue;
         if ((ec->comp_data) && (ec->comp_data->sub.data)) continue;
         if (!e_util_strcmp("wl_pointer-cursor", ec->icccm.window_role))