compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #06497
[Bug 566856] [NEW] Invalid SDL_ACTIVEEVENT events generated on mouse clicks when compiz enabled
Public bug reported:
Binary package hint: compiz
Description: Ubuntu lucid (development branch)
Release: 10.04
compiz:
Installed: 1:0.8.4-0ubuntu15
Candidate: 1:0.8.4-0ubuntu15
Version table:
*** 1:0.8.4-0ubuntu15 0
500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
System->Preference->Appearance, "Visual Effects" tab. Selected "Normal"
option. When using OpenGL graphics, invalid SDL_ACTIVEEVENT events are
generated each time a mouse button is clicked within the OpenGL
application window. This causes the application to think it has lost
mouse focus; which is causing an issue with a game I help on (Eternal
Lands). The expected behaviour is that no SDL_ACTIVEEVENT events are
generated for mouse button clicks. This is indeed the behaviour when
the "Visual Effects" tab has "None" selected.
I have hacked together a simple demonstration program based on an
example I found on the web (link on the source). This demonstration
program gives the following output:
"Visual Effects" tab "None":
SDL_ACTIVEEVENT 1 0 1
SDL_ACTIVEEVENT 1 1 1
Mouse Press button: 1 x: 381 y: 302
Mouse Press button: 3 x: 381 y: 302
KeyPress Event: escape
"Visual Effects" tab "Normal":
SDL_ACTIVEEVENT 1 0 1
SDL_ACTIVEEVENT 1 1 1
SDL_ACTIVEEVENT 1 0 1
SDL_ACTIVEEVENT 1 1 1
Mouse Press button: 1 x: 323 y: 220
SDL_ACTIVEEVENT 1 0 1
SDL_ACTIVEEVENT 1 1 1
Mouse Press button: 3 x: 323 y: 220
KeyPress Event: escape
** Affects: compiz (Ubuntu)
Importance: Undecided
Status: New
--
Invalid SDL_ACTIVEEVENT events generated on mouse clicks when compiz enabled
https://bugs.launchpad.net/bugs/566856
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.
Follow ups
References