e_client: Drop input_only flag
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 12 May 2025 02:52:58 +0000 (11:52 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 14 May 2025 02:03:21 +0000 (11:03 +0900)
It's unused.

Change-Id: I0f49ee1d7d0f6d4c5d9a1b927de2c72c17f0044c

src/bin/compmgr/e_comp.c
src/bin/compmgr/e_comp_object.c
src/bin/core/e_client.c
src/bin/debug/e_info_server.c
src/bin/displaymgr/e_output.c
src/bin/server/e_comp_wl_shell.c
src/bin/server/e_desktop_wl_shell.c
src/bin/windowmgr/e_focus_policy_history.c
src/include/e_client.h

index 50aff7626093425fd6ecdef48c866de0ac5e8ba9..a88250b6c4d739a1b0673105e84318dee15da6f1 100644 (file)
@@ -1273,7 +1273,7 @@ e_comp_hwc_client_end(E_Client *ec, const char *location)
 EINTERN Eina_Bool
 e_comp_util_client_is_fullscreen(const E_Client *ec)
 {
-   if ((!ec->visible) || (ec->input_only))
+   if (!ec->visible)
      return EINA_FALSE;
    return ((ec->client.x == 0) && (ec->client.y == 0) &&
        ((ec->client.w) >= e_comp->w) &&
index cdee1e7faff40cf47ac96da8bea2148e6c1f2304..f8dc614013e93ded34b482e0ccebc00afb3cb8f2 100644 (file)
@@ -369,7 +369,6 @@ e_comp_object_transform_obj_stack_update(Evas_Object *obj)
    E_Comp_Object *topmost_cw;
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
 
    topmost_ec = e_comp_wl_topmost_parent_get(cw->ec);
    if (!topmost_ec) return;
@@ -1055,7 +1054,7 @@ _e_comp_object_setup(E_Comp_Object *cw, E_Comp *comp)
      {
         evas_object_name_set(cw->clip, "cw->clip::WINDOW");
      }
-   else if (!cw->ec->input_only)
+   else
      {
         evas_object_name_set(cw->clip, "cw->clip::CLIENT");
      }
@@ -1083,7 +1082,7 @@ _e_comp_object_setup(E_Comp_Object *cw, E_Comp *comp)
         evas_object_name_set(cw->effect_obj, "cw->effect_obj::WINDOW");
         evas_object_name_set(cw->clip, "cw->clip::WINDOW");
      }
-   else if (!cw->ec->input_only)
+   else
      {
         evas_object_name_set(cw->shobj, "cw->shobj::CLIENT");
         evas_object_name_set(cw->effect_obj, "cw->effect_obj::CLIENT");
@@ -1091,11 +1090,8 @@ _e_comp_object_setup(E_Comp_Object *cw, E_Comp *comp)
      }
 #endif
 
-   cw->real_hid = !cw->ec->input_only;
-   if (!cw->ec->input_only)
-     {
-        _e_comp_object_mouse_event_callback_set(cw);
-     }
+   cw->real_hid = EINA_TRUE;
+   _e_comp_object_mouse_event_callback_set(cw);
 
    cw->default_input_obj = evas_object_rectangle_add(comp->evas);
    evas_object_name_set(cw->default_input_obj, "cw->default_input_obj");
@@ -1427,7 +1423,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
    if (!redirected)
      redirected = e_comp_is_on_overlay(cw->ec);
 
-   if ((!cw->ec->input_only) && (redirected) &&
+   if ((redirected) &&
        (cw->content_type != E_COMP_OBJECT_CONTENT_TYPE_EXT_IMAGE) &&
        (cw->content_type != E_COMP_OBJECT_CONTENT_TYPE_EXT_EDJE) &&
        (e_pixmap_dirty_get(cw->ec->pixmap) ||
@@ -1440,7 +1436,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
    prev_w = cw->w, prev_h = cw->h;
 
    /* check shading and clamp to pixmap size for regular clients */
-   if ((!cw->ec->input_only) && (!cw->ec->override) &&
+   if ((!cw->ec->override) &&
        (((w != pw) || (h != ph))))
      {
         wl_signal_emit(&cw->events.resize, NULL);
@@ -1457,8 +1453,7 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
    else
      {
         /* flip for CSD */
-        if (!cw->ec->input_only)
-          w = pw, h = ph;
+        w = pw, h = ph;
 
         wl_signal_emit(&cw->events.resize, NULL);
         /* "just do it" for overrides */
@@ -1668,16 +1663,6 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
         return;
      }
 
-   if (cw->ec->input_only)
-     {
-        /* input_only = who cares */
-        ELOGF("COMP", "Hide input_only evas_object:%p", cw->ec, obj);
-        evas_object_hide(obj);
-
-        wl_signal_emit(&cw->events.hide, NULL);
-
-        return;
-     }
    /* already hidden or currently animating */
    if ((!cw->visible) || (cw->animating && cw->hiding && (!cw->ec->iconic)))
      {
@@ -1744,9 +1729,9 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw, E_Comp *comp)
         return;
      }
 
-   ELOGF("COMP", "show_helper. cw(v:%d,a:%d,dh:%d,ct:%d,u:%p,s(%d,%d)), ec(i:%d(%d,%d),o:%d,g:%d,n:%d)", ec,
+   ELOGF("COMP", "show_helper. cw(v:%d,a:%d,dh:%d,ct:%d,u:%p,s(%d,%d)), ec(i:%d(%d,%d),g:%d,n:%d)", ec,
          cw->visible, cw->animating, cw->defer_hide, cw->content_type, cw->updates, cw->w, cw->h,
-         ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type, ec->input_only, ec->ignored, ec->new_client);
+         ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type, ec->ignored, ec->new_client);
 
    if (cw->visible)
      {
@@ -1780,7 +1765,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw, E_Comp *comp)
 
         return;
      }
-   if ((!cw->updates) && (!ec->input_only) && (!ec->ignored))
+   if ((!cw->updates) && (!ec->ignored))
      {
         int pw, ph;
 
@@ -1816,16 +1801,6 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw, E_Comp *comp)
         ELOGF("COMP", "show_helper. return. new_client", ec);
         return;
      }
-   if (ec->input_only)
-     {
-        /* who cares */
-        cw->real_hid = 0;
-        evas_object_move(cw->smart_obj, ec->x, ec->y);
-        evas_object_resize(cw->smart_obj, ec->w, ec->h);
-        ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
-        evas_object_show(cw->smart_obj);
-        return;
-     }
    comp_wl = e_comp_wl_get();
    if (ec->netwm.type == E_WINDOW_TYPE_DND && !comp_wl->drag_client)
      {
@@ -1921,44 +1896,30 @@ _e_comp_intercept_show(void *data, Evas_Object *obj EINA_UNUSED)
         return;
      }
    //INF("SHOW %p", ec);
-   if (ec->input_only)
+   if ((!cw->obj) && (cw->external_content))
      {
-#ifdef REMOVE_EDJE_OBJ
-#else
-        cw->effect_obj = evas_object_rectangle_add(comp->evas);
-        evas_object_color_set(cw->effect_obj, 0, 0, 0, 0);
-        evas_object_smart_member_add(cw->effect_obj, cw->smart_obj);
-        evas_object_name_set(cw->effect_obj, "cw->effect_obj::input_only");
-#endif
-        cw->setup = EINA_TRUE;
+        ERR("cw->obj for external content is not created! ec:%p", cw->ec);
+        return;
      }
-   else
-     {
-        if ((!cw->obj) && (cw->external_content))
-          {
-             ERR("cw->obj for external content is not created! ec:%p", cw->ec);
-             return;
-          }
 
-        _e_comp_object_setup(cw, comp);
-        if (!cw->obj)
-          {
-             cw->content_type = E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE;
-             cw->obj = evas_object_image_filled_add(comp->evas);
-             evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID);
-             evas_object_image_pixels_get_callback_set(cw->obj, _e_comp_object_pixels_get, cw);
-             evas_object_image_pixels_noti_callback_set(cw->obj, _e_comp_object_pixels_noti, cw);
-             evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
-             evas_object_name_set(cw->obj, "cw->obj");
-             evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
-             evas_object_intercept_color_set_callback_add(cw->obj, _e_comp_intercept_obj_color_set, cw);
-             evas_object_pass_events_set(cw->obj, EINA_TRUE);
-          }
-        _e_comp_object_alpha_set(cw);
-
-        cw->redirected = 1;
-        evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
+   _e_comp_object_setup(cw, comp);
+   if (!cw->obj)
+     {
+        cw->content_type = E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE;
+        cw->obj = evas_object_image_filled_add(comp->evas);
+        evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID);
+        evas_object_image_pixels_get_callback_set(cw->obj, _e_comp_object_pixels_get, cw);
+        evas_object_image_pixels_noti_callback_set(cw->obj, _e_comp_object_pixels_noti, cw);
+        evas_object_image_smooth_scale_set(cw->obj, e_comp_config_get()->smooth_windows);
+        evas_object_name_set(cw->obj, "cw->obj");
+        evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888);
+        evas_object_intercept_color_set_callback_add(cw->obj, _e_comp_intercept_obj_color_set, cw);
+        evas_object_pass_events_set(cw->obj, EINA_TRUE);
      }
+   _e_comp_object_alpha_set(cw);
+
+   cw->redirected = 1;
+   evas_object_color_set(cw->clip, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity, ec->netwm.opacity);
 
    _e_comp_object_map_transform_rect(cw->ec, 0, 0, cw->w, cw->h, NULL, NULL, &tw, &th);
 #ifdef REMOVE_EDJE_OBJ
@@ -2394,12 +2355,9 @@ _e_comp_smart_hide(Evas_Object *obj)
 
 #ifdef REMOVE_EDJE_OBJ
 #else
-   if (!cw->ec->input_only)
-     {
-        edje_object_freeze(cw->effect_obj);
-        edje_object_freeze(cw->shobj);
-        edje_object_play_set(cw->shobj, 0);
-     }
+   edje_object_freeze(cw->effect_obj);
+   edje_object_freeze(cw->shobj);
+   edje_object_play_set(cw->shobj, 0);
 #endif
 
    e_comp_render_queue(); //force nocomp recheck
@@ -2425,12 +2383,9 @@ _e_comp_smart_show(Evas_Object *obj)
 #ifdef REMOVE_EDJE_OBJ
    if (cw->obj) evas_object_show(cw->obj);
 #else
-   if (!cw->ec->input_only)
-     {
-        edje_object_thaw(cw->effect_obj);
-        edje_object_thaw(cw->shobj);
-        edje_object_play_set(cw->shobj, 1);
-     }
+   edje_object_thaw(cw->effect_obj);
+   edje_object_thaw(cw->shobj);
+   edje_object_play_set(cw->shobj, 1);
    evas_object_show(cw->effect_obj);
 #endif
    if (cw->mask.obj) evas_object_show(cw->mask.obj);
@@ -2438,11 +2393,6 @@ _e_comp_smart_show(Evas_Object *obj)
    if (cw->transform_tranp_obj) evas_object_show(cw->transform_tranp_obj);
    if (cw->default_input_obj) evas_object_show(cw->default_input_obj);
    e_comp_render_queue();
-   if (cw->ec->input_only)
-     {
-        TRACE_DS_END();
-        return;
-     }
    if (cw->ec->iconic && (!cw->ec->new_client))
      {
         if (e_client_is_iconified_by_client(cw->ec))
@@ -3003,7 +2953,7 @@ e_comp_object_damage(Evas_Object *obj, int x, int y, int w, int h)
    int tw, th;
    API_ENTRY;
 
-   if (cw->ec->input_only || (!cw->updates)) return;
+   if (!cw->updates) return;
 
    if (e_comp_is_on_overlay(cw->ec))
      {
@@ -3081,7 +3031,7 @@ e_comp_object_render_update_add(Evas_Object *obj)
 {
    API_ENTRY;
 
-   if (cw->ec->input_only || (!cw->updates) || (!cw->redirected)) return;
+   if ((!cw->updates) || (!cw->redirected)) return;
    if (cw->render_update_lock.lock) return;
    if (!e_pixmap_usable_get(cw->ec->pixmap)) return;
    if (!cw->update)
@@ -3100,7 +3050,7 @@ e_comp_object_render_update_del(Evas_Object *obj)
    E_Comp *comp;
    API_ENTRY;
 
-   if (cw->ec->input_only || (!cw->updates)) return;
+   if (!cw->updates) return;
    if (!cw->update) return;
    cw->update = 0;
    comp = e_comp_get();
@@ -3301,7 +3251,6 @@ e_comp_object_native_surface_set(Evas_Object *obj, Eina_Bool set)
 
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    if (cw->external_content) return;
    if (cw->render_update_lock.lock) return;
    set = !!set;
@@ -3460,7 +3409,6 @@ e_comp_object_render(Evas_Object *obj)
    API_ENTRY EINA_FALSE;
 
    EINA_SAFETY_ON_NULL_RETURN_VAL(cw->ec, EINA_FALSE);
-   if (cw->ec->input_only) return EINA_TRUE;
    if (cw->external_content) return EINA_TRUE;
    if (cw->native) return EINA_FALSE;
    /* if comp object is not redirected state, comp object should not be set by newly committed data
@@ -3933,7 +3881,6 @@ e_comp_object_mask_set(Evas_Object *obj, Eina_Bool set)
 
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    mask_set = !!set;
 
    if (mask_set)
@@ -4008,7 +3955,6 @@ e_comp_object_transform_bg_set(Evas_Object *obj, Eina_Bool set)
    Eina_Bool transform_set = EINA_FALSE;
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
 
    transform_set = !!set;
 
@@ -4070,7 +4016,6 @@ e_comp_object_transform_bg_vertices_set(Evas_Object *obj, E_Util_Transform_Rect_
 {
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    if (!cw->transform_bg_obj) return;
 
    _e_comp_object_transform_obj_map_set(cw->transform_bg_obj, vertices);
@@ -4081,7 +4026,6 @@ e_comp_object_transform_bg_vertices_set_with_zoom(Evas_Object *obj, E_Util_Trans
 {
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    if (!cw->transform_bg_obj) return;
 
    _e_comp_object_transform_obj_map_set_with_zoom(cw->transform_bg_obj, vertices, zoom);
@@ -4093,7 +4037,6 @@ e_comp_object_transform_transp_set(Evas_Object *obj, Eina_Bool set)
    Eina_Bool transform_set = EINA_FALSE;
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
 
    transform_set = !!set;
 
@@ -4131,7 +4074,6 @@ e_comp_object_transform_transp_vertices_set(Evas_Object *obj, E_Util_Transform_R
 {
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    if (!cw->transform_tranp_obj) return;
 
    _e_comp_object_transform_obj_map_set(cw->transform_tranp_obj, vertices);
@@ -4142,7 +4084,6 @@ e_comp_object_transform_transp_vertices_set_with_zoom(Evas_Object *obj, E_Util_T
 {
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
-   if (cw->ec->input_only) return;
    if (!cw->transform_tranp_obj) return;
 
    _e_comp_object_transform_obj_map_set_with_zoom(cw->transform_tranp_obj, vertices, zoom);
@@ -4315,7 +4256,6 @@ e_comp_object_dim_mask_update(Evas_Object *obj, Eina_Bool mask_set, int x, int y
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
    E_Comp_Config *conf = e_comp_config_get();
-   if (cw->ec->input_only) return;
    if (!conf->dim_rect_enable) return;
 
    cw->dim.mask_set = mask_set;
@@ -4337,7 +4277,6 @@ e_comp_object_dim_mask_set(Evas_Object *obj, Eina_Bool set)
    API_ENTRY;
    EINA_SAFETY_ON_NULL_RETURN(cw->ec);
    E_Comp_Config *conf = e_comp_config_get();
-   if (cw->ec->input_only) return;
    if (!conf->dim_rect_enable) return;
 
    mask_set = !!set;
@@ -4626,7 +4565,6 @@ e_comp_object_native_usable_get(Evas_Object *obj)
    API_ENTRY EINA_FALSE;
    EINA_SAFETY_ON_NULL_RETURN_VAL(cw->ec, EINA_FALSE);
 
-   if (cw->ec->input_only) return EINA_FALSE;
    if (cw->external_content) return EINA_FALSE;
    if (e_comp_object_content_type_get(cw->ec->frame) != E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) return EINA_FALSE;
 
index 636cf4e851f205f664ad41039ed5104e494fba83..10a37c20ea12759d656907c0f3eb909462d304e8 100644 (file)
@@ -4541,7 +4541,6 @@ e_client_redirected_set(E_Client *ec, Eina_Bool set)
    E_View_Client *view_client;
 
    EINA_SAFETY_ON_NULL_RETURN(ec);
-   if (ec->input_only) return;
    set = !!set;
    if (ec->redirected == set) return;
    if (set)
@@ -5333,7 +5332,7 @@ e_client_frame_geometry_set(E_Client *ec, int x, int y, int w, int h)
 {
    if (!ec) return;
 
-   if (ec->internal || ec->input_only)
+   if (ec->internal)
      {
         e_view_client_geometry_set(PRI(ec)->view_client, x, y, w, h);
      }
@@ -5376,7 +5375,7 @@ e_client_util_move_resize_without_frame(E_Client *ec, int x, int y, int w, int h
 {
    if (!ec) return;
 
-   if (ec->internal || ec->input_only)
+   if (ec->internal)
      {
         e_client_util_move_without_frame(ec, x, y);
         e_client_util_resize_without_frame(ec, w, h);
@@ -5406,7 +5405,7 @@ E_API Eina_Bool
 e_client_util_ignored_get(const E_Client *ec)
 {
    if (!ec) return EINA_TRUE;
-   return ec->override || ec->input_only || ec->ignored;
+   return ec->override || ec->ignored;
 }
 
 E_API Ecore_Window
@@ -7558,8 +7557,8 @@ e_client_ignored_get(E_Client *ec)
 E_API Eina_Bool
 e_client_input_only_get(E_Client *ec)
 {
-   if (!ec) return EINA_FALSE;
-   return ec->input_only;
+   // Deprecated
+   return EINA_FALSE;
 }
 
 E_API Eina_Bool
index 48688a9c0d469369086be768046396da75599f9e..994a2e95bf2b050c8b39644effe71e92d04254fb 100644 (file)
@@ -1710,7 +1710,7 @@ _get_win_prop_Input_only(const Evas_Object *evas_obj)
    const E_Client *ec = evas_object_data_get(evas_obj, "E_Client");
    EINA_SAFETY_ON_NULL_RETURN_VAL(ec, NULL);
 
-   return ec->input_only ? strdup("TRUE") : strdup("FALSE");
+   return strdup("FALSE");
 }
 
 static const char*
@@ -5234,7 +5234,7 @@ _e_info_server_cb_force_render(const Eldbus_Service_Interface *iface EINA_UNUSED
          E_COMP_ZONE_FOREACH(zone)
            E_ZONE_CLIENT_FOREACH(zone, ec)
              {
-                if (ec->visible && (!ec->input_only))
+                if (ec->visible)
                   e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
              }
          e_comp_size_get(&comp_w, &comp_h);
@@ -5247,7 +5247,7 @@ _e_info_server_cb_force_render(const Eldbus_Service_Interface *iface EINA_UNUSED
          E_COMP_ZONE_FOREACH(zone)
            E_ZONE_CLIENT_FOREACH(zone, ec)
              {
-                if (ec->visible && (!ec->input_only))
+                if (ec->visible)
                   e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
              }
          e_comp_render_queue();
index 5037e479b69527b220d4b3247319940bef6d0a4f..0a7b2c3ac5b37f4798065865f2cab61f1065ee1f 100644 (file)
@@ -479,7 +479,7 @@ _e_output_animating_check()
    E_COMP_ZONE_FOREACH(zone)
      E_ZONE_CLIENT_FOREACH(zone, ec)
        {
-          if (ec->visible && !ec->input_only)
+          if (ec->visible)
             {
                if (e_view_client_is_animating(e_client_view_get(ec)))
                  return EINA_TRUE;
@@ -501,7 +501,7 @@ _e_output_render_update(E_Output *output)
    E_COMP_ZONE_FOREACH(zone)
      E_ZONE_CLIENT_FOREACH(zone, ec)
        {
-          if (ec->visible && !ec->input_only)
+          if (ec->visible)
             e_view_client_damage(e_client_view_get(ec), 0, 0, ec->w, ec->h);
        }
 
@@ -679,8 +679,8 @@ _e_output_client_resize(int w, int h)
    E_COMP_ZONE_FOREACH(zone)
      E_ZONE_CLIENT_FOREACH(zone, ec)
        {
-          if ((ec->visible && !ec->input_only) ||
-             (e_client_util_name_get(ec) != NULL && !ec->input_only))
+          if ((ec->visible) ||
+             (e_client_util_name_get(ec) != NULL))
             {
                e_client_shell_configure_send(ec, 0, w, h);
             }
index 95f75a75ae23b7246ebcc3fabd3040330c68ca03..638bed71513f5416285ff7e30b9f709e490fb518 100644 (file)
@@ -392,10 +392,10 @@ _e_xdg_shell_surface_map_cb_timer(void *data)
               ec->w, ec->h, ec->netwm.pid, ec->icccm.title, ec->netwm.name);
 
         ELOGF("SHELL",
-              "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d, input_only:%d",
+              "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d",
               ec,
               ec->use_splash, ec->first_mapped, ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type,
-              ec->post_raise, ec->post_lower, ec->ignored, ec->override, ec->input_only);
+              ec->post_raise, ec->post_lower, ec->ignored, ec->override);
 
         e_client_map_prepare(ec);
 
@@ -473,10 +473,10 @@ e_shell_e_client_map(E_Client *ec)
          ec->w, ec->h, ec->netwm.pid, ec->icccm.title, ec->netwm.name);
 
    ELOGF("SHELL",
-         "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d, input_only:%d",
+         "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d",
          ec,
          ec->use_splash, ec->first_mapped, ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type,
-         ec->post_raise, ec->post_lower, ec->ignored, ec->override, ec->input_only);
+         ec->post_raise, ec->post_lower, ec->ignored, ec->override);
 
    e_client_map_prepare(ec);
    e_client_map_post(ec);
index 6c6cffd5ab7f7a2cc1bc52cc1fef8e365b7e696e..00413b8334a6913361c1632c6f4750cb677e0077 100644 (file)
@@ -80,10 +80,10 @@ _surface_map(struct wl_resource *resource)
               ec->w, ec->h, ec->netwm.pid, ec->icccm.title, ec->netwm.name);
 
         ELOGF("SHELL",
-              "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d, input_only:%d",
+              "spash:%d, first_mapped:%d, iconic:%d(client:%d, type:%d), raise:%d, lower:%d, ignore:%d, override:%d",
               ec,
               ec->use_splash, ec->first_mapped, ec->iconic, ec->exp_iconify.by_client, ec->exp_iconify.type,
-              ec->post_raise, ec->post_lower, ec->ignored, ec->override, ec->input_only);
+              ec->post_raise, ec->post_lower, ec->ignored, ec->override);
 
         e_client_map_prepare(ec);
         e_client_map_post(ec);
index 94f75cfd39f34b87a1c68119b4612ab201e0c982..809fb5cf0792ed6473db16e4ad4d311194e37483 100644 (file)
@@ -802,7 +802,7 @@ _focus_policy_history_cb_client_eval_end(struct wl_listener *listener, void *dat
    zone = history_policy->zone;
    focused_ec = history_policy->focused_ec;
 
-   if ((!ec->input_only) && (!ec->iconic) &&
+   if ((!ec->iconic) &&
        (e_desk_has_ec(e_desk_current_get(zone), ec)) &&
        ((ec->take_focus) || (ec->want_focus)))
      {
index 1bc55dbf9b7bc69018b4bd9e26a01b057b95b175..f2e75349f9726d77202a7a80bfccc3415ef449df 100644 (file)
@@ -660,7 +660,7 @@ struct _E_Client
    E_Focus_Policy             focus_policy_override;
 
    Eina_Bool override : 1;
-   Eina_Bool input_only : 1;
+   E_DEPRECATED Eina_Bool input_only : 1;
    Eina_Bool dialog : 1;
    Eina_Bool redirected : 1;
    Eina_Bool layer_block : 1; // client is doing crazy stuff and should not be relayered in protocol
@@ -1196,7 +1196,7 @@ E_API Eina_Bool e_client_iconic_get(E_Client *ec);
 
 E_API void      e_client_ignored_set(E_Client *ec, Eina_Bool set);
 E_API Eina_Bool e_client_ignored_get(E_Client *ec);
-E_API Eina_Bool e_client_input_only_get(E_Client *ec);
+E_DEPRECATED E_API Eina_Bool e_client_input_only_get(E_Client *ec);
 E_API Eina_Bool e_client_internal_get(E_Client *ec);
 E_API Eina_Bool e_client_redirected_get(E_Client *ec);
 E_API void      e_client_new_client_set(E_Client *ec, Eina_Bool set);