mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[x11,client] clean up color depth initialization
* Do not use transparency except in remote application mode. * Fall back to default color depth in rail mode if no transparency supported
This commit is contained in:
parent
22d5394993
commit
eda1359f52
@ -465,7 +465,9 @@ static const char* get_shm_id(void)
|
||||
|
||||
Window xf_CreateDummyWindow(xfContext* xfc)
|
||||
{
|
||||
return XCreateSimpleWindow(xfc->display, DefaultRootWindow(xfc->display), 0, 0, 1, 1, 0, 0, 0);
|
||||
return XCreateWindow(xfc->display, RootWindowOfScreen(xfc->screen), xfc->workArea.x,
|
||||
xfc->workArea.y, 1, 1, 0, xfc->depth, InputOutput, xfc->visual,
|
||||
xfc->attribs_mask, &xfc->attribs);
|
||||
}
|
||||
|
||||
void xf_DestroyDummyWindow(xfContext* xfc, Window window)
|
||||
|
Loading…
Reference in New Issue
Block a user