Closed Bug 1911773 Opened 1 year ago Closed 1 year ago

Simplify nsWindow::SetWindowTranslucencyInner.

Categories

(Core :: Widget: Win32, task)

task

Tracking

()

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

We no longer have the parent/child window set-up for popups, so we can
just use mWnd.

Remove the HideWindowChrome() stuff. That landed once already in 1,
but was backed out along other stuff, due to it causing buttons to show
up on non-native notifications (which is the only top level that hits
this code-path).

Eventually, I want to handle this more like other platforms (via D209502
and D207303) but until those land, just explicitly set hidechrome="true"
on that window in order to be able to land this simplification
separately.

Bug 1454589 doesn't happen with this change, and there's no reason to
apply size mode in SetWindowTranslucencyInner, so remove that chunk of
code too.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/253ac2ff1e9e Simplify nsWindow::SetWindowTranslucencyInner. r=rkraesig,win-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: