We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc5909d commit a0ce07bCopy full SHA for a0ce07b
1 file changed
mlx_int_anti_resize_win.c
@@ -15,7 +15,8 @@ int mlx_int_anti_resize_win(t_xvar *xvar,Window win,int w,int h)
15
{
16
XSizeHints hints;
17
long toto;
18
-
+
19
+ memset(&hints, 0, sizeof(XSizeHints));
20
XGetWMNormalHints(xvar->display,win,&hints,&toto);
21
hints.width = w;
22
hints.height = h;
0 commit comments