Fogger JS API should expose window information to DOM

Bug #1023282 reported by Owais Lone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fogger
Fix Released
Low
Owais Lone

Bug Description

Currently there is no way for a user script to know if the window is focused or not. Fogger JS API should expose

    Fogger.getWindowActive()

and should also emit a JS event when focus on Window changes. This essentially means propagating the Gdk.Window.State changes to DOM.

Tags: js-api
Owais Lone (loneowais)
tags: added: js
tags: added: api
Revision history for this message
Owais Lone (loneowais) wrote :

Fixed.

Fogger emits 'foggerWindowStateChange' signal when window state changes.

'fogger.desktopWindow.active' reflects if a window is active or not

Changed in fogger:
status: Triaged → Fix Committed
Owais Lone (loneowais)
tags: added: js-api
removed: api js
Owais Lone (loneowais)
Changed in fogger:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.