diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-24 13:19:38 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-24 13:19:38 +0300 |
commit | 0f0b4250ca460d58edb61cc0dd509ba1980c3272 (patch) | |
tree | e8e9be30b2ec7942c4796cf93cbbd42e0c272e6a /src/ui/window.c | |
parent | dd73346aad190239ed133d0c4835dbaa05d1b0cd (diff) |
Added GmRequest for handling the request
This feels a little bit too complex, with GmRequest observing TlsRequest and then notifying its own audience. There are still some issues with cancelling requests as well.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 43233010..2cd30459 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -49,7 +49,7 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { | |||
49 | } | 49 | } |
50 | return iTrue; | 50 | return iTrue; |
51 | } | 51 | } |
52 | else if (equal_Command(cmd, "setfocus")) { | 52 | else if (equal_Command(cmd, "focus.set")) { |
53 | setFocus_Widget(findWidget_App(cstr_String(string_Command(cmd, "id")))); | 53 | setFocus_Widget(findWidget_App(cstr_String(string_Command(cmd, "id")))); |
54 | return iTrue; | 54 | return iTrue; |
55 | } | 55 | } |
@@ -273,7 +273,7 @@ static void setupUserInterface_Window(iWindow *d) { | |||
273 | #endif | 273 | #endif |
274 | /* Glboal keyboard shortcuts. */ { | 274 | /* Glboal keyboard shortcuts. */ { |
275 | // addAction_Widget(d->root, SDLK_LEFTBRACKET, KMOD_SHIFT | KMOD_PRIMARY, "tabs.prev"); | 275 | // addAction_Widget(d->root, SDLK_LEFTBRACKET, KMOD_SHIFT | KMOD_PRIMARY, "tabs.prev"); |
276 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "setfocus id:url"); | 276 | addAction_Widget(d->root, 'l', KMOD_PRIMARY, "focus.set id:url"); |
277 | } | 277 | } |
278 | } | 278 | } |
279 | 279 | ||