summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-30 13:58:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-30 13:58:13 +0300
commit294d7c1544ec1bd95a70f72705e279fda3afb434 (patch)
tree09a6499efb479261e929fe055c85c8fad400ffc8 /src/ui/window.c
parentade0ed91adfaad12a51d3ee19e0077151457670f (diff)
InputWidget: Highlight only in focused root
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 704e6f2a..61851ca5 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -903,6 +903,7 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) {
903iBool setKeyRoot_Window(iWindow *d, iRoot *root) { 903iBool setKeyRoot_Window(iWindow *d, iRoot *root) {
904 if (d->keyRoot != root) { 904 if (d->keyRoot != root) {
905 d->keyRoot = root; 905 d->keyRoot = root;
906 postCommand_App("keyroot.changed");
906 postRefresh_App(); 907 postRefresh_App();
907 return iTrue; 908 return iTrue;
908 } 909 }