mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Handle MetaDisplay::show-osd signal
Propagate as-is to the OsdWindowManager. https://bugzilla.gnome.org/show_bug.cgi?id=771098
This commit is contained in:
parent
aefd61c3db
commit
c3cdbd0dac
1 changed files with 4 additions and 0 deletions
|
|
@ -920,6 +920,10 @@ const WindowManager = new Lang.Class({
|
|||
|
||||
global.display.connect('show-resize-popup', Lang.bind(this, this._showResizePopup));
|
||||
global.display.connect('show-pad-osd', Lang.bind(this, this._showPadOsd));
|
||||
global.display.connect('show-osd', Lang.bind(this, function (display, monitorIndex, iconName, label) {
|
||||
let icon = Gio.Icon.new_for_string(iconName);
|
||||
Main.osdWindowManager.show(monitorIndex, icon, label, null);
|
||||
}));
|
||||
|
||||
Main.overview.connect('showing', Lang.bind(this, function() {
|
||||
for (let i = 0; i < this._dimmedWindows.length; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue