summaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
Commit message (Collapse)AuthorAge
* Implement gaps (PR #2047)Libravatar Nate Symer2018-06-09
|
* Switch restore workspaces to a nested for-loopLibravatar Brian Ashworth2018-06-08
|
* Restore workspaces to outputs based on priorityLibravatar Brian Ashworth2018-06-08
|
* Address emersions comments on output re-enablingLibravatar Brian Ashworth2018-06-06
|
* Store sway_outputs so that they can be reenabledLibravatar Brian Ashworth2018-06-06
|
* Fix potential crash when destroying workspaceLibravatar Ryan Dwyer2018-06-03
| | | | | | | | | | | | | `_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.
* Don't unmaximize floating viewsLibravatar Ryan Dwyer2018-06-01
|
* Remove container_self_or_parent_floatingLibravatar Ryan Dwyer2018-06-01
|
* Rename container_set_geometry_from_viewLibravatar Ryan Dwyer2018-06-01
|
* Store swayc coordinates as layout-localLibravatar Ryan Dwyer2018-06-01
|
* Rename set_maximized functions to set_tiledLibravatar Ryan Dwyer2018-06-01
|
* Fix issues with sticky containers and workspacesLibravatar Ryan Dwyer2018-06-01
| | | | | | | | | * Attach sticky containers to new workspaces when switching * Fire the close event *before* we start destroying the workspace to prevent a crash Because the sticky container now follows the visible workspace, this simplifies the rendering and container_at logic.
* Fix unfullscreening a floating viewLibravatar Ryan Dwyer2018-06-01
|
* Replace is_floating boolean with functionLibravatar Ryan Dwyer2018-06-01
|
* Use L_FLOATING instead of reapable booleanLibravatar Ryan Dwyer2018-06-01
|
* Implement floatingLibravatar Ryan Dwyer2018-06-01
|
* Add tree representation to IPC workspace descriptionLibravatar Ryan Dwyer2018-05-29
|
* Fix ancestor typosLibravatar Ryan Dwyer2018-05-28
|
* Send workspace::move in container_output_destroyLibravatar Brian Ashworth2018-05-27
|
* Don't move empty workspaces when output is destroyedLibravatar emersion2018-05-27
|
* Clean up container title functionsLibravatar Ryan Dwyer2018-05-25
| | | | | | | | | | | | | * Add and use lenient_strcat and lenient_strncat functions * Rename `concatenate_child_titles` function as that's no longer what it does * Rename `container_notify_child_title_changed` because we only need to notify that the tree structure has changed, not titles * Don't notify parents when a child changes its title * Update ancestor titles when changing a container's layout * Eg. create nested tabs and change the inner container to stacking * No need to store tree presentation in both container->name and formatted_title
* Implement clicking stacked title barsLibravatar Ryan Dwyer2018-05-22
|
* Use constants for titlebar dimensionsLibravatar Ryan Dwyer2018-05-22
|
* Use class or app_id in tree representationLibravatar Ryan Dwyer2018-05-21
|
* Don't track damage for views on inactive tabsLibravatar Ryan Dwyer2018-05-21
|
* Add assertion in container_at_viewLibravatar Ryan Dwyer2018-05-21
|
* Implement tabbed layoutLibravatar Ryan Dwyer2018-05-21
|
* Rebuild textures if needed when moving a containerLibravatar Ryan Dwyer2018-05-19
| | | | | | | When moving a container to an output which has a different scale than the previous, rebuild the title and marks textures at the new scale. Fixes #1999.
* Fix many border opacity issuesLibravatar Ryan Dwyer2018-05-17
|
* Set textures to null when destroyingLibravatar Ryan Dwyer2018-05-17
|
* Kill wl_shellLibravatar emersion2018-05-14
|
* Add xdg-shell stable supportLibravatar emersion2018-05-13
|
* Fix recursion when counting descendants of a typeLibravatar Brian Ashworth2018-05-12
|
* Count descendant views for hide_edge_borders smartLibravatar Brian Ashworth2018-05-12
|
* Damage container when updating titleLibravatar emersion2018-05-10
|
* Damage borders when damaging viewLibravatar emersion2018-05-10
|
* Implement pango supportLibravatar Ryan Dwyer2018-05-06
| | | | | | Implements support for the pango: prefix in the font command. Closes #1903.
* Implement title_formatLibravatar Ryan Dwyer2018-05-05
| | | | | | | | | | This implements the title_format command, with a new placeholder %shell which gets substituted with the view type (xwayland, xdg_shell_v6 or wl_shell). Example config: for_window [title=".*"] title_format %title (class=%class instance=%instance shell=%shell)
* Use scissor to render title textureLibravatar Ryan Dwyer2018-05-05
| | | | | | | | This allows the title's texture to always be the full width of the text, and clipped at render time according to the desired width (eg. tabs...). As an added bonus, the texture no longer needs to be updated when containers are arranged.
* Check for NULL in container_update_titleLibravatar Alex Xu (Hello71)2018-05-04
| | | | Fixes crash when opening Firefox developer tools.
* Fix title texture widthLibravatar Ryan Dwyer2018-05-03
| | | | Use max of the container width or text width.
* Convert border_colors.text to float[4]Libravatar Drew DeVault2018-05-03
|
* Fix anti-aliasingLibravatar Drew DeVault2018-05-03
|
* Fix potential segfault when setting container titleLibravatar Ryan Dwyer2018-05-03
|
* Calculate config->font_height based on existing container titlesLibravatar Ryan Dwyer2018-05-03
|
* Render titlesLibravatar Ryan Dwyer2018-05-03
|
* Fix layer surface crash on output destroyLibravatar db2018-05-01
| | | | | | Before freeing sway_output, NULL the wlr_output reference to it. Check for that NULL in layer_shell handle_destroy. Don't damage null container in unmap. Additionaly, terminate swaybg if its output is being disabled.
* Allow clicking view decorations to focus viewLibravatar Ryan Dwyer2018-05-01
|
* Fix surface offset when using bordersLibravatar Ryan Dwyer2018-05-01
|
* Refactor arrange_windows()Libravatar Ryan Dwyer2018-04-28
| | | | | | | | | Replaces arrange_windows() with arrange_root(), arrange_output(), arrange_workspace() and arrange_children_of(). Also makes fullscreen views save and restore their dimensions, which allows it to preserve any custom resize and is also a requirement for floating views once they are implemented.