Uli Schlachter
e2ee5aabe9
Improve tutorial example
...
This tutorial example only handles XCB_EXPOSURE and XCB_KEY_RELEASE
events and ignores everything else. Thus, there is no point in asking
for more kinds of events.
A while ago, I ported this tutorial to x11rb [1]. Recently, I received a
pull request [2] removing these unnecessary event masks. This commit is
thus only partially by me and the 'issue' was originally found by the
author of [2].
[1]: https://github.com/psychon/x11rb/blob/master/x11rb/examples/tutorial.rs
[2]: https://github.com/psychon/x11rb/pull/754
Signed-off-by: Uli Schlachter <psychon@znc.in>
2022-09-28 22:39:32 +00:00
Alan Coopersmith
49a61c8b45
Fix typos & awkward wording in tutorial
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-07-11 20:41:15 -07:00
Eamon Walsh
dd1a4dbe20
Tutorial uses wrong function.
...
https://bugs.freedesktop.org/show_bug.cgi?id=29392
Signed-off-by: Eamon Walsh <efw@eamonwalsh.com>
2010-08-05 00:50:22 -04:00
Jim Ingram
1e746fd89a
Tutorial code fix
...
Accessed elements of names[] after freeing them in the first example.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-08 09:41:26 +01:00
Eric Anholt
a27c77ccae
Fix typo in the tutorial.
2009-10-15 13:49:47 -07:00
TORRI Vincent
0925e470b2
remove the 7th bit of the response_type for the event loops
2007-04-12 15:46:05 +02:00
TORRI Vincent
bca41cdcdb
and make the html code valid...
2007-02-07 20:08:27 +01:00
TORRI Vincent
acefe83bea
font part
2007-02-07 20:04:10 +01:00
TORRI Vincent
8a8c1fa184
no more xid or id fields
2007-02-07 18:57:46 +01:00
TORRI Vincent
6cedaece0e
add the complete cursor example. Make the html code valid
2007-02-06 09:31:54 +01:00
TORRI Vincent
342e9cefcc
fix all the occurence where a drawable where considered as a union
2007-01-13 11:20:55 +01:00
TORRI Vincent
818811a7ac
replace all the _new functions with xcb_generate_id. repalce X11/XCB with xcb. Fix a description of the default background of a window
2006-11-24 12:33:15 +01:00
TORRI Vincent
e7f473afbd
fix some indentation, remove args of the main function (not needed), xcb_sync -> xcb_aux_sync. Jamey, it seems that your script transforms XCBGetSetup into a type, instead of a function. Same for XCBSetupVendor. Maybe there are other fuctions that have the same problem.
2006-09-30 13:06:58 +02:00
TORRI Vincent
408e745386
update tutorial to the new api. Add some doc about cursors. Add some colors to section 6 (Opening and closing the connection to an X server). Tell me if you want to keep colors or not (colors can be modified in xcb.css)
2006-09-30 12:45:12 +02:00
Thomas Hunger
f6d4fc007f
Tutorial corrections.
2006-08-14 06:59:46 -07:00
TORRI Vincent
14faffc326
fix closing <b> tag
2006-07-25 08:24:59 +02:00
Josh Triplett
08f5cc3892
Fix tutorial to use XCBSetup rather than the previous deprecated name XCBConnSetupSuccessRep.
2006-04-27 16:24:35 -07:00
Josh Triplett
34016bcdab
Remove execute bit on tutorial.
2006-04-27 16:15:50 -07:00
Ian Osgood
922cb6137a
Work on the tutorial, and update xproto.xml to match:
...
* Fixed grammar
* Answered some TODO's and added some more
* Updated X.h constants to those in xproto.h
* Added enumerations used in tutorial to xproto.xml
* Prefered XCBFlush to XCBSync
* Corrected and refactored the "events" example
I extracted the examples to test them. Where should I put them?
2006-03-22 17:57:57 -08:00
TORRI Vincent
2ad5450ff3
wrong spaces
2006-03-05 09:49:02 +01:00
TORRI Vincent
81ea81c6d9
fix some font sizes
2006-03-05 09:41:11 +01:00
TORRI Vincent
66364da372
fixes + valid css
2006-03-05 09:40:15 +01:00
TORRI Vincent
01656220ef
fixes + valid css
2006-03-05 09:22:03 +01:00
TORRI Vincent
6659c8c63b
lots of fixes. Thanks to Indan Zupancic
2006-03-05 09:05:21 +01:00
TORRI Vincent
6e4745bbd0
lots of fixes. Thanks to Indan Zupancic
2006-03-05 07:54:20 +01:00
Josh Triplett
47ceed7861
Remove xcl and CVSROOT.
2006-02-18 16:49:41 -08:00