forked from pyrite-dev/milsko
safety
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@657 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
a49531b97b
commit
f2dabe680e
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue