projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c75b0f
)
Window: Set urgent flag only when not already set
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 6 Jul 2015 03:28:02 +0000
(12:28 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Fri, 10 Jul 2015 05:34:55 +0000
(14:34 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
05ed910
..
f52732e
100644
(file)
--- 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