e_mod_rotation_wl: skip rotation for ec ignored or comp_skip 78/220278/4
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 17 Dec 2019 01:31:04 +0000 (10:31 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Mon, 30 Dec 2019 04:39:18 +0000 (13:39 +0900)
to prepare rotation zone changes, e_client target_list is made.
but the clients ignored or comp_skip don't need to be included in the list.
so skip those clients

Change-Id: I67499cb9cbb6d9cf4824cd1653949b95f1b7c466

src/rotation/e_mod_rotation_wl.c

index 47cce3c..3029022 100644 (file)
@@ -1055,6 +1055,8 @@ _e_client_rotation_zone_set(E_Zone *zone, E_Client *include_ec, E_Client *exclud
         if (ec == exclude_ec) continue;
         if ((ec != include_ec) && (!evas_object_visible_get(ec->frame))) continue;
         if (e_object_is_del(E_OBJECT(ec))) continue;
+        if (e_client_util_ignored_get(ec)) continue;
+        if (evas_object_data_get(ec->frame, "comp_skip")) continue;
         if ((ec->comp_data) && (ec->comp_data->sub.data)) continue;
         if (!e_util_strcmp("wl_pointer-cursor", ec->icccm.window_role))
           {