From 0000ef909248febd81c7a6aa070e08ab959dda61 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 16 May 2025 16:55:19 +0200 Subject: Enable the resize event --- src/main/ui/x11/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/ui/x11/ui.c') diff --git a/src/main/ui/x11/ui.c b/src/main/ui/x11/ui.c index 7d52e2b..cf08ac0 100644 --- a/src/main/ui/x11/ui.c +++ b/src/main/ui/x11/ui.c @@ -61,7 +61,7 @@ ui_get_attributes(Window root, XVisualInfo *vi) Colormap colormap = XCreateColormap(display, root, vi->visual, AllocNone); XSetWindowAttributes swa; swa.colormap = colormap; - swa.event_mask = ExposureMask | KeyPressMask; + swa.event_mask = ExposureMask | KeyPressMask | StructureNotifyMask; return swa; } -- cgit v1.2.3