deiconify before we send it to another workspace
This commit is contained in:
parent
3af7133800
commit
ab8647c218
1 changed files with 9 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
// 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
|
||||
|
@ -230,6 +230,10 @@ void Windowmenu::SendtoWorkspacemenu::itemSelected(int button, unsigned int inde
|
|||
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,
|
||||
windowmenu->window, false);
|
||||
|
@ -273,6 +277,10 @@ void Windowmenu::SendGroupToWorkspacemenu::itemSelected(int button, unsigned int
|
|||
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
|
||||
if (getWindowMenu()->window->hasTab()) {
|
||||
|
|
Loading…
Reference in a new issue