mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-20 16:55:46 +01:00
- Fixed some compilation problems, which could lead to sigsegv at run time in
the new 'bag' code. - Fixed PPosition problem.
This commit is contained in:
@@ -311,12 +311,12 @@ setSizeHints(WMWindow *win)
|
||||
hints->flags = 0;
|
||||
|
||||
if (win->flags.upos_set) {
|
||||
hints->flags |= USPosition;
|
||||
hints->flags |= USPosition; /* shouldn't be PPosition ? --Dan */
|
||||
hints->x = win->upos.x;
|
||||
hints->y = win->upos.y;
|
||||
}
|
||||
if (win->usize.width>0 && win->usize.height>0) {
|
||||
hints->flags |= USSize;
|
||||
hints->flags |= USSize; /* shouldn't be PSize ? --Dan */
|
||||
hints->width = win->usize.width;
|
||||
hints->height = win->usize.height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user