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

Joe "Floid" Kanowitz sinknull at crater.dragonflybsd.org
Sat Dec 1 19:27:51 PST 2007

New submission from Joe "Floid" Kanowitz <jkanowitz at snet.net>:

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.


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?

messages: 3882
nosy: floid
priority: bug
status: unread
title: gtk2 related: X mouse pointer jumps and sticks to top left corner
topic: pkgsrc

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list