xinput: event Enter: fix type of fields same_screen and focus
[free-sw/xcb/proto] / HACKING
1 Make patches more descriptive
2 =============================
3
4 By default hunk headers of a patch will look like this:
5
6     @@ -1227,6 +1227,8 @@ authorization from the authors.
7
8 Which is not very usefull as it doesn't give a hint where the change
9 happened (except for the line number). To make those hunk headers more
10 descriptive, i.e.:
11
12     @@ -1227,6 +1227,8 @@ <struct name="HierarchyChange">
13
14 Add these 2 lines to your .git/config file:
15
16     [diff "xcb"]
17         xfuncname = "(<\\b(xcb|enum|event|request|struct|union)\\b.*>)"
18
19 For more background on this magic have a look at src/.gitattributes and
20 the man page gitattributes(5) chapter "Defining a custom hunk-header".