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: per-monitor improvements #123

Merged
merged 4 commits into from
Jun 15, 2020
Merged

Conversation

ThomasAdam
Copy link
Member

No description provided.

@ThomasAdam ThomasAdam added this to the 1.0 milestone Jun 4, 2020
@ThomasAdam ThomasAdam self-assigned this Jun 4, 2020
@ThomasAdam ThomasAdam added the type:new-feature Brand new feature not yet present in fvwm3 label Jun 14, 2020
@ThomasAdam ThomasAdam force-pushed the ta/fvwmpager-per-monitor branch 6 times, most recently from fe80e4a to b77a17b Compare June 15, 2020 06:30
Jaimos Skriletz and others added 2 commits June 15, 2020 22:54
When FvwmPager is in "per-monitor" mode (that is, been configured with
"*FvwmPager: Monitor <name>"), it is only ever useful to show the
windows which are on that monitor.

To achieve this, we therfore need to translate the windows's coordinates
to the bounding "view" the monitor the window is on has (that is, its
own width/height).

Translate the window's position (which is relative to the entire XServer
display) to the appropriate monitor, and keep tracking where it is.

This rewrites the CalcGeom() function which previously used a "mirroring"
technique to reflect the bounds of the window in the pager.

Helps #44
Don't kill FvwmPager if there's too many missed XEvents.  These are
weeded out during scrolling, and hence the original check is no longer
required.
@ThomasAdam ThomasAdam marked this pull request as ready for review June 15, 2020 21:55
The copyright licence on FVWM is GPL, and as such Robert Nation has
already given his blessing for that.  Hence, this notice doesn't need to
be in the man page.  Similar messages in comments in code elsewhere have
already been removed.
Describe what "*FvwmPager: Monitor xxx" does.
@ThomasAdam ThomasAdam merged commit d24dfb5 into master Jun 15, 2020
@ThomasAdam ThomasAdam deleted the ta/fvwmpager-per-monitor branch June 15, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:new-feature Brand new feature not yet present in fvwm3
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant