mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-15 22:05:20 -05:00
opt: change drag resize request limit to 120hz for floating window
This commit is contained in:
parent
bcee63fa76
commit
eb0607501d
3 changed files with 6 additions and 5 deletions
|
|
@ -4143,7 +4143,7 @@ void motionnotify(uint32_t time, struct wlr_input_device *device, double dx,
|
|||
if (grabc->isfloating) {
|
||||
grabc->iscustomsize = 1;
|
||||
if (last_apply_drap_time == 0 ||
|
||||
time - last_apply_drap_time > drag_refresh_interval) {
|
||||
time - last_apply_drap_time > drag_floating_refresh_interval) {
|
||||
resize_floating_window(grabc);
|
||||
last_apply_drap_time = time;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue