mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
backend/libseat: fix change_vt return value
This should return true on success and false on failure not vice-versa.
This commit is contained in:
parent
ebecc5404b
commit
262740bc9a
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ static void libseat_session_close_device(struct wlr_session *base, int fd) {
|
||||||
|
|
||||||
static bool libseat_change_vt(struct wlr_session *base, unsigned vt) {
|
static bool libseat_change_vt(struct wlr_session *base, unsigned vt) {
|
||||||
struct libseat_session *session = libseat_session_from_session(base);
|
struct libseat_session *session = libseat_session_from_session(base);
|
||||||
return libseat_switch_session(session->seat, vt);
|
return libseat_switch_session(session->seat, vt) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct session_impl session_libseat = {
|
const struct session_impl session_libseat = {
|
||||||
|
|
Loading…
Reference in a new issue