mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
mediaMessage: Don't try to raise player while locked
We don't allow windows on the lock screen, so don't raise a player window while locked, as the result of the action would only become visible on unlock.
This commit is contained in:
parent
decec89163
commit
8de5416913
1 changed files with 3 additions and 0 deletions
|
|
@ -49,6 +49,9 @@ class MediaMessage extends MessageList.Message {
|
|||
}
|
||||
|
||||
vfunc_clicked() {
|
||||
if (Main.sessionMode.isLocked)
|
||||
return;
|
||||
|
||||
this._player.raise();
|
||||
Main.panel.closeCalendar();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue