udev: Add the ability to query the current framebuffer.

Authored by nerdopolist on Dec 29 2017, 5:28 PM.



This adds the ability for kwin's udev handler to detect a usable framebuffer device.
This is very similar to the function that queries the primary GPU.

Diff Detail

R108 KWin
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
nerdopolist created this revision.Dec 29 2017, 5:28 PM
Restricted Application added a subscriber: kwin. · View Herald TranscriptDec 29 2017, 5:28 PM
graesslin accepted this revision.Dec 30 2017, 9:51 AM
This revision is now accepted and ready to land.Dec 30 2017, 9:51 AM
rkflx added a subscriber: rkflx.Mar 21 2018, 11:49 AM

@nerdopolist Please rebase on latest master and update authorship information on Phab:

git fetch
git checkout 50b948134c81
arc patch D9554
git rebase origin/master
# Check if it still compiles
arc diff
This revision was automatically updated to reflect the committed changes.