diff options
author | fluxgen <fluxgen> | 2002-09-06 16:59:29 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-09-06 16:59:29 (GMT) |
commit | ab8647c2189c650360da8ce600606a5f8a3da309 (patch) | |
tree | 99107ecf684c223e4c8c5feead3b03e4e67f832f /src | |
parent | 3af7133800614152f6c4207fe45305bd618c21ee (diff) | |
download | fluxbox_pavel-ab8647c2189c650360da8ce600606a5f8a3da309.zip fluxbox_pavel-ab8647c2189c650360da8ce600606a5f8a3da309.tar.bz2 |
deiconify before we send it to another workspace
Diffstat (limited to 'src')
-rw-r--r-- | src/Windowmenu.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc index a6611a0..b8f34c0 100644 --- a/src/Windowmenu.cc +++ b/src/Windowmenu.cc | |||
@@ -21,7 +21,7 @@ | |||
21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 21 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
22 | // DEALINGS IN THE SOFTWARE. | 22 | // DEALINGS IN THE SOFTWARE. |
23 | 23 | ||
24 | // $Id: Windowmenu.cc,v 1.17 2002/08/31 10:42:25 fluxgen Exp $ | 24 | // $Id: Windowmenu.cc,v 1.18 2002/09/06 16:59:29 fluxgen Exp $ |
25 | 25 | ||
26 | //use GNU extensions | 26 | //use GNU extensions |
27 | #ifndef _GNU_SOURCE | 27 | #ifndef _GNU_SOURCE |
@@ -229,6 +229,10 @@ void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, unsigned int inde | |||
229 | // if the window is stuck then unstick it | 229 | // if the window is stuck then unstick it |
230 | if (windowmenu->window->isStuck()) | 230 | if (windowmenu->window->isStuck()) |
231 | windowmenu->window->stick(); | 231 | windowmenu->window->stick(); |
232 | |||
233 | // if the window is iconic, deiconify it | ||
234 | if (windowmenu->window->isIconic()) | ||
235 | windowmenu->window->deiconify(); | ||
232 | 236 | ||
233 | if (button == 1) { // send to workspace without changing workspace | 237 | if (button == 1) { // send to workspace without changing workspace |
234 | windowmenu->screen->sendToWorkspace(index, | 238 | windowmenu->screen->sendToWorkspace(index, |
@@ -272,6 +276,10 @@ void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, unsigned int | |||
272 | return; | 276 | return; |
273 | if (getWindowMenu()->window->isStuck()) | 277 | if (getWindowMenu()->window->isStuck()) |
274 | getWindowMenu()->window->stick(); | 278 | getWindowMenu()->window->stick(); |
279 | |||
280 | // if the window is iconic, deiconify it | ||
281 | if (getWindowMenu()->window->isIconic()) | ||
282 | getWindowMenu()->window->deiconify(); | ||
275 | 283 | ||
276 | if (button == 1) { | 284 | if (button == 1) { |
277 | // TODO: use reassociateGroup from BScreen instead | 285 | // TODO: use reassociateGroup from BScreen instead |