mirror of
https://github.com/swaywm/sway.git
synced 2026-02-10 04:27:54 -05:00
Merge fd11eff12b into e3c2412565
This commit is contained in:
commit
15e9bf377e
7 changed files with 29 additions and 97 deletions
|
|
@ -74,10 +74,6 @@ struct sway_cursor {
|
|||
|
||||
struct wl_event_source *hide_source;
|
||||
bool hidden;
|
||||
// This field is just a cache of the field in seat_config in order to avoid
|
||||
// costly seat_config lookups on every keypress. HIDE_WHEN_TYPING_DEFAULT
|
||||
// indicates that there is no cached value.
|
||||
enum seat_config_hide_cursor_when_typing hide_when_typing;
|
||||
|
||||
size_t pressed_button_count;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ struct sway_drag {
|
|||
struct sway_seat {
|
||||
struct wlr_seat *wlr_seat;
|
||||
struct sway_cursor *cursor;
|
||||
struct seat_config *config;
|
||||
|
||||
// Seat scene tree structure
|
||||
// - scene_tree
|
||||
|
|
@ -243,10 +244,6 @@ void seat_for_each_node(struct sway_seat *seat,
|
|||
|
||||
void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);
|
||||
|
||||
struct seat_config *seat_get_config(struct sway_seat *seat);
|
||||
|
||||
struct seat_config *seat_get_config_by_name(const char *name);
|
||||
|
||||
void seat_idle_notify_activity(struct sway_seat *seat,
|
||||
enum sway_input_idle_source source);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue