Skip to content

Commit

Permalink
Make inhibit flag thread safe
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Caelers <[email protected]>
  • Loading branch information
rcaelers committed May 9, 2020
1 parent e641898 commit 9979668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/unix/MutterInputMonitor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private:
GDBusProxy *idle_proxy = NULL;
GDBusProxy *session_proxy = NULL;
std::atomic<bool> active { false };
bool inhibited = false;
std::atomic<bool> inhibited { false };
guint watch_active = 0;
guint watch_idle = 0;

Expand Down

0 comments on commit 9979668

Please sign in to comment.