Emilio Cobos Álvarez
4eaad99f2b
Bug 581863 - Fix nsWindow coordinates to make sense. r=stransky,win-reviewers,rkraesig,devtools-reviewers,ochameau
...
I stumbled upon this bug while realizing that some of the math I'm doing
for PiP windows doesn't work at all on Linux (bug 1934760), because
screenX != mozInnerScreenX, even though outerWidth == innerWidth.
I've tested this on X11 and Wayland (plasma and Gnome) with CSD and SSD,
and in general, this is the same thing Windows does, so should be fine.
The basic idea is:
* Keep mBounds being frame manager bounds (so, outer* and screen*),
relative to mShell.
* Keep mClientMargin to translate from mBounds to client bounds.
This is both simpler and makes the math consistent.
Differential Revision: https://phabricator.services.mozilla.com/D230981
2025-02-03 17:08:44 +00:00
..
2025-01-30 20:44:07 +00:00
2024-09-23 22:35:40 +00:00
2024-07-29 11:52:33 +00:00
2024-11-25 22:58:47 +00:00
2024-11-25 22:58:47 +00:00
2025-01-15 00:56:03 +00:00
2024-11-21 19:55:31 +00:00
2024-09-03 04:25:41 +00:00
2024-11-07 16:33:42 +00:00
2024-11-07 16:33:42 +00:00
2024-09-17 18:25:45 +00:00
2024-12-18 06:20:32 +00:00
2024-11-17 05:03:58 +00:00
2024-11-21 19:55:31 +00:00
2024-09-03 04:25:41 +00:00
2024-11-21 19:55:31 +00:00
2025-01-21 15:11:25 +00:00
2024-11-07 16:33:42 +00:00
2025-01-20 19:30:52 +00:00
2025-01-20 19:30:52 +00:00
2024-07-23 06:29:48 +00:00
2024-07-23 06:29:48 +00:00
2024-12-06 13:22:11 +00:00
2024-12-06 13:22:11 +00:00
2025-01-09 22:16:35 +00:00
2024-11-17 05:03:58 +00:00
2025-02-03 17:08:44 +00:00
2024-12-04 13:32:19 +00:00
2024-11-17 05:03:58 +00:00
2024-11-24 14:46:16 +00:00
2024-09-03 04:25:42 +00:00
2025-01-22 21:23:07 +00:00
2024-12-12 20:16:04 +00:00
2024-11-25 22:58:47 +00:00
2024-11-25 22:58:47 +00:00
2024-11-17 05:03:58 +00:00
2024-11-17 05:03:58 +00:00
2024-06-19 21:48:29 +00:00
2025-01-24 02:53:07 +00:00
2025-01-24 02:53:07 +00:00
2024-12-06 13:22:11 +00:00
2024-11-07 17:48:55 +00:00
2025-02-01 01:03:38 +00:00
2025-02-01 01:03:38 +00:00
2024-12-06 13:22:11 +00:00
2024-09-03 04:25:41 +00:00
2025-01-21 15:11:25 +00:00
2024-11-25 22:58:47 +00:00
2024-07-19 08:13:10 +00:00
2024-11-17 14:39:22 +00:00
2025-01-14 14:57:57 +00:00
2025-01-14 14:57:57 +00:00
2025-01-15 20:39:40 +00:00
2024-11-25 22:58:47 +00:00
2024-11-24 14:46:16 +00:00
2024-11-17 05:03:58 +00:00
2024-09-03 04:25:41 +00:00
2024-09-03 04:25:41 +00:00
2024-11-25 22:58:47 +00:00
2024-11-25 22:58:47 +00:00
2025-01-21 15:11:25 +00:00
2024-12-11 18:10:42 +00:00
2024-11-17 05:03:58 +00:00
2024-12-06 13:22:11 +00:00
2024-07-09 18:49:32 +00:00
Bug 1922838 - Replace ArrayLength, ArrayEnd and MOZ_ARRAY_LENGTH by standard alternative r=glandium,necko-reviewers,jgilbert,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,bytesized,janv,dimi,daisuke,karlt,gstoll,canaltinova,timhuang
2024-10-28 08:21:19 +00:00
2024-11-20 16:37:50 +00:00
2024-09-03 04:25:42 +00:00
2024-07-18 11:51:13 +00:00
2024-11-24 14:46:16 +00:00
2024-09-03 04:25:42 +00:00
2024-08-01 17:47:06 +00:00
2024-09-11 18:01:40 +00:00
2024-09-03 04:25:42 +00:00
2024-08-01 17:47:06 +00:00
2024-10-23 11:38:48 +00:00
2024-10-23 11:38:48 +00:00
2025-01-07 17:20:31 +00:00
2025-01-07 17:20:31 +00:00
2025-01-31 08:32:06 +00:00
2024-11-24 14:46:16 +00:00
2025-01-02 10:17:53 +00:00
2025-01-02 10:17:53 +00:00
2024-11-17 05:03:58 +00:00
2024-12-17 10:59:06 +00:00
2024-12-06 13:22:11 +00:00
2024-09-03 04:25:41 +00:00
2025-01-24 15:46:09 +00:00
2025-01-24 15:46:09 +00:00
2025-01-15 19:42:07 +00:00
2024-07-23 06:29:48 +00:00
2024-11-15 22:07:43 +00:00
2024-11-17 05:03:58 +00:00
2024-11-05 18:52:41 +00:00
2024-11-05 18:52:41 +00:00
2024-10-30 00:42:28 +00:00
2024-10-30 00:42:28 +00:00
2025-01-16 01:59:19 +00:00
2024-10-18 19:23:45 +00:00
2024-11-15 22:07:42 +00:00
2024-11-15 22:07:42 +00:00
2024-11-15 22:07:42 +00:00
2024-12-16 01:44:45 +00:00
2024-09-10 21:27:44 +00:00
2025-01-23 22:27:23 +00:00
2024-11-07 14:31:58 +02:00
2025-01-21 15:11:25 +00:00
2024-10-16 04:46:20 +00:00
2024-12-06 13:22:11 +00:00
2024-09-03 04:25:41 +00:00
2024-09-03 04:25:41 +00:00
2025-01-21 15:11:25 +00:00