mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
weston-launch: Fix a typo causing mutter-launch to not work
This commit is contained in:
parent
c539dfe0d7
commit
93ac0329db
@ -279,7 +279,7 @@ handle_open(struct weston_launch *wl, struct msghdr *msg, ssize_t len)
|
|||||||
|
|
||||||
dev_major = major(s.st_rdev);
|
dev_major = major(s.st_rdev);
|
||||||
|
|
||||||
if (dev_major != INPUT_MAJOR ||
|
if (dev_major != INPUT_MAJOR &&
|
||||||
dev_major != DRM_MAJOR) {
|
dev_major != DRM_MAJOR) {
|
||||||
fprintf(stderr, "Device %s is not an input or DRM device\n",
|
fprintf(stderr, "Device %s is not an input or DRM device\n",
|
||||||
message->path);
|
message->path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user