diff options
| author | Michael Forney <mforney@mforney.org> | 2019-07-05 20:06:48 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-07-06 01:24:36 -0700 |
| commit | 775f76f04ddfdf2f694c57951b97ed704232ad8b (patch) | |
| tree | aeb5de2954f20771b5f214e60df65d2beb2ecd5c /pkg/dmenu | |
| parent | 09942fbc06d5677921f2eb414d9eafdba6e0db94 (diff) | |
dmenu: Fix use of uninitialized variable in error case
Diffstat (limited to 'pkg/dmenu')
| -rw-r--r-- | pkg/dmenu/patch/0001-Port-to-wayland-using-wld-and-swc-panels.patch | 8 | ||||
| -rw-r--r-- | pkg/dmenu/ver | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/pkg/dmenu/patch/0001-Port-to-wayland-using-wld-and-swc-panels.patch b/pkg/dmenu/patch/0001-Port-to-wayland-using-wld-and-swc-panels.patch index 27bef7ef..a07538b9 100644 --- a/pkg/dmenu/patch/0001-Port-to-wayland-using-wld-and-swc-panels.patch +++ b/pkg/dmenu/patch/0001-Port-to-wayland-using-wld-and-swc-panels.patch @@ -1,4 +1,4 @@ -From 6a79779295462f8a828c7039ae00834f52179dec Mon Sep 17 00:00:00 2001 +From 6d06d5b4a14c7ece154404f4f1b2e4b5e29ec1fb Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Thu, 27 Oct 2016 21:04:23 -0700 Subject: [PATCH] Port to wayland using wld and swc panels @@ -888,7 +888,7 @@ index 6b8f51b..d1d60b2 100644 run(); diff --git a/drw.c b/drw.c -index 8fd1ca4..13cd06a 100644 +index 8fd1ca4..e4995a6 100644 --- a/drw.c +++ b/drw.c @@ -2,8 +2,9 @@ @@ -999,7 +999,7 @@ index 8fd1ca4..13cd06a 100644 - if(FcPatternGetBool(xfont->pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { - XftFontClose(drw->dpy, xfont); + if(FcPatternGetBool(pattern, FC_COLOR, 0, &iscol) == FcResultMatch && iscol) { -+ wld_font_close(font->wld); ++ wld_font_close(wld); return NULL; } @@ -1278,5 +1278,5 @@ index 4c67419..1f1967e 100644 -void drw_map(Drw *drw, Window win, int x, int y, unsigned int w, unsigned int h); +void drw_map(Drw *drw, struct wl_surface *surface, int x, int y, unsigned int w, unsigned int h); -- -2.21.0 +2.22.0 diff --git a/pkg/dmenu/ver b/pkg/dmenu/ver index 8667494a..dee6bbb0 100644 --- a/pkg/dmenu/ver +++ b/pkg/dmenu/ver @@ -1 +1 @@ -4.9 r1 +4.9 r2 |
