feat(client): add current_scale field to Client and LayerSurface structs
- Add float current_scale to Client struct (HOT section, after corner_radius) - Add float current_scale to LayerSurface struct (HOT section, after mapped) - Add config scale range validation [0.25, 4.0] with fprintf warnings
This commit is contained in:
@@ -46,6 +46,7 @@ typedef struct Client {
|
||||
struct wlr_box bounds; /* only width and height are used */
|
||||
unsigned int bw;
|
||||
int corner_radius;
|
||||
float current_scale;
|
||||
struct wlr_scene_shadow *shadow;
|
||||
struct wlr_scene_blur *blur;
|
||||
|
||||
@@ -96,6 +97,7 @@ typedef struct {
|
||||
struct wlr_scene_tree *popups;
|
||||
struct wlr_scene_layer_surface_v1 *scene_layer;
|
||||
int mapped;
|
||||
float current_scale;
|
||||
struct wlr_layer_surface_v1 *layer_surface;
|
||||
|
||||
/* WARM */
|
||||
|
||||
Reference in New Issue
Block a user