[Xcb] obj-xcb questions

Thomas Coppi thisnukes4u at gmail.com
Wed Jun 7 19:41:38 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

	I have been working on the design of obj-xcb, my Summer of Code
project, and have run across a few questions/problems.  The first is
when generating code from the xml protocol descriptions in xcb-proto,
some requests, such as GrabServer, UngrabServer, GetInputFocus, etc. do
not have any field values.  This is a problem, because I am currently
grouping requests into objects by the first XID in a field, which seems
to be OK most of the time, but with these rules, these kinds of requests
would be orphans.  Maybe they should go into the Connection object?
	The second problem is that some other requests, such as GrabPointer,
GrabButton and TranslateCoordinates would, following the above rule, go
into ObjXCBWindow, but that probably isn't where they should be...
	
You can also see the list of "rules" I have jotted down at the two sites
below, I know they are hard to read and messy.  If you see anything else
I have missed, or have gotten something completely wrong, let me know!

Thank you.

http://svn.berlios.de/viewcvs/zde/trunk/obj-xcb/design/example.txt?view=markup
http://svn.berlios.de/viewcvs/zde/trunk/obj-xcb/design/notes?view=markup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEh45ilU6kaExSKKoRAlrLAKDIWI57Fz1N6iUmY2q+A/kAHXl9CACgq55e
D3P8ibj9bbuWkWpoSiigwdo=
=jCnz
-----END PGP SIGNATURE-----


More information about the Xcb mailing list