WIP: [xwl] Emulate resolution changes
Needs ReviewPublic

Authored by romangg on Dec 23 2019, 1:14 AM.

Details

Reviewers
None
Group Reviewers
KWin
Summary

This patch adds functionality to make use of recent XWayland patches for
emulating RandR resolution changes through the Wayland wp_viewporter protocol
extension.

For that a specific window property must be read and the emulated size sent via
X11 protocol to the respective client window.

This patch is WIP because I noticed structural problems that we have with the
current XWayland code. For one KWin is creating one too many parent windows to
work together with the new XWayland code.

Test Plan

Tested with WIP patches to XWayland and supertux.

Diff Detail

Repository
R108 KWin
Branch
xwl-res-emu
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 20172
Build 20190: arc lint + arc unit
romangg created this revision.Dec 23 2019, 1:14 AM
Restricted Application added a project: KWin. · View Herald TranscriptDec 23 2019, 1:14 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
romangg requested review of this revision.Dec 23 2019, 1:14 AM
romangg updated this revision to Diff 72704.Jan 3 2020, 6:05 PM
  • Discard shape on XWayland surface size change