Skip to content

Commit

Permalink
sticky windows: explicitly move to desk
Browse files Browse the repository at this point in the history
In the case of Fvwmbuttons subpanels, the windows are mapped in the void
and never moved, if the parent FvwmButtons changes desk.  When RandR
support was added, the separation caused this check to become important.
Therefore, remove it and allow sticky windows to be mapped correctly.

Fixes #224
  • Loading branch information
ThomasAdam committed Sep 15, 2020
1 parent bd97904 commit 69df4ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fvwm/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -1554,8 +1554,6 @@ void do_move_window_to_desk(FvwmWindow *fw, int desk)
/*
* Set the window's desktop, and map or unmap it as needed.
*/
/* Only change mapping for non-sticky windows */
if (!is_window_sticky_across_desks(fw) /*&& !IS_ICON_UNMAPPED(fw)*/)
{
if (fw->Desk == m->virtual_scr.CurrentDesk)
{
Expand Down

0 comments on commit 69df4ef

Please sign in to comment.