1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

fixed issue with window being moved by 1 pixel up and left when the window

move was initiated by the client
This commit is contained in:
dan
2005-03-13 00:15:13 +00:00
parent 24519b6292
commit 2f56373cc2
3 changed files with 14 additions and 7 deletions

View File

@@ -17,6 +17,8 @@ Changes since version 0.91.0:
- added code to automatically update the icon paths from the old .AppInfo
style to the new Library/WindowMaker style in WMWindowAttributes when
Window Maker starts to make transition transparent for users.
- fixed issue with window being moved by 1 pixel up and left when the window
move was initiated by the client
Changes since version 0.90.0:

View File

@@ -239,19 +239,23 @@ wClientConfigure(WWindow *wwin, XConfigureRequestEvent *xcre)
/* If the window is shaded, wrong height will be set for the window */
if (xcre->value_mask & CWX) {
nx = xcre->x;
if (HAS_BORDER(wwin))
/* Subtracting the border makes the window shift by 1 pixel -Dan */
/*if (HAS_BORDER(wwin)) {
nx -= FRAME_BORDER_WIDTH;
}
else
}*/
} else {
nx = wwin->frame_x;
}
if (xcre->value_mask & CWY) {
ny = xcre->y - ((ofs_y < 0) ? 0 : wwin->frame->top_width);
if (HAS_BORDER(wwin))
/* Subtracting the border makes the window shift by 1 pixel -Dan */
/*if (HAS_BORDER(wwin)) {
ny -= FRAME_BORDER_WIDTH;
}
else
}*/
} else {
ny = wwin->frame_y;
}
if (xcre->value_mask & CWWidth)
nwidth = xcre->width;

View File

@@ -1124,7 +1124,8 @@ handleLogoPush(XEvent *event, void *data)
"WHAT YOU SAY??",
"SOMEBODY SET UP US THE BOMB",
"ALL YOUR BASE ARE BELONG TO US!",
"Oh My God!!! Larry is back!"
"Oh My God!!! Larry is back!",
"Alex Perez is aliveeeeeeee!!!"
};