diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 9ff22d35..b6465727 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1093,10 +1093,10 @@ static void setupUserInterface_Window(iWindow *d) { | |||
1093 | // setBackgroundColor_Widget(i.object, tmBannerSideTitle_ColorId); | 1093 | // setBackgroundColor_Widget(i.object, tmBannerSideTitle_ColorId); |
1094 | } | 1094 | } |
1095 | const iMenuItem items[] = { | 1095 | const iMenuItem items[] = { |
1096 | { "\U0001f588 Bookmarks", 0, 0, "toolbar.showview arg:0" }, | 1096 | { pin_Icon " Bookmarks", 0, 0, "toolbar.showview arg:0" }, |
1097 | { "\U00002605 Feeds", 0, 0, "toolbar.showview arg:1" }, | 1097 | { star_Icon " Feeds", 0, 0, "toolbar.showview arg:1" }, |
1098 | { clock_Icon " History", 0, 0, "toolbar.showview arg:2" }, | 1098 | { clock_Icon " History", 0, 0, "toolbar.showview arg:2" }, |
1099 | { "\U0001f5b9 Page Outline", 0, 0, "toolbar.showview arg:4" }, | 1099 | { page_Icon " Page Outline", 0, 0, "toolbar.showview arg:4" }, |
1100 | }; | 1100 | }; |
1101 | iWidget *menu = makeMenu_Widget(findChild_Widget(toolBar, "toolbar.view"), | 1101 | iWidget *menu = makeMenu_Widget(findChild_Widget(toolBar, "toolbar.view"), |
1102 | items, iElemCount(items)); | 1102 | items, iElemCount(items)); |
@@ -1707,7 +1707,6 @@ void draw_Window(iWindow *d) { | |||
1707 | if (d->isDrawFrozen) { | 1707 | if (d->isDrawFrozen) { |
1708 | return; | 1708 | return; |
1709 | } | 1709 | } |
1710 | // printf("num pending: %d\n", numPendingGlyphs_Text()); | ||
1711 | const int winFlags = SDL_GetWindowFlags(d->win); | 1710 | const int winFlags = SDL_GetWindowFlags(d->win); |
1712 | const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0; | 1711 | const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0; |
1713 | /* Clear the window. The clear color is visible as a border around the window | 1712 | /* Clear the window. The clear color is visible as a border around the window |
@@ -1754,6 +1753,7 @@ void draw_Window(iWindow *d) { | |||
1754 | } | 1753 | } |
1755 | #endif | 1754 | #endif |
1756 | SDL_RenderPresent(d->render); | 1755 | SDL_RenderPresent(d->render); |
1756 | rasterizeSomePendingGlyphs_Text(); | ||
1757 | } | 1757 | } |
1758 | 1758 | ||
1759 | void resize_Window(iWindow *d, int w, int h) { | 1759 | void resize_Window(iWindow *d, int w, int h) { |