summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:35:11 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-17 21:35:11 +0200
commit59462f7c4f35c75b2951827a81a5cc0ca4d7dbec (patch)
treefc40d83dcc15f2861a4e3323dab9cb9cde8e60c8 /src/ui/window.h
parent292b81a0a635204fa588a73e352ac8e6ffa98f40 (diff)
InputWidget: In a narrow window, omit the default URL scheme
The default URL scheme is "gemini". If missing, it will always be added back when making requests. This allows it to be omitted from the URL input field if space needs saving. Other schemes, like "gopher", won't be omitted.
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index 98c63957..9ac3bc00 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -104,6 +104,7 @@ uint32_t frameTime_Window (const iWindow *);
104SDL_Renderer *renderer_Window (const iWindow *); 104SDL_Renderer *renderer_Window (const iWindow *);
105int snap_Window (const iWindow *); 105int snap_Window (const iWindow *);
106iBool isFullscreen_Window (const iWindow *); 106iBool isFullscreen_Window (const iWindow *);
107iBool isNarrow_Window (const iWindow *);
107 108
108iWindow * get_Window (void); 109iWindow * get_Window (void);
109 110