Closed Bug 750961 Opened 12 years ago Closed 12 years ago

Avoid GDK_POINTER_MOTION_HINT_MASK / gdk_event_request_motions

Categories

(Core :: Widget: Gtk, defect)

Other Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: karlt, Assigned: karlt)

Details

Attachments

(1 file)

Since GDK client side windows (GDK 2.18), GDK_POINTER_MOTION_HINT_MASK is not
implemented with X11 PointerMotionHintMask, but gdk_event_request_motions
still does a gdk_device_get_state which queries the server for state, which is
a round trip.

This code was added in bug 459780, but is not used on Mozilla builds because
of old GTK versions there.

It would make sense to disable this for desktop builds against newer GTK also, so that distributions get the same mouse behaviour.
This leaves the motion hints on Maemo, as X11 MotionNotify compression doesn't yet properly handle extension events (bug 459780).
Does anyone still build the GTK port for Maemo?
Assignee: nobody → karlt
Status: NEW → ASSIGNED
Attachment #620148 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/4ead1d72d499
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: