Changeset 0da03df in mainline for uspace/srv/hid/display/seat.h


Ignore:
Timestamp:
2020-12-10T10:27:07Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
442210e
Parents:
08f345f
git-author:
Jiri Svoboda <jiri@…> (2020-12-09 18:26:57)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-10 10:27:07)
Message:

Distinguish between focus switching and evacuation

It's the same thing if there are at least two windows. With just
one window, switching focus should do nothing. Evacuation should
lead to no window being focused. (Fixes crash when pressing
Alt-Shift/Ctrl-Shift with just one window left).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/seat.h

    r08f345f r0da03df  
    5050extern void ds_seat_set_focus(ds_seat_t *, ds_window_t *);
    5151extern void ds_seat_evac_focus(ds_seat_t *, ds_window_t *);
     52extern void ds_seat_switch_focus(ds_seat_t *);
    5253extern errno_t ds_seat_post_kbd_event(ds_seat_t *, kbd_event_t *);
    5354extern errno_t ds_seat_post_ptd_event(ds_seat_t *, ptd_event_t *);
Note: See TracChangeset for help on using the changeset viewer.