Fix a problem where hitting Alt and Tabulator to cycle through windows,
pekwm crashes and dumps core. This fix was backported from the pekwm svn repo. From maintainer via Simon Kuhnle <simon@blarzwurst.de>
This commit is contained in:
parent
c8447cd8b5
commit
d2a5a8b95f
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2007/06/11 11:19:23 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2007/08/26 19:21:07 mbalmer Exp $
|
||||
|
||||
COMMENT= aewm++ based pretty themable window manager
|
||||
|
||||
DISTNAME= pekwm-0.1.6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://pekwm.org/
|
||||
|
16
x11/pekwm/patches/patch-src_PDecor_cc
Normal file
16
x11/pekwm/patches/patch-src_PDecor_cc
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_PDecor_cc,v 1.1 2007/08/26 19:21:07 mbalmer Exp $
|
||||
--- src/PDecor.cc.orig Fri Aug 24 18:35:19 2007
|
||||
+++ src/PDecor.cc Fri Aug 24 18:35:47 2007
|
||||
@@ -253,8 +253,10 @@ PDecor::~PDecor(void)
|
||||
}
|
||||
}
|
||||
|
||||
- // make things look smoother, buttons will be noticed as deleted otherwise
|
||||
- unmapWindow();
|
||||
+ // Make things look smoother, buttons will be noticed as deleted
|
||||
+ // otherwise. Using X call directly to avoid re-drawing and other
|
||||
+ // special features not required when removing the window.
|
||||
+ XUnmapWindow(_dpy, _window);
|
||||
|
||||
// free buttons
|
||||
unloadDecor();
|
Loading…
x
Reference in New Issue
Block a user