forked from fvwmorg/fvwm3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATE_FVWM_SCREEN: respect StartsOnDesk style
Previously, when StartsOnDesk was used, although the desk was correctly set, the desk would never change thereafter, once the window was moved. This was because the UPDATE_FVWM_SCREEN macro assumed it could always update the window, but never took into account that when moving monitors, the desk also needed to be changed. But this can't blindly happen in all cases, as on initla mapping of the window, the UPDATE_FVWM_SCREEN macro would have overriden the StartsOnDesk style. This change introduces a flag to track this as well as reducing the number of assigments which weren't needed when updating the screen. Also removed an extraneous assignment. Helps fvwmorg#86
- Loading branch information
1 parent
7ce36ae
commit 0fdcb15
Showing
3 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters