sway-patched-tray-menu/sway/input
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
This fixes two causes of segfaulting when an output is destroyed.

The first occurred when an output was never enabled. The issue was that
the destroy signal was never initialized so when it was emitted, sway
segfaulted. This was fixed by moving the initialization into
`output_create` since all outputs, regardless of whether they have ever
been enabled, will be destroyed at some point.

The second occurred when the cursor was on an output that was being
destroyed. The sway output would have already been removed, but if there
are other outputs, a cursor rebase would still occur. Since the
wlr_output still existed and the sway output was destroyed, the cursor
could be over nothing, resulting in a segfault when trying to get the
sway output, which was destroyed.
2019-01-10 03:07:36 -05:00
..
cursor.c Fix segfaults on output destruction 2019-01-10 03:07:36 -05:00
input-manager.c stringop.c: rewrite strip_whitespace 2019-01-01 09:01:24 +00:00
keyboard.c keyboard: update repeat timer before execution 2019-01-09 01:07:29 -05:00
seat.c Simplify evdev includes on FreeBSD by relying on up-to-date package 2019-01-09 11:02:05 +00:00