+
Skip to content

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载