3 ms·
The X11 example only has a basic event loop with a check if the if the key up event was repeated. Everything else is setting up the window and tearing it down o
by josefx 5y ago
The X11 example only has a basic event loop with a check if the if the key up event was repeated. Everything else is setting up the window and tearing it down on close. That should work in any window manager.
Most of the examples are either global listeners or outside of a window environment.