Originally posted by DoMiNeLa10
View Post
This weekend I'm starting on cutting out the parts of Sway that are not dwm-like (or just copying ldwm into the wlroots demo compositor, and massaging them together). I don't think the end result file will actually be that much larger than ldwm, and the upshot is that I won't need any guesswork to time the input and presentation events properly. In upstream dwm, window dragging is artificially limited to 60Hz with an unsynchronized timer, and on my 144Hz and 165Hz systems I have to edit the main C file in order to change that frequency; and unless I set the interval to at least twice the refresh rate of my monitor, I can notice the jitter inherent in using an unsynchronized timer for this. On Wayland, I can take in as many events as I want on that drag, and actually respond to them at presentation time (which minimizes latency, eliminates jitter, and reduces overall work done).
When I'm done, I think I'll probably have a hard time telling the difference between my X ldwm, and the wlroots-based one (aside from the aforementioned improvements).
Originally posted by DoMiNeLa10
View Post
Originally posted by DoMiNeLa10
View Post
On the topic of XWayland reliance, I understand the frustration, but these things take time.
As of now, Wayland compositors have been the best-behaved X compositors I've ever seen, for whatever that's worth.
Comment