bgo#643940 - Include Xlib.h so we can build when RANDR is not available

The RANDR headers include the Xlib paraphernalia, but we don't include those
headers when gnome-desktop is configured to not use RANDR.  So, instead we
include Xlib.h so that we'll have defined types for Display, Screen, etc.
Signed-off-by: Federico Mena Quintero's avatarFederico Mena Quintero <>
parent ebe98c14
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment