Skip to content

Commit 9979668

Browse files
committed
Make inhibit flag thread safe
Signed-off-by: Rob Caelers <[email protected]>
1 parent e641898 commit 9979668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/unix/MutterInputMonitor.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private:
6868
GDBusProxy *idle_proxy = NULL;
6969
GDBusProxy *session_proxy = NULL;
7070
std::atomic<bool> active { false };
71-
bool inhibited = false;
71+
std::atomic<bool> inhibited { false };
7272
guint watch_active = 0;
7373
guint watch_idle = 0;
7474

0 commit comments

Comments
 (0)