summaryrefslogtreecommitdiff
path: root/src/compositor.h
diff options
context:
space:
mode:
authorBob Ham <bob.ham@collabora.com>2016-01-12 10:21:47 +0000
committerDerek Foreman <derekf@osg.samsung.com>2016-01-12 09:21:28 -0600
commit91880f1e9e612eecfeb192343378da24088fc694 (patch)
tree8c98236530aed355e89d3e848a628a8147e7620a /src/compositor.h
parent5d43af3e8888f18a4982d980b8c760d9726a9a92 (diff)
downloadweston-91880f1e9e612eecfeb192343378da24088fc694.tar.gz
compositor-{drm, fbdev, rpi}: Make VT switching configurable
Add a new boolean weston.ini option, "vt-switching" to enable or disable Ctrl-Alt-Fn key combinations. Signed-off-by: Bob Ham <bob.ham@collabora.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> (Derek Foreman changed the prototype for switch_vt_binding to have a weston_keyboard * instead of weston_seat *. The pointer wasn't used, so this is just a warning fix.)
Diffstat (limited to 'src/compositor.h')
-rw-r--r--src/compositor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h
index 28486745..130b2585 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -751,6 +751,8 @@ struct weston_compositor {
int32_t kb_repeat_rate;
int32_t kb_repeat_delay;
+ bool vt_switching;
+
clockid_t presentation_clock;
int32_t repaint_msec;