instantMENU icon indicating copy to clipboard operation
instantMENU copied to clipboard

add support for arbitrary refresh rates in the select animation

Open SaphiraKai opened this issue 4 years ago • 1 comments

This is almost entirely copy-pasted from its sister PR for instantWM. It uses XRandR to detect the display's native refresh rate and render the selection animation accordingly.

SaphiraKai avatar Mar 30 '22 04:03 SaphiraKai

Ugh... Apparently usleep() is deprecated in favor of nanosleep(). I was about to go make a PR to migrate to it, but apparently nanosleep() takes a stupid timespec struct as an argument instead of just a number... Because obviously making things more complicated for no reason makes perfect sense

Do you think we could just hit the ignore button on that check issue?

SaphiraKai avatar Mar 30 '22 05:03 SaphiraKai