mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 717512 - Use focusedWindow instead of activeWindow when requesting focus for needs-focus tests. r=ehsan
This commit is contained in:
parent
a9cd912141
commit
20e510e802
@ -985,7 +985,7 @@ function Focus()
|
||||
}
|
||||
|
||||
var fm = CC["@mozilla.org/focus-manager;1"].getService(CI.nsIFocusManager);
|
||||
fm.activeWindow = gContainingWindow;
|
||||
fm.focusedWindow = gContainingWindow;
|
||||
try {
|
||||
var dock = CC["@mozilla.org/widget/macdocksupport;1"].getService(CI.nsIMacDockSupport);
|
||||
dock.activateApplication(true);
|
||||
|
Loading…
Reference in New Issue
Block a user