Skip to content

Commit

Permalink
Prefer XSetWMNormalHints (XSetNormalHints is deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Jun 1, 2022
1 parent 6521d58 commit 3beb5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pugl/pugl_x11.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,6 @@ puglUpdateGeometryConstraints(PuglView* view, int min_width, int min_height, boo
sizeHints.max_aspect.x=min_width;
sizeHints.max_aspect.y=min_height;
}
XSetNormalHints(view->impl->display, view->impl->win, &sizeHints);
XSetWMNormalHints(view->impl->display, view->impl->win, &sizeHints);
return 0;
}

0 comments on commit 3beb5f7

Please sign in to comment.