mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Revert "Fixed regression when placing windows."
This reverts commit 4e193c172b.
Conflicts:
src/window.c
This commit is contained in:
@@ -591,7 +591,6 @@ WWindow *wManageWindow(WScreen *scr, Window window)
|
||||
char *title;
|
||||
Bool withdraw = False;
|
||||
Bool raise = False;
|
||||
Bool frame_adjustment = True;
|
||||
|
||||
/* mutex. */
|
||||
XGrabServer(dpy);
|
||||
@@ -992,7 +991,6 @@ WWindow *wManageWindow(WScreen *scr, Window window)
|
||||
|
||||
} else {
|
||||
PlaceWindow(wwin, &x, &y, width, height);
|
||||
frame_adjustment = False;
|
||||
}
|
||||
|
||||
if (wPreferences.window_placement == WPM_MANUAL)
|
||||
@@ -1142,7 +1140,7 @@ WWindow *wManageWindow(WScreen *scr, Window window)
|
||||
y -= wwin->frame->top_width + wwin->frame->bottom_width;
|
||||
}
|
||||
|
||||
if (frame_adjustment) {
|
||||
{
|
||||
WMRect rect;
|
||||
WArea usableArea;
|
||||
int head;
|
||||
|
||||
Reference in New Issue
Block a user