diff options
author | Bob Ham <bob.ham@collabora.com> | 2016-01-12 10:21:47 +0000 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2016-01-12 09:21:28 -0600 |
commit | 91880f1e9e612eecfeb192343378da24088fc694 (patch) | |
tree | 8c98236530aed355e89d3e848a628a8147e7620a /src/launcher-util.h | |
parent | 5d43af3e8888f18a4982d980b8c760d9726a9a92 (diff) | |
download | weston-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.h | 3 |
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 |