Re: [PATCH weston] xwayland: Fix crash when run with no input device

2016-11-01 Thread Giulio Camuffo
Hi, 2016-11-01 2:38 GMT+01:00 Tom Hochstein : > Starting an xterm with no input device led to a crash > because weston_wm_pick_seat() was returning garbage and > weston_wm_selection_init() was trying to use the garbage. > > Signed-off-by: Tom Hochstein > --- > xwayland/selection.c | 10

[PATCH weston] xwayland: Fix crash when run with no input device

2016-11-01 Thread Tom Hochstein
Starting an xterm with no input device led to a crash because weston_wm_pick_seat() was returning garbage and weston_wm_selection_init() was trying to use the garbage. Signed-off-by: Tom Hochstein --- xwayland/selection.c | 10 +++--- xwayland/window-manager.c | 6 -- 2 files chang