Skip to content

Commit f15d635

Browse files
Change lock screen method to use screensaverController (#13708)
Fixes #13707
1 parent 25c4c34 commit f15d635

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2501,7 +2501,7 @@ class CinnamonMenuApplet extends Applet.TextIconApplet {
25012501

25022502
button.activate = () => {
25032503
this.menu.close();
2504-
Main.lockScreen(true);
2504+
Main.screensaverController.lockScreen(true);
25052505
};
25062506

25072507
this.systemBox.add(button.actor, { y_align: St.Align.MIDDLE, y_fill: false });

0 commit comments

Comments
 (0)