mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
Revert "Fixed regression when placing windows."
This reverts commit 4e193c172b.
Conflicts:
src/window.c
This commit is contained in:
@@ -81,13 +81,6 @@ void wClientRestore(WWindow * wwin)
|
||||
if (gy > 0)
|
||||
wwin->frame_y += (wwin->frame->top_width + wwin->frame->bottom_width);
|
||||
#endif
|
||||
/* account for titlebar and border */
|
||||
wwin->frame_y += wwin->frame->top_width;
|
||||
if (HAS_BORDER(wwin)) {
|
||||
wwin->frame_x += FRAME_BORDER_WIDTH;
|
||||
wwin->frame_y += FRAME_BORDER_WIDTH;
|
||||
}
|
||||
|
||||
XSetWindowBorderWidth(dpy, wwin->client_win, wwin->old_border_width);
|
||||
XReparentWindow(dpy, wwin->client_win, wwin->screen_ptr->root_win, wwin->frame_x, wwin->frame_y);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user