-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Wayland DnD] Part2: Open the uinput device file with root permission.
The device file /dev/uinput (or /dev/input/uinput) can only be accessed by root account, so the dndcp plugin may failed to open this device file if the current user is not root account. A way to fix this issue is opening this device file with root account, then pass the file descriptor to the sub task which is started with the current account. An example for this solution is blockVM file system device file. This patch is part of the new feature 'Wayland support in Linux guest'.
- Loading branch information
1 parent
b3899c9
commit aa59d16
Showing
3 changed files
with
71 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters