mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
parent
9799adda79
commit
3e68b07db0
@ -217,7 +217,7 @@ void Fb_sdl::Main::_handle_sdl_event(Event_batch &batch, SDL_Event const &event)
|
||||
{
|
||||
using namespace Input;
|
||||
|
||||
if (event.type == SDL_WINDOWEVENT_RESIZED) {
|
||||
if (event.type == SDL_WINDOWEVENT && event.window.event == SDL_WINDOWEVENT_RESIZED) {
|
||||
|
||||
int w = event.window.data1;
|
||||
int h = event.window.data2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user