projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c2290
)
[elm_win] Add one more condition when mouse down is excuted for better performance.
author
WooHyun Jung
<wh0705.jung@samsung.com>
Wed, 24 Apr 2013 04:06:30 +0000
(13:06 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:24:07 +0000
(13:24 +0900)
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
fed029d
..
5417812
100755
(executable)
--- a/
src/lib/elm_win.c
+++ b/
src/lib/elm_win.c
@@
-2192,7
+2192,10
@@
_elm_win_mouse_button_down(void *data,
{
Elm_Win_Smart_Data *sd = data;
if (!sd) return ECORE_CALLBACK_PASS_ON;
- elm_win_focus_highlight_enabled_set(sd->obj, EINA_FALSE);
+
+ if (sd->keyboard_attached)
+ elm_win_focus_highlight_enabled_set(sd->obj, EINA_FALSE);
+
return ECORE_CALLBACK_PASS_ON;
}