Age | Commit message (Collapse) | Author |
|
twm defines several "junk" variables to use with functions like
XQueryPointer or XGetGeometry. In some instances, the returned
values are actually used, which makes the code confusing and hard
to reason about. Use dedicated variables in those cases.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
twm defines several "junk" variables to use with functions like
XQueryPointer or XGetGeometry. In some instances, the returned
values are actually used, which makes the code confusing and hard
to reason about. Use dedicated variables in those cases.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Preparation for the removal of FirstScreen: Separate code that is
executed for all screens from code that is executed for only the
first screen.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Support for xprint was removed in commit 0ce52bc9ed.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
This silences all "function might be candidate for attribute 'noreturn'"
warnings. Add to HandleEvent as well, as that function never returns.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
This silences all "function '...' might be a candidate for 'gnu_printf'
format attribute" warnings.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
yylex is already declared in (the generated) lex.c. This silences
a "redundant redeclaration of 'yylex'" warning.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
yyparse is already declared in (the generated) gram.h. This silences
a "redundant redeclaration of 'yyparse'" warning.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
yylineno is already declared in (the generated) gram.h. This silences
a "redundant redeclaration of 'yylineno'" warning.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Silence some "initialization discards 'const' qualifier from pointer
target type" warnings.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
The variable `n` is written to every iteration of the loop, but never
read. It is overwritten (and read) in the next loop though. Remove the
dead store.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
xprint is deprecated and was removed from xorg in 2008.
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Names that begin with an underscore ('_') are reserved. Follow the usual
practice of naming the include guard of file "foo.h" "FOO_H", as is already
done in "icons.h".
Signed-off-by: Tim Wiederhake <twied@gmx.net>
|
|
Raises minimum autoconf version from 2.60 to 2.64 for m4_version_prereq
Clears autoconf warning:
configure.ac:47: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from...
configure.ac:47: the top level
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Oracle no longer includes this term in our copyright & license notices.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
adapt the suggestion to use XFetchName to work around a system whose locale
support is broken, but rather than break existing configurations, use that
call as a fallback when the existing/working calls fail.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
useful; a subsequent X11R6 change made the behavior a little worse.
This change repairs that old damage.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
does not handle those files).
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
since -q option can be used to silence those if wanted
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
name as a prefix
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
also bump version to 1.0.11.1, reflecting ongoing work since release
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
|
|
|
|
and document (except for the print-extension) all of the options
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|
|
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
|