Commit 59d33c28 authored by Thorsten Töpper's avatar Thorsten Töpper
Browse files

upgpkg: i3-wm 4.8-3 - FS#40911

parent dba4585e
......@@ -3,7 +3,7 @@
pkgname=i3-wm
_pkgsourcename=i3
pkgver=4.8
pkgrel=2
pkgrel=3
pkgdesc='An improved dynamic tiling window manager'
arch=('i686' 'x86_64')
url='http://i3wm.org/'
......@@ -20,13 +20,17 @@ optdepends=('dmenu: As menu.'
'perl-json-xs: Features like saving the layout.')
options=('docs' '!strip')
source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2"
"http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc")
"http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2.asc"
'bugfix_dont_focus_unmapped_container_on_manage.patch')
md5sums=('4151e8e81fdc78b32a7cb953f67e3bef'
'SKIP')
'SKIP'
'2601c1d3fa5e45bc637a82486fdc5be6')
build() {
cd "$srcdir/$_pkgsourcename-$pkgver"
patch -p1 < "$srcdir/bugfix_dont_focus_unmapped_container_on_manage.patch"
# In order to avoid problems with bison use only a single process
MAKEFLAGS="-j1"
make
......
diff --git a/8f442e0..9eee357 b/9eee357
index 8f442e0..9eee357 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -505,7 +505,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
/* Defer setting focus after the 'new' event has been sent to ensure the
* proper window event sequence. */
- if (set_focus) {
+ if (set_focus && nc->mapped) {
DLOG("Now setting focus.\n");
con_focus(nc);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment