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

FvwmPager: Allow dynamic updates via SendToModule #1010

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

somiaj
Copy link
Collaborator

@somiaj somiaj commented Apr 11, 2024

This makes FvwmPager listen to 'SendToModule' commands such that the following options can be configured on a running FvwmPager instance:

  • DeskLabels
  • NoDeskLabels
  • Monitor RANDRNAME
  • MonitorLabels
  • NoMonitorLabels
  • CurrentMonitor RANDRNAME
  • CurrentDeskPerMonitor
  • CurrentDeskGlobal
  • IsShared
  • IsNotShared

For example:

SendToModule FvwmPager Monitor $[monitor.1.name]

Will force an already-running FvwmPager instance to only track that monitor.

This also fixes a bug with CurrentMonitor where the desk grids and monitor location were not correctly drawn found during testing this.

ThomasAdam and others added 2 commits April 17, 2024 19:43
This makes FvwmPager listen to 'SendToModule' commands such that the
following options can be configured on a running FvwmPager instance:

* DeskLabels
* NoDeskLabels
* Monitor RANDRNAME
* MonitorLabels
* NoMonitorLabels
* CurrentMonitor RANDRNAME
* CurrentDeskPerMonitor
* CurrentDeskGlobal
* IsShared
* IsNotShared

For example:

   SendToModule FvwmPager Monitor $[monitor.1.name]

Will force an already-running FvwmPager instance to only track that
monitor.
If current monitor is set, then desk changes would not redraw the
monitor locations. This fixes that by ensuring the desk grids are
redrawn in this case.
@somiaj somiaj force-pushed the js/fvwmpager-sendtomodule branch from 5dfc346 to 6dfabae Compare April 18, 2024 01:52
@ThomasAdam ThomasAdam self-assigned this Apr 18, 2024
@ThomasAdam ThomasAdam added type:enhancement Augmenting an existing feature relates:module Issue is in module code labels Apr 18, 2024
@ThomasAdam ThomasAdam added this to the 1.1.1 milestone Apr 18, 2024
@ThomasAdam ThomasAdam merged commit 9cc5bb7 into main Apr 18, 2024
4 checks passed
@ThomasAdam ThomasAdam deleted the js/fvwmpager-sendtomodule branch April 18, 2024 22:51
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:enhancement Augmenting an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants