1
0
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:
dan
1998-11-27 12:26:46 +00:00
parent 9007a6575d
commit 345d980be3
25 changed files with 889 additions and 142 deletions

View File

@@ -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;