Skip to content

Commit

Permalink
fallback: add another debug message for tablet-mode keyboard suspend
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Aug 2, 2018
1 parent 0b96f16 commit 1432a95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/evdev-fallback.c
Expand Up @@ -1213,8 +1213,10 @@ fallback_keyboard_pair_tablet_mode(struct evdev_device *keyboard,

if (evdev_device_switch_get_state(tablet_mode_switch,
LIBINPUT_SWITCH_TABLET_MODE)
== LIBINPUT_SWITCH_STATE_ON)
== LIBINPUT_SWITCH_STATE_ON) {
evdev_log_debug(keyboard, "tablet-mode: suspending device\n");
fallback_suspend(dispatch, keyboard);
}
}

static void
Expand Down

0 comments on commit 1432a95

Please sign in to comment.