mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 11:52:56 +02:00
xst: update to 0.10.0
This commit is contained in:
parent
1286ea660e
commit
6b2f3c9d5f
2 changed files with 3 additions and 43 deletions
|
@ -1,40 +0,0 @@
|
|||
From a0894b52af4ee6cba42e93a2a756a2092ee46e48 Mon Sep 17 00:00:00 2001
|
||||
From: Yauhen Kirylau <actionless.loveless@gmail.com>
|
||||
Date: Fri, 11 Dec 2020 22:41:07 +0100
|
||||
Subject: [PATCH] fix(x: main): do xrdb_load before setting cursor shape (fixes
|
||||
#127) (#129)
|
||||
|
||||
* fix(x: main): do xrdb_load before setting cursor shape (fixes #127)
|
||||
|
||||
* fix(x: main): do xrdb_load and xsetcursor after parsing cli args
|
||||
---
|
||||
x.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git x.c x.c
|
||||
index 4dcb168..5367d05 100644
|
||||
--- a/x.c
|
||||
+++ b/x.c
|
||||
@@ -2111,7 +2111,6 @@ main(int argc, char *argv[])
|
||||
{
|
||||
xw.l = xw.t = 0;
|
||||
xw.isfixed = False;
|
||||
- xsetcursor(cursorshape);
|
||||
|
||||
ARGBEGIN {
|
||||
case 'a':
|
||||
@@ -2167,12 +2166,13 @@ main(int argc, char *argv[])
|
||||
if (!opt_title)
|
||||
opt_title = (opt_line || !opt_cmd) ? "xst" : opt_cmd[0];
|
||||
|
||||
+ xrdb_load();
|
||||
+ xsetcursor(cursorshape);
|
||||
setlocale(LC_CTYPE, "");
|
||||
XSetLocaleModifiers("");
|
||||
cols = MAX(cols, 1);
|
||||
rows = MAX(rows, 1);
|
||||
tnew(cols, rows);
|
||||
- xrdb_load();
|
||||
xinit(cols, rows);
|
||||
xsetenv();
|
||||
selinit();
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xst'
|
||||
pkgname=xst
|
||||
version=0.8.4.1
|
||||
revision=3
|
||||
version=0.10.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=compliant
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/gnotclub/xst"
|
||||
distfiles="https://github.com/gnotclub/xst/archive/v${version}.tar.gz"
|
||||
checksum=cbeb2da6c289415d1168559c6f58b4ce47fd266edefbabc38fd59e8b7c87226d
|
||||
checksum=b8d36a0851c8b8cd9b2b95bfe4562e21a625f4e06f23edae936bb257b1b9832a
|
||||
|
||||
post_install() {
|
||||
vdoc README
|
||||
|
|
Loading…
Add table
Reference in a new issue