Add KWorkSpace::isShuttingDown()

Review Request #122339 - Created Jan. 31, 2015 and submitted

Information
Kai Uwe Broulik
plasma-workspace
master
189456
Reviewers
plasma
graesslin

Since KSMServer does the session teardown, we can't just rely on Logind's PreparingForShutdown property.

This patch will allow for instance PowerDevil to not suspend the session when it's currently shutting down, otherwise you'll have your system suspend and continue shutting down after resuming.

Works, adjusted PowerDevil and the system did not suspend during shutdown.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Martin Flöser
Martin Flöser
Kai Uwe Broulik
Martin Flöser
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Loading...