diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-20 17:00:00 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-20 17:00:00 +0200 |
commit | cebc848472629d63cf633973a34df0bc9858efc6 (patch) | |
tree | ff254cf90ed20aeaaf99371361a5f81ea5224462 /src/ui/root.c | |
parent | 2e756e225a6c2b7972cfd9914ff935c290aa3b68 (diff) |
Window-specific refresh
When updating, mark pending refresh per window so one doesn't have to draw all of them at once.
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index 1130cf67..32ecc6aa 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -58,6 +58,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
58 | static const iMenuItem navMenuItems_[] = { | 58 | static const iMenuItem navMenuItems_[] = { |
59 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | 59 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, |
60 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new" }, | 60 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new" }, |
61 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | ||
61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | 62 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, |
62 | { "---" }, | 63 | { "---" }, |
63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | 64 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, |