summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index e597edbe..fa601ac3 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1273,6 +1273,7 @@ void processEvents_App(enum iAppEventMode eventMode) {
1273 } 1273 }
1274 } 1274 }
1275#endif 1275#endif
1276 const iWidget *oldHover = d->window->hover;
1276 iBool wasUsed = processEvent_Window(d->window, &ev); 1277 iBool wasUsed = processEvent_Window(d->window, &ev);
1277 if (!wasUsed) { 1278 if (!wasUsed) {
1278 /* There may be a key bindings for this. */ 1279 /* There may be a key bindings for this. */
@@ -1307,6 +1308,11 @@ void processEvents_App(enum iAppEventMode eventMode) {
1307 /* Allocated by postCommand_Apps(). */ 1308 /* Allocated by postCommand_Apps(). */
1308 free(ev.user.data1); 1309 free(ev.user.data1);
1309 } 1310 }
1311 /* Update when hover has changed. */
1312 if (oldHover != d->window->hover) {
1313 refresh_Widget(oldHover);
1314 refresh_Widget(d->window->hover);
1315 }
1310 break; 1316 break;
1311 } 1317 }
1312 } 1318 }