mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-04 07:15:47 +01:00
Window Maker 0.20.3
This commit is contained in:
@@ -233,12 +233,13 @@ wClientConfigure(WWindow *wwin, XConfigureRequestEvent *xcre)
|
||||
if (!wwin->flags.shaded) {
|
||||
/* If the window is shaded, wrong height will be set for the window */
|
||||
if (xcre->value_mask & CWX)
|
||||
nx = xcre->x;
|
||||
nx = xcre->x - FRAME_BORDER_WIDTH;
|
||||
else
|
||||
nx = wwin->frame_x;
|
||||
|
||||
if (xcre->value_mask & CWY)
|
||||
ny = xcre->y - ((ofs_y < 0) ? 0 : wwin->frame->top_width);
|
||||
ny = xcre->y - ((ofs_y < 0) ? 0 : wwin->frame->top_width)
|
||||
- FRAME_BORDER_WIDTH;
|
||||
else
|
||||
ny = wwin->frame_y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user