lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.26k stars 162 forks source link

tilda fails to update its window after losing focus #455

Open gijsbers opened 3 years ago

gijsbers commented 3 years ago

If I run this command in a tilda window:

   while :; do date ; sleep 1; done

Then tilda will stop updating its window after I move my mouse to some other window, because I have focus follows mouse. Only after I move the mouse pointer back into the tilda window does tilda update its window again. I much prefer if tilda would just always update its window, regardless whether it has input focus or not.

Compilation of tilda 1.6-alpha gives the following warnings, due to missing include statements:

src/tilda-lock-files.c: In function ‘islockfile’:
src/tilda-lock-files.c:173:25: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
             lock->pid = atoi (pid_s);
                         ^~~~
src/tilda-match-registry.c: In function ‘email_match_to_uri’:
src/tilda-match-registry.c:254:51: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
     if (g_ascii_strncasecmp(mailto_prefix, match, strlen(mailto_prefix) != 0)) {
                                                   ^~~~~~
src/tilda-match-registry.c:254:51: warning: incompatible implicit declaration of built-in function ‘strlen’
src/tilda-match-registry.c:254:51: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
src/tilda-search-box.c: In function ‘search_vte_regex’:
src/tilda-search-box.c:93:20: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
   pattern_length = strlen (pattern);
                    ^~~~~~
src/tilda-search-box.c:93:20: warning: incompatible implicit declaration of built-in function ‘strlen’
src/tilda-search-box.c:93:20: note: include ‘<string.h>’ or provide a declaration of ‘strlen’