Wlroots: Delegate logind support to seatd

Created on 22 Feb 2021  路  11Comments  路  Source: swaywm/wlroots

Drop our logind code, rely on seatd instead.

cc @kennylevinsen

proposal session

Most helpful comment

All 11 comments

I'm not sure this is a good idea, given that seatd calls itself "alpha" right now.

Can we hold off on this until it matures more?

@kennylevinsen Do you consider it stable to rely on?

I'm not too worried about the libseat code.

Why not?

It's pretty similar to wlroots' code, and has been around for a while.

I guess the next step would be to make libseat a required dependency for wlroots, and nuke our direct session (and perhaps our session interface).

and nuke our direct session

why? I think it is useful, for simplicity's sake.

Because it's code which I'd rather share with other compositors than maintain, just like e.g. libinput. It's pretty trivial to drop seatd into subprojects/ and make Meson build it as a subproject anyways.

libseat is now required and replaces all of our session code.

If you were using the direct backend and libseat is not yet packaged for your distribution, the replacement is now:

  • Drop seatd into subprojects/seatd
  • Run Meson with -Dseatd:builtin=enabled

And things should work just like before.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maletor picture maletor  路  4Comments

fwSmit picture fwSmit  路  4Comments

ddevault picture ddevault  路  5Comments

emersion picture emersion  路  5Comments

ddevault picture ddevault  路  5Comments