bwhmather / wmii

Automatically exported from code.google.com/p/wmii
MIT License
0 stars 1 forks source link

view focus changes when last client destroyed #243

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start on a view "foo1" containing a client.
2. Go to a blank view named "foo2".
2. Launch a terminal in the managed area and then close it.

What is the expected result?

Focus should remain on the "foo2" view, and the view should be empty.

What do you see instead?

# wmiir read /event
DestroyTag foo2
UnfocusTag foo2
FocusTag foo1

Focus automatically changes to the "foo1" view.  In addition, the order of 
events in the destruction of the "foo2" view is wrong: UnfocusTag should be 
followed by DestroyTag.

What version of the product are you using (wmii -v)?

wmii-hg2796+, ©2010 Kris Maglione

On what operating system (uname -a)?

Linux ratham 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64 
Genuine Intel(R) CPU U7300 @ 1.30GHz GenuineIntel GNU/Linux

Original issue reported on code.google.com by sun...@gmail.com on 19 Sep 2011 at 7:41

GoogleCodeExporter commented 9 years ago
Aargh.

Original comment by maglion...@gmail.com on 19 Sep 2011 at 7:45

GoogleCodeExporter commented 9 years ago
Works in tip.

Original comment by maglion...@gmail.com on 19 Sep 2011 at 7:49

GoogleCodeExporter commented 9 years ago
Awesome, thanks for the fix!

Original comment by sun...@gmail.com on 19 Sep 2011 at 10:01