Skip to content

Conversation

ThomasAdam
Copy link
Member

  • Use {Min,Max}Size for the default rectangle, so that windows do not have zero size.
  • Track disabled monitors if monitor_to_track was previously set.
  • Free malloc()d variables on exiting the pager.

somiaj and others added 3 commits March 29, 2024 22:11
  First, this fixes an issue if monitor_to_track is set and that monitor
  is disconnected, then fvwm pager stops tracking anything. Instead,
  if monitor_to_track is disconnected, monitor_to_track will switch
  to the current monitor instead. If that monitor is enabled again,
  fvwm will resume tracking it.
  Allowing the height or width of a window to become zero can
  causes them to misbehave (noticed this when switching between
  monitors). Use MinSize instead of zero for windows in this case.
When the FvwmPager is closed/killed, ensure we free some of the
variables which had been malloc()d.
@ThomasAdam ThomasAdam added type:bug Something's broken! relates:module Issue is in module code labels Mar 30, 2024
@ThomasAdam ThomasAdam added this to the 1.1.0 milestone Mar 30, 2024
@ThomasAdam ThomasAdam merged commit 1e0d6e2 into main Mar 30, 2024
@ThomasAdam ThomasAdam deleted the js/pager-bugfixes branch March 30, 2024 10:53
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.

2 participants