all repos — openbox @ ef66d63b422bd7dc6de9d4dd28b7f7e7c0624e05

openbox fork - make it a bit more like ryudo

dont let windows get initially mapped when they arent on the current workspace
Dana Jansens danakj@orodu.net
commit

ef66d63b422bd7dc6de9d4dd28b7f7e7c0624e05

parent

91b078433073e674c0844de44124dbce4d1e2b82

1 files changed, 7 insertions(+), 0 deletions(-)

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

@@ -2611,6 +2611,13 @@ fprintf(stderr, "BlackboxWindow::mapRequestEvent() for 0x%lx\n",

client.window); #endif // DEBUG + /* + Even thought the window wants to be shown, if it is not on the current + workspace, then it isn't going to be shown right now. + */ + if (blackbox_attrib.workspace != screen->getCurrentWorkspaceID()) + current_state = WithdrawnState; + switch (current_state) { case IconicState: iconify();