Open grulja opened 2 years ago
A good idea. You can see a similar use case in FLTK: https://github.com/fltk/fltk/blob/master/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
Does GTK3 support Wayland subsurfaces and wl_shm yet? IIRC those were a requirement for having it perform at its best, along with Vulkan support (SDL games).
Plus, if QGnomePlatform were to adopt libdecor, wouldn't it make sense to upstream it to QT instead? They could definitely use it.
Apparently libdecor now has gtk plugin so it might be worth at least giving it a shot and see if we can implement our decorations with it.
Link: https://gitlab.gnome.org/jadahl/libdecor