Skip to content

XOpenDisplay: ensure each screen has a valid root_visual pointer

Alan Coopersmith requested to merge alanc/libx11:root_visual into master

Other code assumes this pointer cannot be NULL, so fail the connection if a bug has caused the X server to give a non-existent visual ID for the default visual of any screen.

Reported-by: Gregory James DUCK

Merge request reports