diff options
author | Alan Cox <alan@linux.intel.com> | 2009-09-19 13:13:26 -0700 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:26 -0700 |
commit | d3b5cffcf84a8bdc7073dce4745d67c72629af85 (patch) | |
tree | dfcaa9dbc59b3f17160624803f54711db1d9786f /include/linux/vt.h | |
parent | a5eb56242d1e2d82938a066219ac1cdf0d68adc8 (diff) | |
download | lwn-d3b5cffcf84a8bdc7073dce4745d67c72629af85.tar.gz lwn-d3b5cffcf84a8bdc7073dce4745d67c72629af85.zip |
vt: add an activate and lock
X and other graphical interfaces need to be able to flip to a console
and lock it into graphics mode without races.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/vt.h')
-rw-r--r-- | include/linux/vt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/vt.h b/include/linux/vt.h index 831daf64b90c..7afca0d72139 100644 --- a/include/linux/vt.h +++ b/include/linux/vt.h @@ -77,4 +77,11 @@ struct vt_event { #define VT_WAITEVENT 0x560E /* Wait for an event */ +struct vt_setactivate { + unsigned int console; + struct vt_mode mode; +}; + +#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ + #endif /* _LINUX_VT_H */ |