opt: change struct type name animationScale to BufferData

This commit is contained in:
DreamMaoMao 2025-07-31 22:05:37 +08:00
parent b76bbc9e60
commit 65136483ca
3 changed files with 67 additions and 67 deletions

View file

@ -217,7 +217,7 @@ typedef struct {
double percent;
float opacity;
bool should_scale;
} animationScale;
} BufferData;
typedef struct Client Client;
struct Client {
@ -625,7 +625,7 @@ static void scene_buffer_apply_opacity(struct wlr_scene_buffer *buffer, int sx,
static Client *direction_select(const Arg *arg);
static void view_in_mon(const Arg *arg, bool want_animation, Monitor *m);
static void buffer_set_effect(Client *c, animationScale scale_data);
static void buffer_set_effect(Client *c, BufferData buffer_data);
static void snap_scene_buffer_apply_effect(struct wlr_scene_buffer *buffer,
int sx, int sy, void *data);
static void client_set_pending_state(Client *c);