From 30e50084504dbcb23d336dc8a1cf503574ea2a68 Mon Sep 17 00:00:00 2001 From: Mihir Lad Date: Sat, 25 Jul 2020 01:12:50 -0400 Subject: [PATCH] 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. --- src/modules/dwm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/dwm.cpp b/src/modules/dwm.cpp index ba77b3f6..f675aeb0 100644 --- a/src/modules/dwm.cpp +++ b/src/modules/dwm.cpp @@ -8,6 +8,7 @@ #include "modules/meta/base.inl" #include "utils/env.hpp" #include "utils/file.hpp" +#include "x11/extensions/randr.hpp" POLYBAR_NS