Wayland: output device name as create function argument only
ClosedPublic

Authored by romangg on Aug 8 2019, 9:50 AM.

Details

Summary

With saving the pointers it is not necessary anymore to save the Wayland name
in WaylandOutput except when creating the output device. Simplify the code by
removing the member variable and providing the name as an argument to the
create output device function.

Test Plan

Manually in Wayland session.

Diff Detail

Repository
R110 KScreen Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Aug 8 2019, 9:50 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 8 2019, 9:50 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Aug 8 2019, 9:50 AM
romangg retitled this revision from Wayland: set output device name through create function to Wayland: output device name as create function argument only.Aug 8 2019, 10:04 AM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 10 2019, 1:46 PM
This revision was automatically updated to reflect the committed changes.