Project

General

Profile

Actions

Bug #871

closed

gtk2 related: X mouse pointer jumps and sticks to top left corner

Added by floid almost 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I mentioned this at the end of [issue818]. After largely fruitless research,
the subject line here is formulated to contain as many keywords as possible.

I believe I've found the culprit, but I haven't quite found the fix.

The bug:
Running certain clients under Xorg will, after a brief period of mouse activity,
'stick' the cursor to the top left of the screen; click events still work,
movement does not. "Certain clients" are Metacity, Firefox, and gtk-demo,
suggesting gtk2 is the common cause.

Other clients, such as twm, xmms, and xterm, are fine. gdm is also fine, go figure.

Assumed steps to reproduce:
Build pkgsrc-2007Q3's x11/gtk2 and its dependencies from scratch. Build
pkgsrc/wm/metacity (or just use gtk-demo). startx, exit your wm if necessary,
attempt to use any of the culprit programs.

All packages in question are from pkgsrc-2007Q3, run on my 1.11.0-PREVIEW built
23-Nov-2007. The gtk2 in that tree is version 2.12.0.

Questions:

How should I force pkgsrc to build with -O at most?

Looks like Metacity, at least, eventually winds up ignoring the definition of
BSD_INSTALL_PROGRAM in mk.conf even after detecting it during configure. Is
there really no nice way to preserve debugging symbols other than 'overloading'
strip to do nothing? Is this a job for a varsym?

Actions

Also available in: Atom PDF