mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
The Xrender library does not need to be included by default, only include when alpha patch is enabled.
This commit is contained in:
parent
32030e4b2c
commit
9440e76936
@ -20,18 +20,21 @@ FREETYPEINC = /usr/include/freetype2
|
|||||||
# OpenBSD (uncomment)
|
# OpenBSD (uncomment)
|
||||||
#FREETYPEINC = ${X11INC}/freetype2
|
#FREETYPEINC = ${X11INC}/freetype2
|
||||||
|
|
||||||
|
# Uncomment this for the alpha patch / ALPHA_PATCH
|
||||||
|
#XRENDER = -lXrender
|
||||||
|
|
||||||
# Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH
|
# Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH
|
||||||
#LMPDCLIENT = -lmpdclient
|
#MPDCLIENT = -lmpdclient
|
||||||
|
|
||||||
# Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH
|
# Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH
|
||||||
#XEXTLIB = -lXext
|
#XEXTLIB = -lXext
|
||||||
|
|
||||||
# Uncomment this for the swallow patch / SWALLOW_PATCH
|
# Uncomment this for the swallow patch / SWALLOW_PATCH
|
||||||
#LXCBLIBS = -lX11-xcb -lxcb -lxcb-res
|
#XCBLIBS = -lX11-xcb -lxcb -lxcb-res
|
||||||
|
|
||||||
# includes and libs
|
# includes and libs
|
||||||
INCS = -I${X11INC} -I${FREETYPEINC}
|
INCS = -I${X11INC} -I${FREETYPEINC}
|
||||||
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender ${LMPDCLIENT} ${LXCBLIBS} ${XEXTLIB}
|
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS}
|
||||||
|
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
#define ACTIVETAGINDICATORBAR_PATCH 0
|
#define ACTIVETAGINDICATORBAR_PATCH 0
|
||||||
|
|
||||||
/* The alpha patch adds transparency for the status bar.
|
/* The alpha patch adds transparency for the status bar.
|
||||||
|
* You need to uncomment the corresponding line in config.mk to use the -lXrender library
|
||||||
|
* when including this patch.
|
||||||
* https://dwm.suckless.org/patches/alpha/
|
* https://dwm.suckless.org/patches/alpha/
|
||||||
*/
|
*/
|
||||||
#define ALPHA_PATCH 0
|
#define ALPHA_PATCH 0
|
||||||
@ -296,9 +298,8 @@
|
|||||||
#define MAXIMIZE_PATCH 0
|
#define MAXIMIZE_PATCH 0
|
||||||
|
|
||||||
/* Control Music Player Daemon via keybinds.
|
/* Control Music Player Daemon via keybinds.
|
||||||
* This patch depends on an additional library lmdpclient so if you want to enable this
|
* You need to uncomment the corresponding line in config.mk to use the -lmpdclient library
|
||||||
* then you will also have to append -lmpdclient to the LIBS configuration in config.mk.
|
* when including this patch.
|
||||||
* A placeholder has been added there for reference.
|
|
||||||
* This patch depends on the following additional library:
|
* This patch depends on the following additional library:
|
||||||
* - libmpdclient
|
* - libmpdclient
|
||||||
* https://dwm.suckless.org/patches/mpdcontrol/
|
* https://dwm.suckless.org/patches/mpdcontrol/
|
||||||
@ -383,7 +384,7 @@
|
|||||||
#define ROTATESTACK_PATCH 0
|
#define ROTATESTACK_PATCH 0
|
||||||
|
|
||||||
/* This patch adds rounded corners to client windows in dwm.
|
/* This patch adds rounded corners to client windows in dwm.
|
||||||
* You need to uncomment the corresponding line in config.mk to include the -lXext library
|
* You need to uncomment the corresponding line in config.mk to use the -lXext library
|
||||||
* when including this patch. You will also want to set "borderpx = 0;" in your config.h.
|
* when including this patch. You will also want to set "borderpx = 0;" in your config.h.
|
||||||
* https://github.com/mitchweaver/suckless/blob/master/dwm/patches_mitch/mitch-06-rounded_corners-db6093f6ec1bb884f7540f2512935b5254750b30.patch
|
* https://github.com/mitchweaver/suckless/blob/master/dwm/patches_mitch/mitch-06-rounded_corners-db6093f6ec1bb884f7540f2512935b5254750b30.patch
|
||||||
*/
|
*/
|
||||||
@ -476,6 +477,12 @@
|
|||||||
* Clients marked with isterminal in config.h swallow a window opened by any child process,
|
* 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
|
* e.g. running xclock in a terminal. Closing the xclock window restores the terminal window
|
||||||
* in the current position.
|
* in the current position.
|
||||||
|
* This patch depends on the following additional libraries:
|
||||||
|
* - libxcb
|
||||||
|
* - Xlib-libxcb
|
||||||
|
* - xcb-res
|
||||||
|
* You need to uncomment the corresponding line in config.mk to use the -lX11-xcb, -lxcb
|
||||||
|
* and -lxcb-res libraries when including this patch.
|
||||||
* https://dwm.suckless.org/patches/swallow/
|
* https://dwm.suckless.org/patches/swallow/
|
||||||
*/
|
*/
|
||||||
#define SWALLOW_PATCH 0
|
#define SWALLOW_PATCH 0
|
||||||
@ -483,10 +490,6 @@
|
|||||||
/* This patch depends on the pertag patch and makes it possible to switch focus with a single
|
/* This patch depends on the pertag patch and makes it possible to switch focus with a single
|
||||||
* shortcut (MOD+s) instead of having to think if you should use MOD+j or MOD+k for reaching
|
* shortcut (MOD+s) instead of having to think if you should use MOD+j or MOD+k for reaching
|
||||||
* the previously used window.
|
* the previously used window.
|
||||||
* This patch depends on the following additional libraries:
|
|
||||||
* - libxcb
|
|
||||||
* - Xlib-libxcb
|
|
||||||
* - xcb-res
|
|
||||||
* https://dwm.suckless.org/patches/swapfocus/
|
* https://dwm.suckless.org/patches/swapfocus/
|
||||||
*/
|
*/
|
||||||
#define SWAPFOCUS_PATCH 0
|
#define SWAPFOCUS_PATCH 0
|
||||||
|
Loading…
Reference in New Issue
Block a user