git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@657 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-10 08:43:25 +00:00
parent a49531b97b
commit f2dabe680e

View File

@@ -279,6 +279,7 @@ void MwLLSetXY(MwLL handle, int x, int y) {
XSizeHints sh;
long r;
sh.flags = 0;
XGetWMNormalHints(handle->display, handle->window, &sh, &r);
sh.flags |= PPosition;
@@ -295,6 +296,7 @@ void MwLLSetWH(MwLL handle, int w, int h) {
XSizeHints sh;
long r;
sh.flags = 0;
XGetWMNormalHints(handle->display, handle->window, &sh, &r);
if(w < 2) w = 2;