diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-18 15:01:40 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-18 15:01:40 +0100 |
commit | f7cc4541626279b07626b9d98beba03a7230b518 (patch) | |
tree | 3aaebc55d63a16825b27d70160316b7d1e86c735 /WindowServer/WSWindowManager.h | |
parent | 9454c5dd5254c9cd75b1b039da0cadb8c020ae38 (diff) | |
download | serenity-f7cc4541626279b07626b9d98beba03a7230b518.zip |
Add mechanism to expose kernel variables to userspace via ProcFS.
Only booleans are supported at first. More types can be added easily.
Use this to add /proc/sys/wm_flash_flush which when enabled flashes pending
screen flush rects in yellow before they happen.
Diffstat (limited to 'WindowServer/WSWindowManager.h')
-rw-r--r-- | WindowServer/WSWindowManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WindowServer/WSWindowManager.h b/WindowServer/WSWindowManager.h index 75d8c217c8..9df93d8515 100644 --- a/WindowServer/WSWindowManager.h +++ b/WindowServer/WSWindowManager.h @@ -94,4 +94,6 @@ private: OwnPtr<Painter> m_front_painter; mutable Lock m_lock; + + bool m_flash_flush { false }; }; |