svn commit: r450736 - in head/x11-wm/i3: . files
Pietro Cerutti
gahr at FreeBSD.org
Wed Sep 27 13:13:14 UTC 2017
Author: gahr
Date: Wed Sep 27 13:13:13 2017
New Revision: 450736
URL: https://svnweb.freebsd.org/changeset/ports/450736
Log:
x11-wm/i3: import patch from upstream, bump PORTREVISION
The patch fixes https://github.com/i3/i3/issues/2846
Approved by: bapt (maintainer)
Added:
head/x11-wm/i3/files/
head/x11-wm/i3/files/patch-pull2849 (contents, props changed)
Modified:
head/x11-wm/i3/Makefile
Modified: head/x11-wm/i3/Makefile
==============================================================================
--- head/x11-wm/i3/Makefile Wed Sep 27 12:28:28 2017 (r450735)
+++ head/x11-wm/i3/Makefile Wed Sep 27 13:13:13 2017 (r450736)
@@ -3,6 +3,7 @@
PORTNAME= i3
DISTVERSION= 4.14.1
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://i3wm.org/downloads/
Added: head/x11-wm/i3/files/patch-pull2849
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/i3/files/patch-pull2849 Wed Sep 27 13:13:13 2017 (r450736)
@@ -0,0 +1,27 @@
+From bfc6e1217265c8c77a8382f5c7970d049e958250 Mon Sep 17 00:00:00 2001
+From: Dan Elkouby <streetwalkermc at gmail.com>
+Date: Sun, 30 Jul 2017 18:49:42 +0300
+Subject: [PATCH] Create a new split container when switching a workspace
+ container to split layout
+
+The behavior before 52ce8c8 was to do it regardless of what layout we're
+switching to.
+
+Fixes #2846
+---
+ src/con.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/con.c b/src/con.c
+index d346b9f45..94bfa6e9e 100644
+--- src/con.c.orig
++++ src/con.c
+@@ -1719,7 +1719,7 @@ void con_set_layout(Con *con, layout_t layout) {
+ con->workspace_layout = ws_layout;
+ DLOG("Setting layout to %d\n", layout);
+ con->layout = layout;
+- } else if (layout == L_STACKED || layout == L_TABBED) {
++ } else if (layout == L_STACKED || layout == L_TABBED || layout == L_SPLITV || layout == L_SPLITH) {
+ DLOG("Creating new split container\n");
+ /* 1: create a new split container */
+ Con *new = con_new(NULL, NULL);
More information about the svn-ports-all
mailing list