-
-
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.
PanFrames: handle DesktopConfiguration changes
When panframes are created, the DesktopConfiguration is taken in to account. This means that during startup, the panframes will be initialised in the global state, but could change to being per-monitor shortly afterward. The implementation assumed that all monitors would needed to have been checked, however this isn't true in the case of per-monitor mode; as a result, panframes around other monitors were being unmapped. Instead, callers of checkPanFrames() already know which monitor needs to be involved and can pass that through. This change removes the previous should_free_panframe() call as it's never used from more than one place, so can be inlined once more. In doing so, s/Bool/bool/ since Bool is reserved for X11 purposes. Fixes #381, fixes #401
- Loading branch information
1 parent
c95eb92
commit 05355da
Showing
2 changed files
with
51 additions
and
71 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