projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a3585
)
udev-seat: set 'udev' as udev_monitor_event_source only when it's null
67/246567/1
author
Sung-Jin Park
<sj76.park@samsung.com>
Mon, 2 Nov 2020 02:17:04 +0000
(11:17 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Mon, 2 Nov 2020 04:29:48 +0000
(13:29 +0900)
Change-Id: If409be58865c6984497bcc8296b2c3fb0b99278c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/udev-seat.c
patch
|
blob
|
history
diff --git
a/src/udev-seat.c
b/src/udev-seat.c
index 85f391e5440cae44d4952ccf7f96071f67fa0363..bede53077e92e6e36937de17ad9736fb09620e43 100644
(file)
--- a/
src/udev-seat.c
+++ b/
src/udev-seat.c
@@
-457,7
+457,8
@@
libinput_udev_create_context(const struct libinput_interface *interface,
}
input->udev = udev_ref(udev);
- _udev_monitor_event_source = strdup("udev");
+ if (!_udev_monitor_event_source)
+ _udev_monitor_event_source = strdup("udev");
return &input->base;
}