1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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

View file

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