mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
WindowMaker: update to 0.95.9.
This commit is contained in:
parent
0763190a06
commit
c20187e8f7
2 changed files with 5 additions and 32 deletions
|
@ -1,27 +0,0 @@
|
||||||
Description: fixes issues with illegal windowsize hints
|
|
||||||
Author: Gaspar Chilingarov
|
|
||||||
Origin: upstream
|
|
||||||
Applied-Upstream: https://repo.or.cz/wmaker-crm.git/commitdiff/6668715402a5d8e2ecda6702076a06bf8988721e
|
|
||||||
Last-Update: 2018-11-25
|
|
||||||
---
|
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
||||||
diff --git src/window.c src/window.c
|
|
||||||
index cb4ff4e..195c3e6 100644 (file)
|
|
||||||
--- src/window.c
|
|
||||||
+++ src/window.c
|
|
||||||
@@ -2087,6 +2087,14 @@ void wWindowConfigure(WWindow *wwin, int req_x, int req_y, int req_width, int re
|
|
||||||
int synth_notify = False;
|
|
||||||
int resize;
|
|
||||||
|
|
||||||
+ /* if window size is guaranteed to fail - fix it to some reasonable
|
|
||||||
+ * defaults */
|
|
||||||
+ if (req_height > SHRT_MAX)
|
|
||||||
+ req_height = 480;
|
|
||||||
+
|
|
||||||
+ if (req_width > SHRT_MAX)
|
|
||||||
+ req_height = 640;
|
|
||||||
+
|
|
||||||
resize = (req_width != wwin->client.width || req_height != wwin->client.height);
|
|
||||||
/*
|
|
||||||
* if the window is being moved but not resized then
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'WindowMaker'
|
# Template file for 'WindowMaker'
|
||||||
pkgname=WindowMaker
|
pkgname=WindowMaker
|
||||||
version=0.95.8
|
version=0.95.9
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-xinerama --localedir=/usr/share/locale
|
configure_args="--enable-xinerama --localedir=/usr/share/locale
|
||||||
--enable-usermenu --enable-modelock --enable-xrandr --enable-wmreplace
|
--enable-usermenu --enable-modelock --enable-xrandr --enable-wmreplace
|
||||||
|
@ -16,12 +16,12 @@ conf_files="
|
||||||
/etc/WindowMaker/WMWindowAttributes
|
/etc/WindowMaker/WMWindowAttributes
|
||||||
/etc/WindowMaker/WMState
|
/etc/WindowMaker/WMState
|
||||||
/etc/WindowMaker/WMGLOBAL"
|
/etc/WindowMaker/WMGLOBAL"
|
||||||
short_desc="An X11 window manager with a NEXTSTEP look and feel"
|
short_desc="X11 window manager with a NEXTSTEP look and feel"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3"
|
license="GPL-2.0-or-later, WTFPL"
|
||||||
homepage="http://www.windowmaker.org/"
|
homepage="http://www.windowmaker.org/"
|
||||||
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
distfiles="http://windowmaker.org/pub/source/release/${pkgname}-${version}.tar.gz"
|
||||||
checksum=9dbf5c5571bb79c4b1584f496c960ee2cd7379af45ef0f58b4b0f487259de88a
|
checksum=f22358ff60301670e1e2b502faad0f2da7ff8976632d538f95fe4638e9c6b714
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue