forked from enlightenment/efl
Window: Set urgent flag only when not already set
cat <binary_file_with_lots_of_BEL> in terminology would slow down everything because of the urgent flag (and talking to X).
This commit is contained in:
parent
5edec15fb0
commit
da46a44064
|
@ -4451,6 +4451,8 @@ _elm_win_profile_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
|
|||
EOLIAN static void
|
||||
_elm_win_urgent_set(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, Eina_Bool urgent)
|
||||
{
|
||||
if (sd->urgent == urgent)
|
||||
return;
|
||||
sd->urgent = urgent;
|
||||
TRAP(sd, urgent_set, urgent);
|
||||
#ifdef HAVE_ELEMENTARY_X
|
||||
|
|
Loading…
Reference in New Issue