winft / wrapland

Qt/C++ library wrapping libwayland
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Device classes split out of Seat class #80

Closed romangg closed 5 months ago

romangg commented 2 years ago

The Wrapland::Server::Seat class is too large, a lot of functionality is crammed into it that could instead be split out into new free functions or classes in separate files.

This holds in particular for everything about the common input devices:

Instead for such devices separate classes could be introduced that are created by the compositor once per physical device. All state and resource tracking then happens in these classes instead of the Seat class.

This means in detail for example for keyboards:

romangg commented 2 years ago

mentioned in commit dfa699d57a3945edf8d341e19b91a85977365916