mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: implement BrowserWindow.moveTop on X11 (#16629)
It was implemented on Mac and Win but not on X11. Tested on Ubuntu 16.04 and 18.04. Also added a unit test in spec/api-browser-window-spec.js. This test BrowserWindow.moveTop verifies that calling moveTop on a window does not give the focus to this window. notes: BrowserWindow.moveTop is now available on Linux/x11 https://github.com/electron/electron/issues/12516
This commit is contained in:
committed by
Shelley Vohr
parent
db11b9b13b
commit
27bd47a333
@@ -1089,7 +1089,7 @@ can not be focused on.
|
||||
|
||||
Returns `Boolean` - Whether the window is always on top of other windows.
|
||||
|
||||
#### `win.moveTop()` _macOS_ _Windows_
|
||||
#### `win.moveTop()`
|
||||
|
||||
Moves window to top(z-order) regardless of focus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user