summaryrefslogtreecommitdiff
path: root/src/backends/native/meta-device-pool-private.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace contents with redirect messagemasterFlorian Müllner2021-07-191-35/+0
| | | | | | | The default development branch is now `main`. This commit only exists on `master` to point people towards that. See https://gitlab.gnome.org/GNOME/glib/-/issues/2348 for details.
* native: Add device pool for tracking device file descriptorsJonas Ådahl2021-07-071-0/+35
This practically does the same thing as part of MetaLauncher, except with added thread safety and caching. For example, opening the same file a second time will return the same MetaDeviceFile, and only once all acquired MetaDeviceFile's are released, will the file descriptor be closed and control of the device released. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1828>