all repos — fluxbox @ e7903086f27a6112cf7579290dc4888631dc604c

custom fork of the fluxbox windowmanager

fix iconify with autoraise
rathnor rathnor
commit

e7903086f27a6112cf7579290dc4888631dc604c

parent

3b1306336343ccf7b0faa065ba4c5842561b1caf

3 files changed, 7 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.3: *03/05/13: + * Fixed iconify problems when autoraise on (Simon) + Window.cc Screen.cc * Fixed restoring submenus after a reconfigure (Thanks MrChuoi) Screen.cc, fluxbox.cc/hh * Added auto hide menu item to toolbar menu (Thanks MrChuoi)
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.160 2003/05/13 00:23:05 fluxgen Exp $ +// $Id: Screen.cc,v 1.161 2003/05/13 11:14:04 rathnor Exp $ #include "Screen.hh"

@@ -2491,6 +2491,7 @@ FocusedWindows::iterator it_end = focused_list.end();

for (; it != it_end; ++it) if ((*it)->fbwindow() && (((int)(*it)->fbwindow()->getWorkspaceNumber()) == workspace + && !(*it)->fbwindow()->isIconic() && (!(*it)->fbwindow()->isStuck() || (*it)->fbwindow()->isFocused()))) // only give focus to a stuck window if it is currently focused // otherwise they tend to override normal workspace focus
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.172 2003/05/11 23:44:08 rathnor Exp $ +// $Id: Window.cc,v 1.173 2003/05/13 11:14:05 rathnor Exp $ #include "Window.hh"

@@ -1240,6 +1240,8 @@ if ((*it)->fbwindow())

(*it)->fbwindow()->iconify(); } } + if (Fluxbox::instance()->getFocusedWindow() == this) + Fluxbox::instance()->revertFocus(screen()); }