all repos — fluxbox @ bd3d8d5c8da9a1db58108c3b26257d7bb3d3139c

custom fork of the fluxbox windowmanager

fixed some strange behavior with tabbing a transient to its main window
markt markt
commit

bd3d8d5c8da9a1db58108c3b26257d7bb3d3139c

parent

ca710b371b500d29c6849e568c43f746a787bc5f

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M src/Ewmh.ccsrc/Ewmh.cc

@@ -328,6 +328,8 @@ win.winClient().

changeProperty(m_net_wm_window_type, XA_ATOM, 32, PropModeReplace, (unsigned char*)&m_net_wm_window_type_dialog, 1); + // and then we should treat it like a dialog + win.setTabable(false); } }
M src/Window.ccsrc/Window.cc

@@ -1887,7 +1887,8 @@ }

// raise this window and every transient in it with this one last if (client->fbwindow()) { // doing this on startup messes up the focus order - if (!Fluxbox::instance()->isStartup()) + if (!Fluxbox::instance()->isStartup() && client->fbwindow() != this && + &client->fbwindow()->winClient() != client) // activate the client so the transient won't get pushed back down client->fbwindow()->setCurrentClient(*client, false); raiseFluxboxWindow(*client->fbwindow());