mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-09 13:29:54 -05:00
opt: change struct type name animationScale to BufferData
This commit is contained in:
parent
b76bbc9e60
commit
65136483ca
3 changed files with 67 additions and 67 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue