From owner-svn-ports-all@freebsd.org Wed Sep 27 13:13:14 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B82B4E03A18; Wed, 27 Sep 2017 13:13:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 878517219E; Wed, 27 Sep 2017 13:13:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8RDDD4a053825; Wed, 27 Sep 2017 13:13:13 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8RDDDLS053823; Wed, 27 Sep 2017 13:13:13 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201709271313.v8RDDDLS053823@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Wed, 27 Sep 2017 13:13:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450736 - in head/x11-wm/i3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: in head/x11-wm/i3: . files X-SVN-Commit-Revision: 450736 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 13:13:14 -0000 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 +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);