Merge pull request #11660 from ligangcc/master

[client,x11]#11658,when size changed of an existing appWindows, except resize the main window, resize it's pixmap also
This commit is contained in:
akallabeth
2025-06-05 08:52:36 +02:00
committed by GitHub

View File

@@ -1203,9 +1203,14 @@ void xf_MoveWindow(xfContext* xfc, xfAppWindow* appWindow, int x, int y, int wid
appWindow->height = height;
if (resize)
{
if (!xf_AppWindowResize(xfc, appWindow))
return;
LogDynAndXMoveResizeWindow(xfc->log, xfc->display, appWindow->handle, x, y,
WINPR_ASSERTING_INT_CAST(uint32_t, width),
WINPR_ASSERTING_INT_CAST(uint32_t, height));
}
else
LogDynAndXMoveWindow(xfc->log, xfc->display, appWindow->handle, x, y);