swayfx/sway/commands
Rouven Czerwinski 605e515a93 fix double free for mode toggle if bar was invisible
If the bar was set to "invisible" and subsequently "toggle" was send twice, the
new mode was never set and the bar->mode was double freed.
Fix this by not requiring the bar->mode to be "hide" and instead show it
unconditionally, because it was either hidden or invisible.

Fixes #3637
2019-02-10 17:13:11 +01:00
..
bar fix double free for mode toggle if bar was invisible 2019-02-10 17:13:11 +01:00
input Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle 2019-01-21 09:28:47 -05:00
output output_cmd_background: fix no file + valid mode 2019-02-05 14:13:27 -05:00
seat seat_cmd_cursor: do not create non-existing seat 2019-02-03 14:01:29 -05:00
assign.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
bar.c util.c: remove numlen function 2019-01-22 13:10:25 +01:00
bind.c Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
client.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
create_output.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_floating_border.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
default_orientation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
exec.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
exec_always.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
exit.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
floating.c commands: allow setting floating on scratchpad containers 2019-01-22 11:47:48 +00:00
floating_minmax_size.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
floating_modifier.c Move sway-specific functions in common/util.c into sway/ 2019-01-21 12:39:16 -05:00
focus.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
focus_follows_mouse.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_on_window_activation.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
focus_wrapping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
font.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
for_window.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
force_display_urgency_hint.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
force_focus_wrapping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
fullscreen.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
gaps.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
hide_edge_borders.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
include.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
input.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
kill.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
layout.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
mark.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
mode.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
mouse_warping.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
move.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
no_focus.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
nop.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
opacity.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
output.c Remove assumption that noop output will be called NOOP-1 2019-01-22 09:55:13 +01:00
popup_during_fullscreen.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
reload.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
rename.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
resize.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
scratchpad.c criteria & scratchpad verify if show in another workspace (#3522) 2019-01-30 09:05:46 -05:00
seat.c cmd_seat: allow - to be used as alias for current 2019-02-02 22:02:28 -05:00
set.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
show_marks.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
smart_borders.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
smart_gaps.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
split.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
sticky.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
swap.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
swaybg_command.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
swaynag_command.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00
tiling_drag.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
tiling_drag_threshold.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_align.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
title_format.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
titlebar_border_thickness.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
titlebar_padding.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
unmark.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
urgent.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
workspace.c cmd_workspace_gaps: fix double free on bad amount 2019-02-05 08:35:00 -05:00
workspace_layout.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
ws_auto_back_and_forth.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
xwayland.c Replace wlr_log with sway_log 2019-01-21 12:59:42 +01:00