Open darkwater opened 1 month ago
Yeah I think it's good to have an initialize function with all the layer shell apis as parameters (in addition to individual methods to call while the program is running)
The default values for initialize can be to make the app fullscreen
I think it makes sense for the default to be no anchors, that will make the window float in the center (at least on Hyprland), which makes sense for eg. a program launcher
Excerpt from my main_application.cc:
We need to figure out how to let users configure these things:
I think it makes sense to have a sort of initialization method to confiugre these things, like:
Of course, it should also be possible to change these later, with separate methods. Or maybe the user should just call all relevant methods individually? I like the idea of having an init function that gives some guidance in the form of "you can set these things" but that would result in a bunch of duplication in the library/API.