mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
xwininfo: update to 1.1.5
This commit is contained in:
parent
76e26bf69d
commit
f47bbd2541
2 changed files with 3 additions and 35 deletions
|
@ -1,32 +0,0 @@
|
||||||
From 941ee65327f67348a43f2528a1648a968a85b9b7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: David Hill <dhill@mindcry.org>
|
|
||||||
Date: Wed, 11 Dec 2013 04:05:19 +0000
|
|
||||||
Subject: [PATCH] In Find_Client, if (win == XCB_WINDOW_NONE), roots should be
|
|
||||||
freed.
|
|
||||||
|
|
||||||
https://bugs.freedesktop.org/show_bug.cgi?id=72583
|
|
||||||
|
|
||||||
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
||||||
---
|
|
||||||
clientwin.c | 4 +++-
|
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git clientwin.c clientwin.c
|
|
||||||
index 2b1de04..be38a0d 100644
|
|
||||||
--- clientwin.c
|
|
||||||
+++ clientwin.c
|
|
||||||
@@ -219,8 +219,10 @@ Find_Client(xcb_connection_t * dpy, xcb_window_t root, xcb_window_t subwin)
|
|
||||||
if (subwin != roots[i])
|
|
||||||
continue;
|
|
||||||
win = Find_Child_At_Pointer(dpy, subwin);
|
|
||||||
- if (win == XCB_WINDOW_NONE)
|
|
||||||
+ if (win == XCB_WINDOW_NONE) {
|
|
||||||
+ free (roots);
|
|
||||||
return subwin; /* No child - Return virtual root. */
|
|
||||||
+ }
|
|
||||||
subwin = win;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xwininfo'
|
# Template file for 'xwininfo'
|
||||||
pkgname=xwininfo
|
pkgname=xwininfo
|
||||||
version=1.1.4
|
version=1.1.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libX11-devel"
|
makedepends="libX11-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://xorg.freedesktop.org"
|
homepage="http://xorg.freedesktop.org"
|
||||||
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
|
distfiles="${XORG_SITE}/app/$pkgname-$version.tar.bz2"
|
||||||
checksum=839498aa46b496492a5c65cd42cd2e86e0da88149b0672e90cb91648f8cd5b01
|
checksum=7a405441dfc476666c744f5fcd1bc8a75abf8b5b1d85db7b88b370982365080e
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue