diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:35:11 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-17 21:35:11 +0200 |
commit | 59462f7c4f35c75b2951827a81a5cc0ca4d7dbec (patch) | |
tree | fc40d83dcc15f2861a4e3323dab9cb9cde8e60c8 /src/ui/window.h | |
parent | 292b81a0a635204fa588a73e352ac8e6ffa98f40 (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.h | 1 |
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 *); | |||
104 | SDL_Renderer *renderer_Window (const iWindow *); | 104 | SDL_Renderer *renderer_Window (const iWindow *); |
105 | int snap_Window (const iWindow *); | 105 | int snap_Window (const iWindow *); |
106 | iBool isFullscreen_Window (const iWindow *); | 106 | iBool isFullscreen_Window (const iWindow *); |
107 | iBool isNarrow_Window (const iWindow *); | ||
107 | 108 | ||
108 | iWindow * get_Window (void); | 109 | iWindow * get_Window (void); |
109 | 110 | ||