Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-02 | find prev/next output/workspace: add NULL check | Dominique Martinet | |
These could be called with NULL if there is no focus Found through static analysis. | |||
2018-06-30 | sway views: add helpers to get view and layer from wlr_surface | Dominique Martinet | |
2018-06-30 | Merge remote-tracking branch 'upstream/master' into atomic | Ryan Dwyer | |
2018-06-30 | container_at_view: don't offset the view by the window geometry | Rostislav Pehlivanov | |
Fixes floating window input offsets. As discussed on IRC with emersion, this shouldn't have been done in the first place. | |||
2018-06-30 | Revert "Don't unmaximize floating views" | Rostislav Pehlivanov | |
This reverts commit 97672295ed50d1d6272876c4a3b6b5607cab05c6. | |||
2018-06-30 | Fix floating views not receiving frame events | emersion | |
That happened when they were in tabbed or stacked containers. Fixes #2161 | |||
2018-06-27 | Move unsetting of view->surface into view_unmap | Ryan Dwyer | |
2018-06-27 | Fix memleak in container_get_box | Ryan Dwyer | |
Rather than allocate a structure and expect callers to free it, take a pointer to an existing struct as an argument. This function is no longer called anywhere though. | |||
2018-06-27 | Remove transaction_add_damage | Ryan Dwyer | |
Instead, damage each container when applying the transaction. | |||
2018-06-27 | Fix nitpicks | Ryan Dwyer | |
2018-06-26 | Remove incorrect assertion and supporting code | Ryan Dwyer | |
Children can exist when destroying a container, such as when destroying the last output. Sway is not terminating in that case. | |||
2018-06-26 | Fix crash when closing output window from outer session | Ryan Dwyer | |
Emitting the close event needs to happen before container_output_destroy, because container_output_destroy sets the sway_output to NULL and sway_output is used in IPC. | |||
2018-06-26 | Fix crash when disconnecting output | Ryan Dwyer | |
We were freeing the sway_output immediately upon disconnect which left a dangling pointer in the output's container. It then tried to use the pointer when the container is freed. We don't need to store the sway_output in an output's container which is destroying, so the fix is to set the pointer to NULL and remove the use in container_free. Also added an arrange when the output is disconnected for good measure. | |||
2018-06-26 | Rename view's free callback to destroy | Ryan Dwyer | |
2018-06-26 | Damage output when a fullscreen view unmaps | Ryan Dwyer | |
Also moved the arranging into view_unmap to avoid excessive code duplication. | |||
2018-06-25 | Fix potential crash when fullscreen view unmaps | Ryan Dwyer | |
It happened when a view is a grandchild or deeper of the workspace, is fullscreen, and unmaps. The workspace would not be included in the transaction and its pointer to the fullscreen view was left dangling. | |||
2018-06-24 | Fix another crash when moving out of stacks or tabs | Ryan Dwyer | |
2018-06-24 | Fix crash when unmapping a view with reapable parents | Ryan Dwyer | |
container_destroy was calling container_reap_empty, which calls container_destroy and so on. Eventually the original container_destroy would return a NULL pointer to the caller which caused a crash. This also fixes an arrange on the wrong container when moving views in and out of stacks. | |||
2018-06-23 | Implement atomic layout updates for tree operations | Ryan Dwyer | |
This implements atomic layout updates for when views map, reparent or unmap. | |||
2018-06-18 | Preserve buffers during transactions | Ryan Dwyer | |
* Also fix parts of the rendering where it was rendering the pending state instead of current. | |||
2018-06-11 | Merge remote-tracking branch 'upstream/master' into atomic | Ryan Dwyer | |
2018-06-09 | Merge pull request #2124 from emersion/drag-icons | Drew DeVault | |
Render drag icons | |||
2018-06-09 | Implement gaps (PR #2047) | Nate Symer | |
2018-06-09 | Render drag icons | emersion | |
2018-06-09 | Refactor everything that needs to arrange windows | Ryan Dwyer | |
* The arrange_foo functions are now replaced with arrange_and_commit, or with manually created transactions and arrange_windows x2. * The arrange functions are now only called from the highest level functions rather than from both high level and low level functions. * Due to the previous point, view_set_fullscreen_raw and view_set_fullscreen are both merged into one function again. * Floating and fullscreen are now working with transactions. | |||
2018-06-09 | Make main properties be the pending state | Ryan Dwyer | |
2018-06-09 | WIP: Atomic layout updates ground work | Ryan Dwyer | |
2018-06-08 | Switch restore workspaces to a nested for-loop | Brian Ashworth | |
2018-06-08 | Restore workspaces to outputs based on priority | Brian Ashworth | |
2018-06-07 | Merge pull request #2084 from RedSoxFan/runtime-var-expansion | emersion | |
Runtime variable expansion | |||
2018-06-06 | Switch output storing from list_t to wl_list | Brian Ashworth | |
2018-06-06 | Address emersions comments on output re-enabling | Brian Ashworth | |
2018-06-06 | Store sway_outputs so that they can be reenabled | Brian Ashworth | |
2018-06-06 | Remove tab/stack check for focusing after a split | Brian Ashworth | |
2018-06-06 | Fix focusing after splitting tabs/stacks | Brian Ashworth | |
2018-06-05 | Support runtime var expansion and set at runtime | Brian Ashworth | |
2018-06-05 | Fix movement crashes/issues | Brian Ashworth | |
2018-06-03 | Fix initial workspace orientation on a rotated output | Ryan Dwyer | |
2018-06-03 | Merge pull request #2096 from kupospelov/fix-title-update | emersion | |
Fix view title update order | |||
2018-06-03 | Fix potential crash when destroying workspace | Ryan Dwyer | |
`_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. | |||
2018-06-03 | Fix view title update order | Konstantin Pospelov | |
This commit fixes the function call order to make sure that the title texture is updated using the relevant global font size. | |||
2018-06-02 | Fix top border when a view is initially floating | Ryan Dwyer | |
Fixes #2085. | |||
2018-06-01 | Fix mpv damage issue when unfullscreening into floating | Ryan Dwyer | |
2018-06-01 | Fix fullscreen position | Ryan Dwyer | |
2018-06-01 | Don't unmaximize floating views | Ryan Dwyer | |
2018-06-01 | Fix getting adjacent output | Ryan Dwyer | |
2018-06-01 | Remove container_self_or_parent_floating | Ryan Dwyer | |
2018-06-01 | Rename container_set_geometry_from_view | Ryan Dwyer | |
2018-06-01 | Store swayc coordinates as layout-local | Ryan Dwyer | |
2018-06-01 | Rename set_maximized functions to set_tiled | Ryan Dwyer | |