summaryrefslogtreecommitdiff
path: root/sdl2.c
AgeCommit message (Collapse)Author
2022-11-27Switch completely to SDL2 versionxengineering
The now legacy version of LimoX with GTK4 and libstrophe is now not part of the main branch anymore. There might be a legacy branch keeping this version at the time of reading. This cut of implemented functionality is motivated by these reasons: - Implementing XMPP is fun, educative and gives full control. - Low level graphics with SDL2 is portable, fast, educative an mature. - I do not have to use GLib and a crazy event loop anymore (run and hide)
2022-10-08Avoid memory access errors on cleanupxengineering
2022-10-08Fix SDL2 window creation on Waylandxengineering
See this post: https://github.com/libsdl-org/SDL/issues/6074 It seems like SDL2 does not show an empty window on Wayland systems if there is nothing drawn on this. Thus this commit adds an empty white pixel buffer.
2022-10-08Output used SDL2 video driverxengineering
2022-10-07Add SDL2 version (X11 only)xengineering
There seems to be a bug in SDL2. Window creation is successful under Wayland (window pointer not NULL) but there is no window visible. Tested with Sway and Weston. The same implementation works fine under Cinnamon with X11.