diff options
| author | Malfurious <m@lfurio.us> | 2020-06-22 00:39:34 -0400 |
|---|---|---|
| committer | Matt Hunter <m@lfurio.us> | 2026-01-18 00:18:57 -0500 |
| commit | 85eb42a504b127c18aa9b29f960476f7bc0b2bec (patch) | |
| tree | b20a3b05d0b43549f9fdcede3b0bea5819453ecd /config.mk | |
| parent | 5a736865e7bdcbceec85ca4a562a20df62d47c41 (diff) | |
| download | dwm-85eb42a504b127c18aa9b29f960476f7bc0b2bec.tar.gz dwm-85eb42a504b127c18aa9b29f960476f7bc0b2bec.zip | |
This patch adds "window swallowing" to dwm as known from Plan 9's
windowing system rio.
Clients marked with isterminal in config.h swallow a window opened by
any child process, e.g. running xclock in a terminal. Closing the xclock
window restores the terminal window in the current position.
This patch helps users spawning a lot of graphical programs from their
command line by avoiding cluttering the screen with many unusable
terminals. Being deep down in a directory hierarchy just does not make
the use of dmenu feasible.
Dependencies
* libxcb
* Xlib-libxcb
* xcb-res
These dependencies are needed due to the use of the latest revision of
the X Resource Extension which is unsupported in vanilla Xlib.
Notes:
* The window swallowing functionality requires dwm to walk the process
tree, which is an inherently OS-specific task. Only Linux and FreeBSD
are supported at this time. Please contact one of the authors if you
would like to help expand the list of supported operating systems.
* Only terminals created by local processes can swallow windows, and
only windows created by local processes can be swallowed.
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ FREETYPEINC = /usr/include/freetype2 # includes and libs INCS = -I${X11INC} -I${FREETYPEINC} -LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender +LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender -lX11-xcb -lxcb -lxcb-res # flags CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} |
