projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a3cd6
)
elput: Fix issue of NULL seat named being passed during input init
author
Chris Michael
<cpmichael@osg.samsung.com>
Tue, 10 May 2016 18:36:35 +0000
(14:36 -0400)
committer
Chris Michael
<cpmichael@osg.samsung.com>
Tue, 10 May 2016 18:36:35 +0000
(14:36 -0400)
When calling elput_input_init we need to check for a valid seat name
being passed in. If no seat name is provided, we will use the default
seat name.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/elput/elput_input.c
patch
|
blob
|
history
diff --git
a/src/lib/elput/elput_input.c
b/src/lib/elput/elput_input.c
index
11269df
..
f90b4ed
100644
(file)
--- a/
src/lib/elput/elput_input.c
+++ b/
src/lib/elput/elput_input.c
@@
-226,6
+226,9
@@
elput_input_init(Elput_Manager *manager, const char *seat)
goto udev_err;
}
+ /* if not seat name is passed in, just use default seat name */
+ if (!seat) seat = "seat0";
+
if (libinput_udev_assign_seat(manager->input.lib, seat) != 0)
{
ERR("libinput could not assign udev seat");