Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Fix typos and list correct header name
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Clears clang warning:
transSet.c:43:8: warning: no previous extern declaration for non-static
variable 'target_win' [-Wmissing-variable-declarations]
Window target_win;
^
transSet.c:43:1: note: declare 'static' if the variable is not intended
to be used outside of this translation unit
Window target_win;
^
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>
|
|
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>
|
|
Part of https://bugs.freedesktop.org/show_bug.cgi?id=25542
dsimple.c:262:19: warning: comparison of integers of different signs: 'int' and
'unsigned int' [-Wsign-compare]
for (i = 0; i < nchildren; i++) {
~ ^ ~~~~~~~~~
dsimple.c:296:19: warning: comparison of integers of different signs: 'int' and
'unsigned int' [-Wsign-compare]
for (i = 0; i < nchildren; i++) {
~ ^ ~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
In Xlib versions prior to 1.6, if XGetWindowProperty returns a failure,
it didn't always set the property pointer to NULL, and could leave it
uninitialized.
Reported by Oracle Parfait 1.5.1:
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&data'
at line 298 of transSet.c in function 'main'.
&data allocated at line 154.
at line 299 of transSet.c in function 'main'.
&data allocated at line 154.
at line 300 of transSet.c in function 'main'.
&data allocated at line 154.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
|
|
See http://people.gnome.org/~walters/docs/build-api.txt
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>
|
|
Since atof generates doubles, and we use them to compare/limit the values
of the double "d", might as well keep them in the same format instead of
doing unnecessary conversions.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by clang:
transSet.c:303:30: warning: variable 'opacity' is uninitialized when used here
[-Wuninitialized]
(double) opacity / OPAQUE);
^~~~~~~
When running transset -v, it prints the current opacity of a window
before changing it, but was printing garbage - after this fix, correctly
prints the value set by the previous run.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Currently our 2012 release prints:
released: 2007-09-21
when you run transset --version
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>
|
|
|
|
|
|
declaration.
|
|
warnings.
|
|
|
|
|
|
|
|
|
|
|
|
Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
|
|
|
|
transSet.c includes <X11/Xatom.h>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
In the same way other xorg modules have been.
- minimum autoconf level is 2.60
- AC_CONFIG_HEADER (singular) is obsolete
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Starting at Autoconf 2.53, the use of LIBOBJS is an error.
http://www.gnu.org/software/autoconf/manual/autoconf.html#
AC_005fLIBOBJ-vs-LIBOBJS
There are no system functions to override in this module.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Do not hard coded man page section number.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Not required when Automake is initialized with "foreign" keyword.
It can be added with proper content anytime.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|