summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-07-05 23:12:32 +0200
committerBoris Faure <billiob@gmail.com>2019-07-08 21:30:27 +0200
commit432485dae3a323242365080d3ef52b5bd543f3f0 (patch)
tree0235f2b8cf68f04ae3e25dfa9e8a4ac24cff6b9f
parenta5cca7fbf47a3919f7f63c99b1cb8aa723841659 (diff)
win: start the hide_cursor timer on window creation
-rw-r--r--src/bin/win.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index 19b429f..dd0466e 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -1794,6 +1794,12 @@ imf_done:
1794 1794
1795 } 1795 }
1796 1796
1797 if (!isnan(wn->config->hide_cursor))
1798 {
1799 wn->hide_cursor_timer = ecore_timer_add(
1800 wn->config->hide_cursor, _hide_cursor, wn);
1801 }
1802
1797 wins = eina_list_append(wins, wn); 1803 wins = eina_list_append(wins, wn);
1798 return wn; 1804 return wn;
1799} 1805}