mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
fixed segfault on exit + a little fixup of that floatfocus pr
This commit is contained in:
parent
0bf380a0b1
commit
225c2fbe5b
5 changed files with 24 additions and 17 deletions
|
|
@ -477,7 +477,7 @@ swayc_t *swayc_active_workspace_for(swayc_t *cont) {
|
|||
/* Fallthrough */
|
||||
|
||||
case C_OUTPUT:
|
||||
cont = cont->focused;
|
||||
cont = cont ? cont->focused : NULL;
|
||||
/* Fallthrough */
|
||||
|
||||
case C_WORKSPACE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue