]> git.sur5r.net Git - i3/i3/commit
Bugfix: don't focus unmapped container on manage
authorTony Crisci <tony@dubstepdish.com>
Mon, 23 Jun 2014 21:25:23 +0000 (17:25 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 24 Jun 2014 07:01:04 +0000 (09:01 +0200)
commit1d100d6e168d13752e79918f2410ccc7c492d700
tree5204669313641952148d53a25033ab528fbc9d3a
parent34f6f185bfe9476801e6ef45114197becefb0b21
Bugfix: don't focus unmapped container on manage

A window may become unmapped on manage when an assignment command unmaps
the window, such as moving it to the scratchpad or killing it.

This can cause i3 focus to be an unmapped window and different than X
focus which can lead to complications

fixes #1283
src/manage.c
testcases/t/233-regress-manage-focus-unmapped.t [new file with mode: 0644]