diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 7cc035f5..1cad63f5 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -81,6 +81,10 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { | |||
81 | setFocus_Widget(findWidget_App(cstr_Rangecc(range_Command(cmd, "id")))); | 81 | setFocus_Widget(findWidget_App(cstr_Rangecc(range_Command(cmd, "id")))); |
82 | return iTrue; | 82 | return iTrue; |
83 | } | 83 | } |
84 | else if (equal_Command(cmd, "window.focus.lost")) { | ||
85 | setFocus_Widget(NULL); | ||
86 | return iFalse; | ||
87 | } | ||
84 | else if (handleCommand_App(cmd)) { | 88 | else if (handleCommand_App(cmd)) { |
85 | return iTrue; | 89 | return iTrue; |
86 | } | 90 | } |