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: honour screen focus rules #958

Merged
merged 2 commits into from
Mar 15, 2024
Merged

FvwmPager: honour screen focus rules #958

merged 2 commits into from
Mar 15, 2024

Conversation

ThomasAdam
Copy link
Member

When FvwmPager is configured without the Monitor module config line,
and, DesktopConfiguration per-monitor is set, FvwmPager wasn't
tracking which monitor should be used to invoke the GotoDesk command
when clicking on the pager desk label.

This meant desktops had the effect of not switching.

This change won't affect DesktopConfiguration global, and will work
when FvwmPager has a Monitor configuration line.

Fixes #957

When FvwmPager is configured without the `Monitor` module config line,
*and*, `DesktopConfiguration per-monitor` is set, FvwmPager wasn't
tracking which monitor should be used to invoke the `GotoDesk` command
when clicking on the pager desk label.

This meant desktops had the effect of not switching.

This change won't affect `DesktopConfiguration global`, and will work
when FvwmPager has a `Monitor` configuration line.

Fixes #957
@ThomasAdam ThomasAdam added this to the 1.1.0 milestone Mar 11, 2024
@ThomasAdam ThomasAdam self-assigned this Mar 11, 2024
When invoking the GotoDesk or GotoDeskAndPage commands such as:

    GotoDesk 0 0
    GotoDeskAndPage 0 0 1

... this would be invalid because the first argument is treated as a
screen identifier, which then fails the rest of the command.

In such cases, inject the screen name of the current monitor if it's
missing.

Fixes #941
Fixes #957
@ThomasAdam ThomasAdam merged commit 1a0dbb2 into main Mar 15, 2024
5 checks passed
@ThomasAdam ThomasAdam deleted the ta/gh-957 branch March 15, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Desk 0 not accessible.
1 participant