all repos — fluxbox @ ab8647c2189c650360da8ce600606a5f8a3da309

custom fork of the fluxbox windowmanager

deiconify before we send it to another workspace
fluxgen fluxgen
commit

ab8647c2189c650360da8ce600606a5f8a3da309

parent

3af7133800614152f6c4207fe45305bd618c21ee

1 files changed, 9 insertions(+), 1 deletions(-)

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

@@ -21,7 +21,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: Windowmenu.cc,v 1.17 2002/08/31 10:42:25 fluxgen Exp $ +// $Id: Windowmenu.cc,v 1.18 2002/09/06 16:59:29 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE

@@ -229,6 +229,10 @@

// if the window is stuck then unstick it if (windowmenu->window->isStuck()) windowmenu->window->stick(); + + // if the window is iconic, deiconify it + if (windowmenu->window->isIconic()) + windowmenu->window->deiconify(); if (button == 1) { // send to workspace without changing workspace windowmenu->screen->sendToWorkspace(index,

@@ -272,6 +276,10 @@ if (index == getWindowMenu()->screen->getCurrentWorkspaceID())

return; if (getWindowMenu()->window->isStuck()) getWindowMenu()->window->stick(); + + // if the window is iconic, deiconify it + if (getWindowMenu()->window->isIconic()) + getWindowMenu()->window->deiconify(); if (button == 1) { // TODO: use reassociateGroup from BScreen instead