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
|
|
@ -69,14 +69,13 @@ struct swaybar_output {
|
|||
bool focused;
|
||||
|
||||
uint32_t width, height;
|
||||
int32_t scale;
|
||||
enum wl_output_subpixel subpixel;
|
||||
struct pool_buffer buffers[2];
|
||||
struct pool_buffer *current_buffer;
|
||||
bool dirty;
|
||||
bool frame_scheduled;
|
||||
|
||||
uint32_t output_height, output_width, output_x, output_y;
|
||||
uint32_t output_height, output_width, output_x, output_y, output_scale;
|
||||
enum wl_output_subpixel output_subpixel;
|
||||
};
|
||||
|
||||
struct swaybar_workspace {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue