Fix build fail when xcb-util-xrm not installed

When this package is not installed, the struct randr type never gets fully
defined because randr.hpp never gets included. This causes the build to fail in
update_monitor_ref.

See issue mihirlad55/polybar-dwm-module#10.
This commit is contained in:
Mihir Lad 2020-07-25 01:12:50 -04:00
parent feadaecf88
commit 30e5008450

View File

@ -8,6 +8,7 @@
#include "modules/meta/base.inl"
#include "utils/env.hpp"
#include "utils/file.hpp"
#include "x11/extensions/randr.hpp"
POLYBAR_NS