mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
swaybar: tidy swaybar_output struct
- prefix remaining output properties with output_ (scale, subpixel) - plumb updates to all output properties (x, y, width, height)
This commit is contained in:
parent
a47f8ef478
commit
d5db744f6c
5 changed files with 20 additions and 15 deletions
|
|
@ -78,7 +78,7 @@ void update_cursor(struct swaybar_seat *seat) {
|
|||
cursor_size = size;
|
||||
}
|
||||
}
|
||||
int scale = pointer->current ? pointer->current->scale : 1;
|
||||
int scale = pointer->current ? pointer->current->output_scale : 1;
|
||||
pointer->cursor_theme = wl_cursor_theme_load(
|
||||
cursor_theme, cursor_size * scale, seat->bar->shm);
|
||||
struct wl_cursor *cursor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue