mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
introspect: Include 'id' in window variant
From the GetWindows method, id is included as the key, but for future uses, lets also include it as a value of the dictionary.
This commit is contained in:
parent
2520041da9
commit
4326a2d568
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ export class IntrospectService {
|
|||
let windowDict = {
|
||||
'app-id': GLib.Variant.new('s', app.get_id()),
|
||||
'client-type': GLib.Variant.new('u', window.get_client_type()),
|
||||
'id': GLib.Variant.new('t', windowId),
|
||||
'is-hidden': GLib.Variant.new('b', window.is_hidden()),
|
||||
'has-focus': GLib.Variant.new('b', window === focusWindow),
|
||||
'width': GLib.Variant.new('u', frameRect.width),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue