openbsd-ports/x11/i3/patches/patch-src_key_press_c
dcoppa 38febc9b19 Update to i3-4.3
OK jasper@
2012-09-21 17:16:13 +00:00

19 lines
871 B
Plaintext

$OpenBSD: patch-src_key_press_c,v 1.1 2012/09/21 17:16:14 dcoppa Exp $
--- src/key_press.c.orig Thu Sep 20 14:44:02 2012
+++ src/key_press.c Thu Sep 20 14:44:46 2012
@@ -118,12 +118,12 @@ static void start_commanderror_nagbar(void) {
/* child */
if (nagbar_pid == 0) {
char *pager_command;
- sasprintf(&pager_command, "i3-sensible-pager \"%s\"\n", errorfilename);
+ sasprintf(&pager_command, "/usr/bin/less \"%s\"\n", errorfilename);
if (!write_nagbar_script(pager_script_path, pager_command))
return;
char *pageraction;
- sasprintf(&pageraction, "i3-sensible-terminal -e \"%s\"", pager_script_path);
+ sasprintf(&pageraction, "${X11BASE}/bin/xterm -e \"%s\"", pager_script_path);
char *argv[] = {
NULL, /* will be replaced by the executable path */
"-t",