e3a6586...
by
Clement Lefebvre <email address hidden>
6.0.3
b94a37d...
by
Clement Lefebvre <email address hidden>
Revert "backup locker: Restore stack management when not activated."
This reverts commit 6b917facf2753552164e669892af929e54dc7834.
This commit led to a regression:
When no windows are visible (all minimized, or no windows at all),
the user would only see a black screen, not the locker.
To reproduce:
- Start the OS and log in
- Don't open any windows
- Close and reopen the lid to trigger a suspend/resume
- See a black screen instead of the locker on resume
backup locker: Restore stack management when not activated.
This is mainly a revert of commit 654e33993.
As of linuxmint/muffin@bf234250143d2b, muffin won't go nuts when
encountering a screen-sized override-redirect window, and
our stage and backup locker can behave properly again (like
pre-5.2).
8e82a71...
by
Clement Lefebvre <email address hidden>
We relied on the return value from Gtk.CssProvider.load_from_data
method to determine whether or not to apply the fallback theme.
The return value itself was deprecated, but still works in Gtk3.
Unfortunately a change was recently made in pygobject that overrides
this method, and since the return value is removed in Gtk4, it
was removed from this override, so is always interpreted as False.
Use try/except instead, as that method can still raise an error
upon failure.