apercu: Make preview size a configuration option
commit5da2fcb7e342a13cb0de16fc796569aa71054825
authorCarlos R. Mafra <crmafra@gmail.com>
Wed, 20 Aug 2014 14:54:24 +0000 (20 15:54 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 20 Aug 2014 17:11:37 +0000 (20 18:11 +0100)
tree051cbf1ef1e2d90e5dd7af962baaafa003f180e8
parentc6c7652e240f3bc49fb23939bc49eb042aff85ad
apercu: Make preview size a configuration option

Since the resolution of the Retina display tends to make everything small,
the default apercu preview size (twice the icon size) couldn't be used to
distinguish the window contents without tiring too much my eyes.

Therefore, let's make the apercu size a configurable option. You can set
it through the ApercuSize variable with

$ wdwrite WindowMaker ApercuSize 4

in multiples of the icon size (in this case the apercu size will be four
times the icon size).

The default size remains 2 (twice the icon size).
src/WindowMaker.h
src/balloon.c
src/defaults.c
src/icon.c