diff options
| author | stkhan <personal@slickd.xyz> | 2021-10-17 18:43:19 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-10-17 18:43:19 -0500 |
| commit | 3b852e0f10892789210fd8e3fdd8415faf3cf2d8 (patch) | |
| tree | 9ff20de62f5e354926a5aed15b3f99c0dbd5cd63 /dmenu-5.0/patches/dmenu-border-4.9.diff | |
| parent | cc844e1931ba6f4c417ea8682f5cfa72ef5e4fec (diff) | |
3.0
Diffstat (limited to 'dmenu-5.0/patches/dmenu-border-4.9.diff')
| -rw-r--r-- | dmenu-5.0/patches/dmenu-border-4.9.diff | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/dmenu-5.0/patches/dmenu-border-4.9.diff b/dmenu-5.0/patches/dmenu-border-4.9.diff deleted file mode 100644 index 89b4437..0000000 --- a/dmenu-5.0/patches/dmenu-border-4.9.diff +++ /dev/null @@ -1,25 +0,0 @@ -diff -up dmenu-4.9-b/config.def.h dmenu-4.9-a/config.def.h ---- dmenu-4.9-b/config.def.h 2019-02-02 13:55:02.000000000 +0100 -+++ dmenu-4.9-a/config.def.h 2019-05-19 02:10:12.740040403 +0200 -@@ -21,3 +21,6 @@ static unsigned int lines = 0; - * for example: " /?\"&[]" - */ - static const char worddelimiters[] = " "; -+ -+/* Size of the window border */ -+static const unsigned int border_width = 5; -diff -up dmenu-4.9-b/dmenu.c dmenu-4.9-a/dmenu.c ---- dmenu-4.9-b/dmenu.c 2019-02-02 13:55:02.000000000 +0100 -+++ dmenu-4.9-a/dmenu.c 2019-05-19 02:11:20.966710117 +0200 -@@ -654,9 +654,10 @@ setup(void) - swa.override_redirect = True; - swa.background_pixel = scheme[SchemeNorm][ColBg].pixel; - swa.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask; -- win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0, -+ win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width, - CopyFromParent, CopyFromParent, CopyFromParent, - CWOverrideRedirect | CWBackPixel | CWEventMask, &swa); -+ XSetWindowBorder(dpy, win, scheme[SchemeSel][ColBg].pixel); - XSetClassHint(dpy, win, &ch); - - /* open input methods */ |