diff --git a/backend/src/unix/MutterInputMonitor.hh b/backend/src/unix/MutterInputMonitor.hh index 89f03f4ea..ff66c8614 100644 --- a/backend/src/unix/MutterInputMonitor.hh +++ b/backend/src/unix/MutterInputMonitor.hh @@ -68,7 +68,7 @@ private: GDBusProxy *idle_proxy = NULL; GDBusProxy *session_proxy = NULL; std::atomic active { false }; - bool inhibited = false; + std::atomic inhibited { false }; guint watch_active = 0; guint watch_idle = 0;