openbsd-ports/x11/i3/patches/patch-parser-specs_commands_spec
dcoppa f20b5b6dd9 Parser fix: reorder v/h/vertical/horizontal
This eliminates an error message upon split horizontal which did
not occur in older i3 versions.
(upstream git commit f0b56c5e98a152cb65e8d1935a83707b5d87e30d)

Bugfix: fix reload crashes in rare cases
Depending on the memory layout, it could happen that bind->command
was exchanged with something else while the parser still accessed
it.
Therefore, copy the command and let the parser use that copy.
(upstream git commit 6e9bbe67ce5f02ff6ac24889e5a215ee46247c32)

Fix: when using i3 -C, don't send remaining arguments via IPC
(upstream git commit 6146f39b8a253bc84bc5ce1feb2e3cabc50d71ba)
2012-06-28 09:33:06 +00:00

19 lines
668 B
Plaintext

$OpenBSD: patch-parser-specs_commands_spec,v 1.1 2012/06/28 09:33:06 dcoppa Exp $
From f0b56c5e98a152cb65e8d1935a83707b5d87e30d Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Sun, 10 Jun 2012 15:56:28 +0000
Subject: parser: reorder v/h/vertical/horizontal
--- parser-specs/commands.spec.orig Wed Apr 25 23:21:25 2012
+++ parser-specs/commands.spec Thu Jun 28 11:01:38 2012
@@ -130,7 +130,7 @@ state FULLSCREEN:
# split v|h|vertical|horizontal
state SPLIT:
- direction = 'v', 'h', 'vertical', 'horizontal'
+ direction = 'horizontal', 'vertical', 'v', 'h'
-> call cmd_split($direction)
# floating enable|disable|toggle