wmaker: remove one level of pointers for the function SlideWindows
commit784f6794e5ee650883b9adc504881985cff9e2dc
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 May 2015 11:19:06 +0000 (8 13:19 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Fri, 8 May 2015 17:53:30 +0000 (8 18:53 +0100)
treef73c561cdeb0e99b2c4e4acc5bcc3fe732db28a2
parent8fa16bef00f7156a9ff19d512583db33f16ac769
wmaker: remove one level of pointers for the function SlideWindows

The function does not need to be passed a array of pointer to windows
because it does not change content of the pointers. It is more efficient to
directly use an array of windows as the parameter, and simpler also.

As 'SlideWindow' is also concerned, it can be simplified and turned into
an inlinable function so the compiler can optimise it.

Took opportunity to de-CamelCase the name of the functions to comply with
the project's coding style.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
src/actions.c
src/appicon.c
src/dock.c
src/misc.c
src/misc.h
src/wsmap.c