NOTE: this article has been moved to the RGFW wiki here:
https://github.com/ColleagueRiley/RGFW/wiki/RGFW-vs-GLFW
This should have more up-to-date information.
NOTE: this article has been moved to the RGFW wiki here:
https://github.com/ColleagueRiley/RGFW/wiki/RGFW-vs-GLFW
This should have more up-to-date information.
This example illustrates how you can use the X11 XSync extension (not to be confused with XSync()
) to achieve smooth interactive resizing on the majority of X environments, assuming your program can redraw fast enough.
DISCLAIMER: This example shows only the basic usage of XSync using a single counter, which is the bare minimum required to support smooth resizing.
_NET_WM_SYNC_REQUEST
to your window's WM_PROTOCOLS
.