Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BroadcastMonitorList: send DesktopSize once #998

Merged
merged 2 commits into from
Apr 10, 2024
Merged

BroadcastMonitorList: send DesktopSize once #998

merged 2 commits into from
Apr 10, 2024

Conversation

ThomasAdam
Copy link
Member

When updating modules about changes to monitors, etc., only send the
DesktopSize command once, as this is proliferated for every module for
all pages, which is redundant.

Fixes #997

When updating modules about changes to monitors, etc., only send the
DesktopSize command once, as this is proliferated for every module for
all pages, which is redundant.

Fixes #997
@ThomasAdam ThomasAdam added this to the 1.1.1 milestone Apr 5, 2024
@ThomasAdam ThomasAdam self-assigned this Apr 5, 2024
@ThomasAdam ThomasAdam changed the title BroadcastMonitorList: sending DesktopSize once BroadcastMonitorList: send DesktopSize once Apr 5, 2024
@ThomasAdam ThomasAdam added type:bug Something's broken! relates:module Issue is in module code labels Apr 5, 2024
When a module requests information about what it needs to know, it does
so to fvwm by asking "Send_ConfigInfo".  However, if this happens, and
fvwm is already sending information to all modules (such as via a
DesktopSize command), then an infinite loop can take place.

Fixes #997
@ThomasAdam ThomasAdam merged commit b10bfb2 into main Apr 10, 2024
5 checks passed
@ThomasAdam ThomasAdam deleted the ta/gh-997 branch April 10, 2024 16:06
somiaj added a commit that referenced this pull request Apr 22, 2024
Still send DesktopConfigurtion when initializing a module. #998 went a tad
too far stopping both Monitor and DesktopConfiguration broadcasts at init.
This splits DesktopConfiguration broadcasts into their own method so they
can be included in the initial broadcasts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relates:module Issue is in module code type:bug Something's broken!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Workspace number at changes -- system freeze
1 participant