lxqt / lxqt-panel

The LXQt desktop panel
https://lxqt-project.org
GNU Lesser General Public License v2.1
178 stars 135 forks source link

Initial Window Manager backend plugin infrastructure #2075

Open gfgit opened 3 weeks ago

gfgit commented 3 weeks ago

Hello, This is a possible Window Manager backend managing code and plugin infrastructure.

We could put CMake code in a macro like it's done for panel plugins

marcusbritanicus commented 3 weeks ago

I'm copying this comment from #2043 so that it does not get lost.

We want to let user develop an independent plugin for an exotic WM and it will be selected in some way at runtime.

That sounds too ambitious to me, especially because Wayland WMs come and go and there's no guarantee that they're shell-compatible, but if you and @marcusbritanicus could execute this plan with a reasonable amount of code and without extra dependencies, who am I to disagree? ;)

I think Qt first checks QT_QPA_PLATFORM, then it checks XDG_SESSION_TYPE and something else. As far as I have seen, LXQt does not use env vars for most works.

We can use a mix of hard-coded values (majority) and plugin settings.

stefonarch commented 1 week ago

Afaik the comments are visible only to the author until "Finish your review" is clicked.

marcusbritanicus commented 1 week ago

I thought so. I had added a few comments, and yesterday I did the "Finish your review" only to notice later that my comments had gone missing. I perhaps did something wrong.