summaryrefslogtreecommitdiff
path: root/gui.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-11-27 19:15:04 +0100
committerxengineering <me@xengineering.eu>2022-11-27 19:15:21 +0100
commit6e61e0041d46b73d9def181d39a08055cc01318b (patch)
treeb61b8aead5e98efc50556d649da48bda580d8ed2 /gui.c
parentd6f3a46ef5df412d6549caf94144c303235feaa9 (diff)
downloadlimox-6e61e0041d46b73d9def181d39a08055cc01318b.tar
limox-6e61e0041d46b73d9def181d39a08055cc01318b.tar.zst
limox-6e61e0041d46b73d9def181d39a08055cc01318b.zip
Mark SDL2 window as resizable
This should be the long-term default and should be addressed in an early phase of development to implement the GUI with a resizable window in mind.
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.c b/gui.c
index 04a53b3..b073570 100644
--- a/gui.c
+++ b/gui.c
@@ -20,7 +20,7 @@ void gui_run(void) {
SDL_Init(SDL_INIT_VIDEO);
window = SDL_CreateWindow("LimoX",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480,
- 0
+ SDL_WINDOW_RESIZABLE
);
// output video driver to stderr