Closed Bug 1584139 Opened 2 years ago Closed 2 years ago

Implement nsWindow::LockAspectRatio() on Linux for CSD windows when titlebar is disabled

Categories

(Core :: Widget: Gtk, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(2 files)

When aspect ratio is set (Bug 1583737) and Titlebar is disabled then in CSD mode - for instance for PIP window - the aspect ratio needs to be re-calculated.

Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d98bef0cf3af
[Linux/Gtk] Provide logging to nsWindow::Resize(), nsWindow::SetWindowDecoration(), nsWindow::SetDrawsInTitlebar(), r=jhorak
https://hg.mozilla.org/integration/autoland/rev/84c12d218770
[Linux/CSD] Add decoration size to nsWindow::LockAspectRatio() when CSD mode is used, r=jhorak

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.