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

FvwmEvent: listen for RandR events #106

Merged
merged 2 commits into from
Jun 6, 2020
Merged

FvwmEvent: listen for RandR events #106

merged 2 commits into from
Jun 6, 2020

Conversation

ThomasAdam
Copy link
Member

This pull-request makes FvwmEvent understand RandR screen changes.

@ThomasAdam ThomasAdam added the type:enhancement Augmenting an existing feature label May 28, 2020
@ThomasAdam ThomasAdam self-assigned this May 28, 2020
@ThomasAdam ThomasAdam linked an issue May 28, 2020 that may be closed by this pull request
@ThomasAdam ThomasAdam force-pushed the ta/gh-26 branch 6 times, most recently from 0ddfcbd to cf71174 Compare May 30, 2020 23:51
@ThomasAdam ThomasAdam marked this pull request as ready for review May 30, 2020 23:53
@ThomasAdam ThomasAdam added this to the 1.0 milestone May 31, 2020
In order for FvwmEvent to know when certain RandR events have occured,
change the way RandR events are tracked, and set flags on the monitor to
indicate what RandR changes have happened.

Only debug logging tracks this, the changes for FvwmEvent will come
later.
This adds the work necessary to make FvwmEvent listen for RandR events.
Three events are supported:

* monitor_enabled -- when a monitor is "plugged" in, and active;
* monitor_disabled -- when a monitor is "unplugged" and deactivated;
* monitor_changed -- when an enabled monitor changes resolution/rotation

An "emit" flag is used to track events, separate from the on-going state
of RandR itself.

Fixes #26
@ThomasAdam ThomasAdam merged commit 374cf0f into master Jun 6, 2020
@ThomasAdam ThomasAdam deleted the ta/gh-26 branch June 6, 2020 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Augmenting an existing feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Proposal: FvwmEvent new events in FVWM3
1 participant