move Ecore_X_Stack_Type member from client to x11 comp_data

no functional changes
This commit is contained in:
Mike Blumenkrantz 2017-08-04 16:23:38 -04:00
parent b817db7f09
commit 29617bf80b
3 changed files with 5 additions and 5 deletions

View File

@ -527,9 +527,7 @@ struct E_Client
unsigned char wait_for_done : 1;
unsigned char use : 1;
} profile;
#ifndef HAVE_WAYLAND_ONLY
Ecore_X_Stack_Type stack;
#endif
Eina_Bool stack : 1;
unsigned char centered : 1;
unsigned char video : 1;
} state;

View File

@ -3437,7 +3437,8 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
}
if (ec->e.fetch.stack)
{
ec->e.state.stack = ecore_x_e_stack_type_get(win);
cd->stack = ecore_x_e_stack_type_get(win);
ec->e.state.stack = !!cd->stack;
ec->e.fetch.stack = 0;
}
if (ec->e.fetch.profile)
@ -3864,7 +3865,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
e_client_parent_set(ec, ec_parent);
if (ec->parent && (!e_client_util_ignored_get(ec)) && ec->netwm.state.modal)
_e_comp_x_client_modal_setup(ec);
if ((ec_parent) && (ec->e.state.stack != ECORE_X_STACK_NONE))
if ((ec_parent) && (cd->stack != ECORE_X_STACK_NONE))
{
E_Client *ec2;

View File

@ -89,6 +89,7 @@ struct _E_Comp_X_Client_Data
Ecore_X_Illume_Window_State state;
} win_state;
} illume;
Ecore_X_Stack_Type stack;
#ifdef HAVE_WAYLAND
uint32_t surface_id;
#endif