nsScreenManagerGtk::ScreenForNativeWidget slower in multi-monitor case

NEW
Unassigned

Status

()

Core
Widget: Gtk
9 years ago
9 years ago

People

(Reporter: tnikkel, Unassigned)

Tracking

Trunk
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
The function nsScreenManagerGtk::ScreenForNativeWidget calls gdk_window_get_geometry and gdk_window_get_origin if there is more than one monitor. These calls can be expensive, for example they caused a Txul regression in bug 445765, so this impacts new window opening time. This bug is to make nsScreenManagerGtk::ScreenForNativeWidget as fast as the single monitor case when there is more than one monitor.
You need to log in before you can comment on or make changes to this bug.