mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 07:30:50 +00:00
safety
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@657 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user