jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=72de26e9a367b9bff327192a473979d4fc3ca584

commit 72de26e9a367b9bff327192a473979d4fc3ca584
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Jul 6 12:28:02 2015 +0900

    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).
---
 src/lib/elm_win.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 05ed910..f52732e 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -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

-- 


Reply via email to