mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Improve fix
This commit is contained in:
parent
ab4b99ec2e
commit
1d8002f831
@ -185,7 +185,7 @@ static BOOL create_floatbar(xfFloatbar* floatbar)
|
||||
status = XGetWindowAttributes(xfc->display, floatbar->root_window, &attr);
|
||||
if (status == 0)
|
||||
{
|
||||
WLog_WARN(TAG, "XGetWindowAttributes returned %d", status);
|
||||
WLog_WARN(TAG, "XGetWindowAttributes failed");
|
||||
return FALSE;
|
||||
}
|
||||
floatbar->x = attr.x + attr.width / 2 - FLOATBAR_DEFAULT_WIDTH / 2;
|
||||
|
Loading…
Reference in New Issue
Block a user