Age | Commit message (Collapse) | Author |
|
v2: Since strncasecmp is in Unix98, assume it is always available,
and drop fallback code for systems without it.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
xev.c:909:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen (s);
~~~ ^~~~~~~~~~
xev.c:917:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (strncmp (s, "notuseful", len) == 0) return (NotUseful);
~~~~~~~ ^~~
xev.c:918:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (strncmp (s, "whenmapped", len) == 0) return (WhenMapped);
~~~~~~~ ^~~
xev.c:919:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (strncmp (s, "always", len) == 0) return (Always);
~~~~~~~ ^~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
It's annoying to have to sift through a lot of unrelated events if all you care
about is one specific class of events (e.g. RandR events). Add a -event
parameter that can be used to tune which events to select. When not specified,
all events are selected.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
Fixes gcc warning:
xev.c: In function `main':
xev.c:1129: warning: declaration of 'mask' shadows a previous local
xev.c:923: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Replaced if (.*) \(XFree (.*);\) with \1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Michael Thayer <michael.thayer@oracle.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
|
|
Signed-off-by: Kim Woelders <kim@woelders.dk>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
When redirecting the output of xev (eg, xev > foo), the output file is
truncated on exit due to libc buffering, since xev's exit(0) is
unreachable code. Reported by Bill Currie.
Debian bug#238638 <http://bugs.debian.org/238638>
|
|
From bug 319ยน:
Make xev exit on WM_DELETE_WINDOW.
1] https://bugs.freedesktop.org/show_bug.cgi?id=319
Signed-off-by: James Cloos <cloos@jhcloos.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
new license. If we want to, later we can import 4.4RC3 again and pick
up the files that have the new license, but for now the vendor branch
is "pure."
|
|
|
|
|