all repos — fluxbox @ 59f150d5db2bbdaa9f42ce73b2d8095ea8b3923f

custom fork of the fluxbox windowmanager

check if window is stuck when using followmodel
markt markt
commit

59f150d5db2bbdaa9f42ce73b2d8095ea8b3923f

parent

00d862724a5dae43dbf1cbe4378fb846218fb3c3

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

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

@@ -773,7 +773,8 @@

// if the raised window is on a different workspace // we do what the user wish: // either ignore|go to that workspace|get the window - if (fbwin->screen().currentWorkspaceID() != fbwin->workspaceNumber()) { + if (fbwin->screen().currentWorkspaceID() != fbwin->workspaceNumber() + && !fbwin->isStuck()) { BScreen::FollowModel model = (ce.data.l[0] == 2) ? fbwin->screen().getUserFollowModel() : fbwin->screen().getFollowModel();
M src/Workspace.ccsrc/Workspace.cc

@@ -104,7 +104,8 @@ if (m_client.fbwindow() == 0)

return; FluxboxWindow &win = *m_client.fbwindow(); - if (win.screen().currentWorkspaceID() != win.workspaceNumber()) { + if (win.screen().currentWorkspaceID() != win.workspaceNumber() && + !win.isStuck()) { win.menu().hide(); BScreen::FollowModel model = win.screen().getUserFollowModel(); if (model == BScreen::IGNORE_OTHER_WORKSPACES)