-
-
Notifications
You must be signed in to change notification settings - Fork 78
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 #86
- Loading branch information
1 parent
d9e5b8f
commit ab5e55a
Showing
3 changed files
with
28 additions
and
11 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