-
Notifications
You must be signed in to change notification settings - Fork 16.2k
feat: implement BrowserWindow.moveTop on X11 #16629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a1cabf5
to
9e643f1
Compare
Just uploaded a new version as I realized that moveTop should not give focus ("move window to top position without focus") |
The spec for _NET_RESTACK_WINDOW: https://specifications.freedesktop.org/wm-spec/1.3/ar01s04.html#idm140238712356784 |
@CapOM would you mind rebasing this on latest master? It might also be a candidate for the |
9e643f1
to
98d6ef3
Compare
Hi, thx for approving the merge, what are the remaining errors ? Thx |
@CapOM running |
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 electron#12516
98d6ef3
to
9dd9751
Compare
@zcbenz @deepak1556 Hi I ran npm run lint and added a unit test |
thanks @CapOM! i'll merge as soon as we go green! |
The failing test seems unrelated to my patch and I can see the new unit test succeeding in Linux, Mac and Win bots. What to do next ? Thx |
Failing on MAS:
This is unrelated to the changes. |
Release Notes Persisted
|
It was implemented on Mac and Win but not on X11.
Tested on Ubuntu 16.04 and 18.04.
Resolves #12516.
notes: Implemented
BrowserWindow.moveTop()
on Linux/x11