Skip to content
Commit f5fafa05 authored by Derek Foreman's avatar Derek Foreman Committed by Marius Vlad
Browse files

xwm: Don't crash when setting selection with no seat



It's possible to set the clipboard with no seat present - one way is to
use the RDP backend and then run 'xclip -i -selection clipboard' locally
without making an RDP connection.

Check if seat is NULL to prevent this from crashing.

Fixes #698

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
(cherry picked from commit bb993df2)
parent ac059500
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment