elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

Compositor: Implement inhibit interface #560

Open danirabbit opened 2 years ago

danirabbit commented 2 years ago

Problem

Needed to fix https://github.com/elementary/installer/issues/590

Proposal

Copy the ScreenShield class from Gala

Prior Art

https://github.com/elementary/gala/pull/809

davidmhewitt commented 2 years ago

I'll need to look into all of this again, but I don't think screen shield has anything to do with inhibiting sleep when GTK applications ask to inhibit.

I think that's handled by a gsd plugin or something. So this is more likely a session configuration thing.

danirabbit commented 2 years ago

Ah my bad for some reason I thought the inhibit interface was part of the compositor. In that case I suppose we should move this to installer?