summaryrefslogtreecommitdiff
path: root/src/launcher-util.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/launcher-util.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/launcher-util.h')
-rw-r--r--src/launcher-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/launcher-util.h b/src/launcher-util.h
index a2219f67..93321ab7 100644
--- a/src/launcher-util.h
+++ b/src/launcher-util.h
@@ -52,4 +52,7 @@ weston_launcher_activate_vt(struct weston_launcher *launcher, int vt);
void
weston_launcher_restore(struct weston_launcher *launcher);
+void
+weston_setup_vt_switch_bindings(struct weston_compositor *compositor);
+
#endif