-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Sorry for replying to my self, but it seems that there are some bigger
problems behind this bug I didn't notice.
First, there is this code in ghid_port_window_enter_cb():
if(ev->mode == GDK_CROSSING_UNGRAB && GDK_NOTIFY_NONLINEAR)
{
ghid_screen_update ();
}
Shouldn't this be "ev->detail == GDK_NOTIFY_NONLINEAR"?
Then there's a problem that enter and leave window events aren't always
matched. For example:
Moving mouse out and in the view port:
leave: mode: 0 detail: 0
enter: mode: 0 detail: 3
Opening a menu and closing it by clicking in the viewport:
leave: mode: 0 detail: 0
enter: mode: 2 detail: 3
Opening a menu and closing it by clicking on some entry in it:
leave: mode: 0 detail: 0
enter: mode: 0 detail: 3
enter: mode: 2 detail: 3
It looks like it's impossible to track cross operations with a stack.
Best regards
Tomaz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHwCnssAlAlRhL9q8RApU8AKDNcrzMMnnDESjzW3Ok2h4rsrOjWwCgt8v9
3YeaapLR+BNiIK9Jl0F81hs=
=dTKY
-----END PGP SIGNATURE-----
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev