From 56a6b06210abd5c4fdfdc18d43f9eea811c06d77 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 25 Feb 2020 01:36:32 -0500 Subject: [PATCH] Fix building with BOO_MSAN --- lib/x11/ApplicationXlib.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/x11/ApplicationXlib.hpp b/lib/x11/ApplicationXlib.hpp index b06d8b3..423c83a 100644 --- a/lib/x11/ApplicationXlib.hpp +++ b/lib/x11/ApplicationXlib.hpp @@ -479,8 +479,10 @@ public: Window evWindow = GetWindowOfEvent(&event, windowEvent); if (windowEvent) { if (event.type == ClientMessage && event.xclient.data.l[0] == 'NWID') { +#ifndef BOO_MSAN if (!inhibitor) /* First window created, use to inhibit screensaver */ inhibitor.emplace(m_dbus, evWindow); +#endif } else { auto window = m_windows.find(evWindow); if (window != m_windows.end())