forked from enlightenment/enlightenment
set first_damage flag on overrides
some overrides, in very rare cases, seem to only send a single damage. rendering at this point doesn't seem to hurt anything, so I'll give it a shot
This commit is contained in:
parent
db31ccc5de
commit
99dca3c944
|
@ -4003,7 +4003,6 @@ _e_comp_x_hook_client_new(void *d EINA_UNUSED, E_Client *ec)
|
|||
ec->ignored = e_comp_ignore_win_find(win);
|
||||
|
||||
ec->comp_data = E_NEW(E_Comp_Client_Data, 1);
|
||||
ec->comp_data->first_damage = ec->internal;
|
||||
ec->comp_data->set_win_type = ec->comp_data->fetch_exe = 1;
|
||||
|
||||
/* FIXME: ewww - round trip */
|
||||
|
@ -4016,6 +4015,8 @@ _e_comp_x_hook_client_new(void *d EINA_UNUSED, E_Client *ec)
|
|||
|
||||
if (!_e_comp_x_client_new_helper(ec)) return;
|
||||
|
||||
ec->comp_data->first_damage = ec->internal || ec->override;
|
||||
|
||||
eina_hash_add(clients_win_hash, &win, ec);
|
||||
e_hints_client_list_set();
|
||||
ec->comp_data->first_draw_delay = ecore_timer_add(e_comp_config_get()->first_draw_delay, _e_comp_x_first_draw_delay_cb, ec);
|
||||
|
|
Loading…
Reference in New Issue