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

ConfigWinPacket: no longer send monitor_name #1074

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

ThomasAdam
Copy link
Member

Because of the padding and the alignment in the CongfigWinPacket, trying
to fit a monitor name >8 characters would truncate.

Instead, if modules need to look up the monitor from the window packet,
do so via the monitor_id which was already being sent down.

Currently, only FvwmIconMan is affected.

Noticed by jns and somiaj on IRC.

@ThomasAdam ThomasAdam added this to the 1.1.1 milestone Oct 17, 2024
@ThomasAdam ThomasAdam self-assigned this Oct 17, 2024
Because of the padding and the alignment in the CongfigWinPacket, trying
to fit a monitor name >8 characters would truncate.

Instead, if modules need to look up the monitor from the window packet,
do so via the monitor_id which was already being sent down.

Currently, only FvwmIconMan is affected.

Noticed by jns and somiaj on IRC.
@ThomasAdam ThomasAdam force-pushed the ta/goodbye-monitor-name branch from 63f47ec to 8e01c3d Compare October 17, 2024 20:30
@ThomasAdam ThomasAdam added the type:bug Something's broken! label Oct 17, 2024
@ThomasAdam ThomasAdam merged commit 84eaad0 into main Oct 17, 2024
5 checks passed
@ThomasAdam ThomasAdam deleted the ta/goodbye-monitor-name branch October 17, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something's broken!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant