Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
packages-test
community
i3-wm
Commits
59d33c28
Commit
59d33c28
authored
Jun 26, 2014
by
Thorsten Töpper
Browse files
upgpkg: i3-wm 4.8-3 - FS#40911
parent
dba4585e
Changes
2
Hide whitespace changes
Inline
Side-by-side
PKGBUILD
View file @
59d33c28
...
...
@@ -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
...
...
bugfix_dont_focus_unmapped_container_on_manage.patch
0 → 100644
View file @
59d33c28
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);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment