[mutter/wayland] weston-launch: Fix a typo causing mutter-launch to not work
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] weston-launch: Fix a typo causing mutter-launch to not work
- Date: Fri, 14 Mar 2014 20:10:30 +0000 (UTC)
commit 93ac0329db368b307c2c6d58308396325689c919
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Mar 14 16:04:56 2014 -0400
weston-launch: Fix a typo causing mutter-launch to not work
src/wayland/weston-launch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/weston-launch.c b/src/wayland/weston-launch.c
index ae713ed..ba1ed74 100644
--- a/src/wayland/weston-launch.c
+++ b/src/wayland/weston-launch.c
@@ -279,7 +279,7 @@ handle_open(struct weston_launch *wl, struct msghdr *msg, ssize_t len)
dev_major = major(s.st_rdev);
- if (dev_major != INPUT_MAJOR ||
+ if (dev_major != INPUT_MAJOR &&
dev_major != DRM_MAJOR) {
fprintf(stderr, "Device %s is not an input or DRM device\n",
message->path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]