summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/gus.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-05-08 19:17:20 +0000
committermiod <miod@openbsd.org>2015-05-08 19:17:20 +0000
commit3e65806e56697f74d9985d01139ea92e4f2659be (patch)
treea7ba8f99fccedeca9969c644ea29beab434ccefd /sys/dev/isa/gus.c
parentAdd a new `don't read back' flag for variables, to prevent reading their value (diff)
downloadwireguard-openbsd-3e65806e56697f74d9985d01139ea92e4f2659be.tar.xz
wireguard-openbsd-3e65806e56697f74d9985d01139ea92e4f2659be.zip
When changing screen saver parameters with wsconsctl (or any other way to
perform ioctls), check the flags of the currently displayed screen in order to decide whether the screen saver needs to be retriggered, rather than the flags of the device we are issuing the ioctl on. wsconsctl will always use ttyC0, while the X server may run on another virtual screen (such as ttyC4), and the kernel screen saver would then be reenabled behind the X server's back. While there, apply this `should the screen burner get reenabled or disabled?' logic at the end of every virtual screen switch. The screen burner will now get reenabled when switching from X11 to a virtual text console, and disabled when switching back to X.
Diffstat (limited to 'sys/dev/isa/gus.c')
0 files changed, 0 insertions, 0 deletions