mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
This commit is contained in:
parent
02c59100a8
commit
a4b0f333ba
153 changed files with 173 additions and 4556 deletions
|
|
@ -241,8 +241,8 @@ LayoutDeviceIntRect nsView::CalcWidgetBounds(nsWindowType aType)
|
|||
LayoutDeviceIntRect newBounds =
|
||||
LayoutDeviceIntRect::FromUnknownRect(viewBounds.ToNearestPixels(p2a));
|
||||
|
||||
#if defined(XP_MACOSX) || (MOZ_WIDGET_GTK == 3)
|
||||
// cocoa and GTK round widget coordinates to the nearest global "display
|
||||
#if (MOZ_WIDGET_GTK == 3)
|
||||
// GTK 3 rounds widget coordinates to the nearest global "display
|
||||
// pixel" integer value. So we avoid fractional display pixel values by
|
||||
// rounding to the nearest value that won't yield a fractional display pixel.
|
||||
nsIWidget* widget = parentWidget ? parentWidget : mWindow.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue