mirror of https://github.com/FreeRDP/FreeRDP
Cleanup unnecessary/unintended changes from last commit
This commit is contained in:
parent
8e27b6d05e
commit
ace5bba0ed
|
@ -278,8 +278,7 @@ BOOL xf_generic_MotionNotify(xfContext* xfc, int x, int y, int state, Window win
|
|||
|
||||
xf_event_adjust_coordinates(xfc, &x, &y);
|
||||
|
||||
if (!app || xf_AppWindowFromX11Window(xfc,window)->local_move.direction != RAIL_WMSZ_KEYSIZE)
|
||||
input->MouseEvent(input, PTR_FLAGS_MOVE, x, y);
|
||||
input->MouseEvent(input, PTR_FLAGS_MOVE, x, y);
|
||||
|
||||
if (xfc->fullscreen && !app)
|
||||
{
|
||||
|
|
|
@ -959,10 +959,10 @@ void xf_UpdateWindowArea(xfContext* xfc, xfAppWindow* appWindow, int x, int y, i
|
|||
ax = x + appWindow->windowOffsetX;
|
||||
ay = y + appWindow->windowOffsetY;
|
||||
|
||||
if (ax + width > appWindow->windowOffsetX + appWindow->windowWidth)
|
||||
width = (appWindow->windowOffsetX + appWindow->windowWidth - 1) - ax;
|
||||
if (ay + height > appWindow->windowOffsetY + appWindow->windowHeight)
|
||||
height = (appWindow->windowOffsetY + appWindow->windowHeight - 1) - ay;
|
||||
if (ax + width > appWindow->windowOffsetX + appWindow->width)
|
||||
width = (appWindow->windowOffsetX + appWindow->width - 1) - ax;
|
||||
if (ay + height > appWindow->windowOffsetY + appWindow->height)
|
||||
height = (appWindow->windowOffsetY + appWindow->height - 1) - ay;
|
||||
|
||||
xf_lock_x11(xfc, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue