From 0887fbda28e4b92e244da022132adc2d47dd82f7 Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Mon, 15 Feb 2021 16:12:00 -0500 Subject: [PATCH] Add proper resize support on Linux --- platforms/linux/main.cpp.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/linux/main.cpp.in b/platforms/linux/main.cpp.in index 1747de9..1c8355a 100755 --- a/platforms/linux/main.cpp.in +++ b/platforms/linux/main.cpp.in @@ -323,6 +323,9 @@ int main(int argc, char* argv[]) { { const xcb_configure_notify_event_t *cfgEvent = (const xcb_configure_notify_event_t *)event; + window_width = cfgEvent->width; + window_height = cfgEvent->height; + engine->resize(0, {cfgEvent->width, cfgEvent->height}); } break;