-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Amend wayland-specific state with array of data to track necessary information about individual output elements (i.e. scaling factors of monitors), - add cleanup section for newly added data, - implement output-listener callbacks to store output-related data and attach it to the wayland-output object for later reference in surface listeners, - add registry handler to bind available outputs, and register listeners for them, - implement surface-listener callbacks to operate on the bound output-data, as well as to call the resizing method to update dimensions, and - extend window-resizing function to decide dpi_scale, as well as correctly extend the framebuffer size if high-dpi outputs are available.
- Loading branch information
Showing
1 changed file
with
113 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters