opt: clear useless arg

This commit is contained in:
DreamMaoMao 2026-05-09 13:58:46 +08:00
parent f83dd433cb
commit ee2e21e20b
3 changed files with 3 additions and 5 deletions

View file

@ -498,7 +498,7 @@ void resize_tile_dwindle(Client *grabc, bool isdrag, int32_t offsetx,
if (last_apply_drap_time == 0 ||
time - last_apply_drap_time > config.drag_tile_refresh_interval) {
dwindle_resize_client(grabc->mon, grabc, offsetx, offsety);
dwindle_resize_client(grabc->mon, grabc);
last_apply_drap_time = time;
}
}

View file

@ -176,8 +176,7 @@ static void dwindle_swap_clients(DwindleNode **root, Client *a, Client *b) {
lb->client = a;
}
static void dwindle_resize_client(Monitor *m, Client *c, int32_t dx,
int32_t dy) {
static void dwindle_resize_client(Monitor *m, Client *c) {
uint32_t tag = m->pertag->curtag;
DwindleNode *leaf = dwindle_find_leaf(m->pertag->dwindle_root[tag], c);
if (!leaf)

View file

@ -821,8 +821,7 @@ static void dwindle_move_client(DwindleNode **root, Client *c, Client *target,
float ratio, int32_t dir);
static void dwindle_resize_client_step(Monitor *m, Client *c, int32_t dx,
int32_t dy);
static void dwindle_resize_client(Monitor *m, Client *c, int32_t dx,
int32_t dy);
static void dwindle_resize_client(Monitor *m, Client *c);
#include "data/static_keymap.h"
#include "dispatch/bind_declare.h"