main: collect one DRM device per seat
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 May 2012 11:38:23 +0000 (13:38 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 26 May 2012 11:38:23 +0000 (13:38 +0200)
commit42de14726871f6cdd69774f5679bf90f11435eb6
treeec195d5522171523c9694f184c99c6456fe9e1a6
parent589b5ce9e3c8773d7819623d7faed17709803321
main: collect one DRM device per seat

We need a single graphics card on a seat to run kmscon. Therefore, wait
for the first DRM device that appears and make it the current graphics
device for the seat. We do not support multiple graphics cards per seat
but this may be added in the future.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/main.c