Age | Commit message (Collapse) | Author |
|
Fix potential crash when destroying workspace
|
|
`_container_destroy` emits a destroy event, and any listener for this
event should have access to the full container, not a half destroyed
one.
`_container_destroy` also destroys the swayc, so we have to grab a
reference to the sway_workspace so we can free it afterwards.
This also fixes a memory leak where the floating container wasn't freed.
Fixes #2092.
|
|
Schedule a frame even if damage is empty
|
|
|
|
sway/config: fix use-after-free for end of block
|
|
Introduced in 7c810dc344c28d1876c5ee158cb0806289d0f813
|
|
Only send frame done to visible views
|
|
Make command block implementation generic
|
|
Also don't accumulate empty damage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reduce work duplication in keyboard and binding code
|
|
Fix top border when a view is initially floating
|
|
Fixes #2085.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The same shortcut algorithm is now used for keycodes,
raw keysyms, and translated keysyms. Pressed keysyms
are now stored in association with the keycodes that
generated them. Modifier keycodes (and associated
keysyms) are identified retroactively by the subsequent
change to the modifier flags.
|
|
|
|
|
|
Implement floating
|
|
Fix cmd_workspace crash when a surface has focus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|