3 ms·
>you either have to add GTK as a dependency to get the "correct looking" titlebars or spend useful development time writing shitty, non-native looking window de
by QUrprUd1nCeicw 4y ago
>you either have to add GTK as a dependency to get the "correct looking" titlebars or spend useful development time writing shitty, non-native looking window decorations just for GNOME users
That's a false dilemma. You don't have to do either of those. The alternate solution is mentioned in that issue: use libdecor. I'll also note, if you refuse to use any of the system's UI and you insist on implement everything yourself directly on libwayland then that's an entirely self-inflicted problem that you created. Libwayland is fairly low-level, it isn't a game development API. Besides window decorations, you'll have lots of other deficiencies and things you have to spend development time on. That's what you volunteered for, GNOME can't help you with that.
- Snetry 4y agoI mean, yeah, you don't need the whole GTK library for titlebars, but you still need to drag libdecor along to support a subgroup (Wayland users) of a subgroup (Gnome users). Its pretty annoying to add another moving piece to the machinery just to do that.
- QUrprUd1nCeicw 4y agoThat's the way it is with any optional X11 or Wayland extension. Either you implement the extension yourself, or you use a library to implement it for you. Typically the code to do this is put in a toolkit, but you decided to write your own toolkit so you get to deal with the annoyance. Nothing's changed in this regard. Actually, most optional things in Linux are like this and it's been this way since shared libraries were implemented. If you find the idea of this so off-putting, maybe you should be using a pre-made toolkit instead of writing your own?