Ferry Huberts
b16964910d
dix: do not use bit-wise operators on the boolean result of BitIsOn
...
Performing bit-wise operations on a boolean amounts to mixing types,
is confusing and basically incorrect; one should only perform
logical operations on booleans.
Performing such operations relies on the implementation detail
that a boolean is in fact an integer and that its value FALSE
is implemented as zero.
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-11-30 13:25:47 -08:00
..
.gitignore
atom.c
buildatoms
BuiltInAtoms
colormap.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
cursor.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
deprecated.c
devices.c
dix: fix typo in setting valuator modes ( #21548 )
2010-11-12 11:49:10 +10:00
dispatch.c
Comparison between pointer and integer in latest dix/dispatch.c
2010-10-13 10:20:06 -07:00
dispatch.h
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
dixfonts.c
dixfonts: Deobfuscate GC ops calls.
2010-09-13 15:55:17 -07:00
dixutils.c
dix: optimize CallCallbacks
2010-10-13 09:24:06 -07:00
enterleave.c
Use GetCurrentRootWindow or equivalent instead of spriteTrace[0].
2010-10-13 15:58:12 +10:00
enterleave.h
eventconvert.c
dix: when converting to XI 1.x events, use the first_valuator's device mode
2010-11-24 08:47:00 +10:00
events.c
Use GetCurrentRootWindow or equivalent instead of spriteTrace[0].
2010-10-13 15:58:12 +10:00
extension.c
Replace malloc/strlen/strcpy with strdup.
2010-08-27 19:05:48 -04:00
ffs.c
gc.c
Un-export CreateScratchGC now that nothing external uses it.
2010-09-13 15:58:08 -07:00
getevents.c
dix: do not use bit-wise operators on the boolean result of BitIsOn
2010-11-30 13:25:47 -08:00
globals.c
dix: delete logo hack screen saver
2010-11-11 23:20:35 +02:00
glyphcurs.c
grabs.c
Remove more superfluous if(p!=NULL) checks around free(p).
2010-11-11 08:29:54 +10:00
initatoms.c
inpututils.c
dix: remove valuator_mask_copy_valuators, not needed anymore.
2010-10-22 11:02:53 +10:00
main.c
dix: remove proc tables initialization
2010-09-28 16:46:46 +03:00
Makefile.am
dix: Fix make distcheck
2010-11-14 10:25:54 -08:00
pixmap.c
privates.c
Introduce per-object per-screen privates.
2010-09-18 11:17:18 +02:00
property.c
Fix property and selection devPrivate allocation.
2010-09-10 11:44:12 -07:00
protocol.txt
ptrveloc.c
Remove superfluous if(p!=NULL) checks around free(p); p=NULL;
2010-11-11 08:22:59 +10:00
region.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
registry.c
resource.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
selection.c
Fix property and selection devPrivate allocation.
2010-09-10 11:44:12 -07:00
swaprep.c
swapreq.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
tables.c
dix: remove proc tables initialization
2010-09-28 16:46:46 +03:00
window.c
dix: fix root window background behaviour for protocol calls
2010-11-11 23:25:06 +02:00
Xserver-dtrace.h.in
Xserver.d