mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Initialize seat pointer in swaybar
This commit is contained in:
parent
4b0fcde778
commit
8d1425bde9
4 changed files with 118 additions and 2 deletions
|
|
@ -8,14 +8,24 @@ struct swaybar_config;
|
|||
struct swaybar_output;
|
||||
struct swaybar_workspace;
|
||||
|
||||
struct swaybar_pointer {
|
||||
struct wl_pointer *pointer;
|
||||
struct wl_cursor_theme *cursor_theme;
|
||||
struct wl_cursor_image *cursor_image;
|
||||
struct wl_surface *cursor_surface;
|
||||
struct swaybar_output *current;
|
||||
};
|
||||
|
||||
struct swaybar {
|
||||
struct wl_display *display;
|
||||
struct wl_compositor *compositor;
|
||||
struct zwlr_layer_shell_v1 *layer_shell;
|
||||
struct wl_shm *shm;
|
||||
struct wl_seat *seat;
|
||||
|
||||
struct swaybar_config *config;
|
||||
struct swaybar_output *focused_output;
|
||||
struct swaybar_pointer pointer;
|
||||
struct status_line *status;
|
||||
|
||||
int ipc_event_socketfd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue