Commit 5ce3011
committed
csm-manager.c: Close the end-session dialog before trying to lock
the screen during suspend/hibernate.
The cinnamon session dialog holds a 'grab' when it's active. We
then attempt to lock the screen, and the screensaver tries to
get its own grab, repeatedly failing. Once it finally gives up
suspend/hibernate can proceed.
We already close the dialog before attempting to switch users,
but for some reason didn't follow the same pattern here.
Ref:
linuxmint/cinnamon#135521 parent 43587a7 commit 5ce3011
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
| 1235 | + | |
| 1236 | + | |
1235 | 1237 | | |
1236 | 1238 | | |
1237 | 1239 | | |
1238 | 1240 | | |
1239 | | - | |
1240 | | - | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
| |||
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
| 1249 | + | |
| 1250 | + | |
1249 | 1251 | | |
1250 | 1252 | | |
1251 | 1253 | | |
1252 | 1254 | | |
1253 | | - | |
1254 | | - | |
1255 | 1255 | | |
1256 | 1256 | | |
1257 | 1257 | | |
| |||
0 commit comments