Changeset 79949f3 in mainline
- Timestamp:
- 2019-12-01T10:59:38Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24cf391a
- Parents:
- bd1f9a6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/seat.c
rbd1f9a6d r79949f3 102 102 errno_t ds_seat_post_kbd_event(ds_seat_t *seat, kbd_event_t *event) 103 103 { 104 ds_window_t *dwindow = seat->focus; 104 ds_window_t *dwindow; 105 bool alt_or_shift; 105 106 107 alt_or_shift = event->mods & (KM_SHIFT | KM_ALT); 108 if (event->type == KEY_PRESS && alt_or_shift && event->key == KC_TAB) { 109 /* On Alt-Tab or Shift-Tab, switch focus to next window */ 110 ds_seat_evac_focus(seat, seat->focus); 111 return EOK; 112 } 113 114 dwindow = seat->focus; 106 115 if (dwindow == NULL) 107 116 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.