Match the type of the array to the `format` argument (32).
Could change the format to 16, but the value is documented to be a `CARD32`, so may as well use 32 bit input.
Remove all uses of the .Cm macro that are immediately followed
by another macro, such as .Ns or .Aq.
[rk@rejii.com: tweak commit message; resolves 'man --warnings']
closes#138
One xcb module, one header file: <xcb/xcb.h> should to be
included directly, instead of relying on other modules dragging
it in; on the other hand, it's okay to include just the top
level <xcb/xcb_util.h> instead of the three separate sub-headers.
[rk@rejii.com: skip xcb_util.h since it breaks xcb-util < 0.3.8]
closes#142
PIE (position-independent executables) is a security feature
that has been made reasonably cheap by recent improvements in
GCC; as a result, more and more Linux distributions are pushing
for its adoption.
Unfortunately, PIE and PIC are not compatible, so we have to
manage the CFLAGS and LDFLAGS used to compile the library and
the executable indipendently.
According to GCC's documentation, -fpic can have compatibility
issues on some platforms. Use -fPIC instead, which generates
slightly bigger objects but is generally more likely to work.
Get rid of -DPIC, since the symbol is not used anywhere.
Using this flag will cause the linker to ignore any libraries
that have been listed on the command line but whose symbols are
not actually used.
Right now, it just gets rid of the unnecessary linking against
xcb-render (see https://bugs.debian.org/829709), but it might
catch missing dependencies in the future, and it will generally
keep the resulting binaries nice and tidy.
Ubuntu and Arch are both using --as-needed by default already,
and other distributions will probably switch at some point.
Use MAINT_CPPFLAGS only for stuff used directly by spectrwm, and
move all the stuff needed by dependencies to the newly-defined
BIN_CPPFLAGS and LIB_CPPFLAGS.
The libswmhack library uses dlopen() and friends, so it needs
to link against libdl; on the other hand, it doesn't use nearly
as many library as spectrwm itself, so linking against them is
pointless.
Split MAINT_LDLIBS into BIN_LDLIBS and LIB_LDLIBS, and use them
for spectrwm and libswmhack respectively.
Fix transient windows blocking focus to respective main windows.
Fix override_redirect window focus issue.
Fix window borders when applications set focus.
Add more details to debug overlay.
Fixes#42
Change X11 window borders to drawn frames.
Add support for _NET_REQUEST_FRAME_EXTENTS.
Disable java_workaround.
We no longer need to spoof the LG3D non-reparenting window manager.
A dummy option is still present to prevent a startup exception.
Remove the use of BORDER() since it is no longer needed.
Fix move_ on tiled.
Add new debug_toggle bind for SWM_DEBUG.
Fix managing of mapped 'withdrawn' windows.
Wait for all x11 events to finish processing on shutdown_cleanup.