Go to file
Jeremy Huddleston 4c4df3ac0d input: Don't implicitly define verify_internal_event
Fixes regression introduced by 5690199802

mieq.c:159:5: error: implicit declaration of function 'verify_internal_event' is invalid in C99 [-Wimplicit-function-declaration,Semantic Issue]
    verify_internal_event(e);
    ^
1 error generated.

Also includes some other warning cleanups in events.c we're there.

events.c:2198:24: warning: equality comparison with extraneous parentheses [-Wparentheses,Semantic Issue]
        else if ((type == MotionNotify))
                  ~~~~~^~~~~~~~~~~~~~~
events.c:2198:24: note: remove extraneous parentheses around the comparison to silence this warning [Semantic Issue]
        else if ((type == MotionNotify))
                 ~     ^              ~
events.c:2198:24: note: use '=' to turn this equality comparison into an assignment [Semantic Issue]
        else if ((type == MotionNotify))
                       ^~
                       =
events.c:2487:5: error: implicit declaration of function 'verify_internal_event' is invalid in C99 [-Wimplicit-function-declaration,Semantic Issue]
    verify_internal_event(event);
    ^
events.c:5909:22: warning: declaration shadows a local variable [-Wshadow,Semantic Issue]
        DeviceIntPtr it = inputInfo.devices;
                     ^
events.c:5893:18: note: previous declaration is here
    DeviceIntPtr it = inputInfo.devices;
                 ^
3 warnings and 1 error generated.

events.c:2836:27: warning: incompatible pointer types passing 'DeviceEvent *' (aka 'struct _DeviceEvent *') to parameter of type
      'const InternalEvent *' (aka 'const union _InternalEvent *')
    verify_internal_event(ev);
                          ^~
../include/inpututils.h:40:56: note: passing argument to parameter 'ev' here
extern void verify_internal_event(const InternalEvent *ev);
                                                       ^
1 warning generated.

Found-by: yuffie tinderbox (-Werror=implicit)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-05-24 14:08:13 +10:00
composite composite: Recompute clipping when changing between manual and automatic redirection 2011-05-04 19:01:01 +03:00
config config: handle device change event properly 2011-03-24 09:51:09 +10:00
damageext damage: use DamageReportDamage for the initial borderClip damage report 2011-04-13 18:59:09 -07:00
dbe Clean up memory better when GetVisualInfo fails in ProcDbeGetVisualInfo 2011-05-02 20:38:16 -07:00
dix input: Don't implicitly define verify_internal_event 2011-05-24 14:08:13 +10:00
doc doc: use devbook.am for developers documentation 2011-05-14 11:22:29 -07:00
exa Add RegionInitBoxes(), and fix some buggy callers of RegionInit(). 2011-04-22 21:39:31 -04:00
fb Merge remote-tracking branch 'jeremyhu/master' 2011-04-27 12:01:56 -07:00
glx Merge remote-tracking branch 'jturney/remove-opengl-spec-download' 2011-04-29 09:59:49 -07:00
hw xfree86: bump to video ABI 11 2011-05-23 09:38:21 -07:00
include include: add version_compare helper function 2011-05-13 09:41:50 +10:00
m4 glx: Silence warnings when building with clang 2011-04-25 18:56:56 -07:00
man man: relocate manual pages in the man subdir outside doc 2011-05-13 14:08:17 -07:00
mi input: Don't implicitly define verify_internal_event 2011-05-24 14:08:13 +10:00
miext rootless: Fix a typo in RootlessGlyphs which resulted in a garbage value 2011-04-25 18:57:01 -07:00
os XQuartz: Make a copy of args for our crash reporter vsnprintf 2011-05-05 09:04:41 -07:00
randr include: add version_compare helper function 2011-05-13 09:41:50 +10:00
record Only free pContext once when AddResource fails in ProcRecordCreateContext 2011-05-02 20:38:03 -07:00
render Merge remote-tracking branch 'jeremyhu/master' 2011-04-27 12:01:56 -07:00
test include: add version_compare helper function 2011-05-13 09:41:50 +10:00
Xext input: replace EventListPtr with InternalEvent array 2011-05-11 14:27:36 +10:00
xfixes include: add version_compare helper function 2011-05-13 09:41:50 +10:00
Xi include: add version_compare helper function 2011-05-13 09:41:50 +10:00
xkb input: replace EventListPtr with InternalEvent array 2011-05-11 14:27:36 +10:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac doc: use devbook.am for developers documentation 2011-05-14 11:22:29 -07:00
COPYING Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
devbook.am doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
docbook.am doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am man: relocate manual pages in the man subdir outside doc 2011-05-13 14:08:17 -07:00
manpages.am Fix a typo: laucnd instead of launchd 2011-05-12 18:31:14 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08:00
xorg-server.pc.in config: declare xserver private dependencies in xorg-server.pc 2010-06-22 11:34:47 -07:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage