phillbush / shod

mouse-based window manager that can tile windows inside floating containers
MIT License
175 stars 5 forks source link

Dragging windows feels low frame rate on 120Hz 2.8K display #33

Closed aspizu closed 1 year ago

aspizu commented 1 year ago

I have picom running

phillbush commented 1 year ago

By "dragging" you mean moving a window around or moving a detached title bar in a drag-and-drop motion?

aspizu commented 1 year ago

moving a window around

apprehensions commented 1 year ago

yep can reproduce lol. the default 'redraw' rate is 64.

BanchouBoo commented 1 year ago

You can make it smoother by using my PR above ~or by changing the MOVETIME and RESIZETIME macros in shod.h~ EDIT: PR merged, you can set it in config.c during compilation or in your Xresources file (see man page for details). At 120hz you'd want to use a value of 8 if you want it as smooth as possible.