Skip to content
Snippets Groups Projects
Commit c5b72fd3 authored by Marko Macek's avatar Marko Macek Committed by Keith Packard
Browse files

DIX: Set backgroundState correctly for root window


When we change the root window's background to None, and we've run with
-wr or -br for a forced solid background, make sure we also change the
background state to BackgroundPixel, so we don't try to lookup either
pScreen->whitePixel or pScreen->blackPixel as a pixmap.

Signed-off-by: default avatarMarko Macek <Marko.Macek@gmx.net>
Reviewed-by: default avatarWalter Harms <wharms@bfs.de>
Reviewed-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent db228d3d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment