mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user