I’ve been a Linux user for some time now, and something has always stood out to me: the only X11 applications that update at more than 20hz during resizing are GTK and Qt.
I’m trying to get into programming my own X clients, but this issue is really bugging me. Here’s what I found about my program:
- When dragging the window to reposition it, my client receives
ConfigureNotify
events at my screen’s refresh rate. - When dragging the window to resize it, my client only gets
ConfigureNotify
events at ~20hz.
It’s not just me though; Pretty much every non GTK/Qt application (x11-apps, Enlightenment apps, WINE windows, OpenGL games) have this same limitation.
Are there any tricks you guys use to circumvent this issue, or have I improperly structured my event loop?