[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697129: unblock: i3-wm/4.2-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package i3-wm

The only change is a backported trivial patch to fix resizing of
floating windows by keyboard, see #696758. The patch itself was applied
upstream at 2012-08-18 and did not cause any trouble.

The debdiff is attached.

unblock i3-wm/4.2-2

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.3.4-1-suspendconsole (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru i3-wm-4.2/debian/changelog i3-wm-4.2/debian/changelog
--- i3-wm-4.2/debian/changelog	2012-04-25 23:21:54.000000000 +0200
+++ i3-wm-4.2/debian/changelog	2013-01-01 18:35:47.000000000 +0100
@@ -1,3 +1,10 @@
+i3-wm (4.2-2) unstable; urgency=low
+
+  * Backport commit 1089b0b to fix resizing floating windows by height
+    (Closes: #696758)
+
+ -- Michael Stapelberg <stapelberg@debian.org>  Tue, 01 Jan 2013 18:35:45 +0100
+
 i3-wm (4.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru i3-wm-4.2/debian/patches/fix-resizing-floating-windows-by-height.patch i3-wm-4.2/debian/patches/fix-resizing-floating-windows-by-height.patch
--- i3-wm-4.2/debian/patches/fix-resizing-floating-windows-by-height.patch	1970-01-01 01:00:00.000000000 +0100
+++ i3-wm-4.2/debian/patches/fix-resizing-floating-windows-by-height.patch	2013-01-01 18:21:25.000000000 +0100
@@ -0,0 +1,20 @@
+Description: fix resizing floating windows by height
+Author: Joel Stemmer <stemmertech@gmail.com>
+Forwarded: http://c.i3wm.org/1089b0b
+Last-Update: 2012-08-18
+
+---
+    
+diff --git a/src/commands.c b/src/commands.c
+index 66270f7..0cd7852 100644
+--- a/src/commands.c
++++ b/src/commands.c
+@@ -490,7 +490,7 @@ static void cmd_resize_floating(I3_CMD, char *way, char *direction, Con *floatin
+     if (strcmp(direction, "up") == 0) {
+         floating_con->rect.y -= px;
+         floating_con->rect.height += px;
+-    } else if (strcmp(direction, "down") == 0) {
++    } else if (strcmp(direction, "down") == 0 || strcmp(direction, "height") == 0) {
+         floating_con->rect.height += px;
+     } else if (strcmp(direction, "left") == 0) {
+         floating_con->rect.x -= px;
diff -Nru i3-wm-4.2/debian/patches/series i3-wm-4.2/debian/patches/series
--- i3-wm-4.2/debian/patches/series	2012-04-25 23:21:51.000000000 +0200
+++ i3-wm-4.2/debian/patches/series	2013-01-01 18:21:34.000000000 +0100
@@ -1,2 +1,3 @@
 use-x-terminal-emulator.patch
 manpage-x-terminal-emulator.patch
+fix-resizing-floating-windows-by-height.patch

Reply to: