dtwm: Relocate base window when regenerate its frame.

This commit is contained in:
Liang Chang 2021-08-06 08:36:05 +08:00
parent bcf6e517d3
commit 50ea1705c7
1 changed files with 4 additions and 3 deletions

View File

@ -2280,9 +2280,10 @@ void RegenerateClientFrame (ClientData *pcd)
}
/* resize base window */
XResizeWindow (DISPLAY, pcd->clientBaseWin, BaseWindowWidth (pcd),
BaseWindowHeight (pcd));
XMoveResizeWindow (DISPLAY, pcd->clientBaseWin,
BaseWindowX (pcd), BaseWindowY (pcd),
BaseWindowWidth (pcd), BaseWindowHeight (pcd));
/* resize the stretcher windows */
if (SHOW_RESIZE_CURSORS(pcd) && (decor & MWM_DECOR_RESIZEH)) {
XMoveResizeWindow (DISPLAY,