aboutsummaryrefslogtreecommitdiffstats
path: root/sway/container.c
Commit message (Collapse)AuthorAge
* Update hidpi support to latest wlc APILibravatar Drew DeVault2016-07-28
|
* Initial pass on HiDPI supportLibravatar Drew DeVault2016-07-28
|
* outer gap 0 with smart_gaps onLibravatar D.B2016-07-21
|
* refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵Libravatar D.B2016-07-16
| | | | where needed
* Fix tabbed/stacked corner case #742Libravatar D.B2016-07-07
| | | | | | Tabbed/stacked containers are now created only if a view is present on the workspace. If a view is created on previously empty tabbed/stacked workspace, it gets wrapped in a container.
* implement `get_tree` commandLibravatar Zandr Martin2016-07-04
|
* Added a null check in tabbed_stacked_parentLibravatar Hummer120072016-06-18
| | | | This fixes a segfault, when trying to get parent of the workspace/root container/(?), as it is not assuered that the view's parent node is not null in the loop
* Initial implementation for floating_maximum_sizeLibravatar Denis Doria2016-06-02
|
* Initial work for floating view with sane valuesLibravatar Denis Doria2016-05-31
|
* enforce workspace output assignentsLibravatar Zandr Martin2016-05-28
| | | | | | | | when creating a new output, move to that output all extant workspaces that are assigned to that output. (unrelated) remove comment that was no longer applicable, fix spacing in an assignment
* Implement sort_workspaces() function for outputs.Libravatar Zandr Martin2016-05-27
| | | | This seems to have resolved issue #669 for me.
* Revert "sway/container.c: fix segfault where view is assigned prematurely"Libravatar Drew DeVault2016-05-14
|
* sway/container.c: fix segfault where view is assigned prematurelyLibravatar Daniel Lockyer2016-05-09
|
* Remove unused functionLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Don't send invisble view to backLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Disable inner gaps when in tabbed/stacked modeLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Add support for nested tabbed/stacked containersLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Reapply prev layout when exiting tabbed/stackedLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Correctly determine default layoutLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Fix problems with floating windowsLibravatar Mikkel Oscar Lyderik2016-04-25
| | | | | Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
* Tabbed and stacked layoutLibravatar Mikkel Oscar Lyderik2016-04-25
|
* Use correct format string for x86_64 and i686Libravatar Mikkel Oscar Lyderik2016-04-17
| | | | Fix #587
* Plug two memory leaksLibravatar Chang Liu2016-04-12
| | | | Plug two memory leaks introduced in the border drawing code.
* Don't init desired width/height on new_viewLibravatar Mikkel Oscar Lyderik2016-04-09
| | | | | | | | | | | | | When creating a new view, wlc usually returns an initial geometry with size 1x1. Setting those values as desired width/height causes a problem for some windows (QT5) because they don't request a new geometry for instance when made floating, so the floating window becomes 1x1. To fix this problem we can just omit setting the desired width/height on new_view and instead let the clients request a certain size if they feel like it. e.i. gnome-calculator. Fix #578
* Fix spelling mistakesLibravatar Eric Engestrom2016-04-02
|
* Fix pointer related crash when stacked/tabbedLibravatar Mikkel Oscar Lyderik2016-03-31
| | | | Fix #564
* Add cmds new_window and new_floatLibravatar Mikkel Oscar Lyderik2016-03-31
| | | | | | | Makes it possible to set default layout style for new windows and new floating windows. Close #556
* Implement bordersLibravatar Mikkel Oscar Lyderik2016-03-30
| | | | | | | | | The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).
* Implement some more on bordersLibravatar Drew DeVault2016-03-30
| | | | | Note that this segfaults ALL THE TIME in wlc code. Paging @Cloudef for help, I'm at a loss.
* Implement 'smart_gaps' feature from i3-gapsLibravatar Mikkel Oscar Lyderik2016-03-20
|
* Fix assigning workspaces to outputsLibravatar Mikkel Oscar Lyderik2016-03-04
| | | | | | | | | | | It's possible to assign workspaces to certain outputs using the command: workspace <name> output <output> However, this did not work in some cases where the workspace was assigned before the given output was made available to sway. This patch fixes those cases.
* Make sway spawn only one bar per bar configLibravatar Mikkel Oscar Lyderik2016-02-27
|
* Send workspace ICP event on ws destroy/empty.Libravatar Mikkel Oscar Lyderik2016-02-25
| | | | | | There is no 'destroy' change type in the i3 IPC so this uses `empty` to notify about empty workspaces (which will be destroyed from sway right after).
* Prefer named output config over wildcard config.Libravatar Mikkel Oscar Lyderik2016-02-12
| | | | | | | | | | | | | | This makes sure that a named output config is applied before the general wildcard config when a new output is created. This ensures that the config: output * ... output NAME ... behaves the same way as: output NAME ... output * ...
* Fix rendering of view when moving to new workspaceLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | | | | | | | | | This is a possible fix for #384. To be honest I don't fully understand why this bug is happening, but I have narrowed it down to the view stack in wlc and how sway orders views in very specific situations (those described in #384). Anyway this should fix the problem by eliminating the call to `wlc_view_bring_to_front` which isn't really needed anyway since sending all invisible views to the back is the same as bringing all visible views to the front (rotating the view stack).
* Fix whitespace issues.Libravatar Mikkel Oscar Lyderik2016-01-05
|
* Handle SIGTERM sent to swayLibravatar Mikkel Oscar Lyderik2015-12-29
| | | | | | | This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
* container: Fix inner gaps against screen edge.Libravatar S. Christoffer Eliesen2015-12-20
|
* Terminate children when freeing output containerLibravatar Mikkel Oscar Lyderik2015-12-18
|
* Reload swaybar/swaybg on config reload.Libravatar Mikkel Oscar Lyderik2015-12-18
| | | | | | | | This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: #347
* sway: insert numbered workspaces in orderLibravatar progandy2015-12-18
| | | | | | | | | | fixes #308 Ordered by number ascending, with insert before same numbers. Workspaces without numbers are appended at the end of the list. Example order: 1 2:named 3:the_second 3:the_first 9 FIRST_NAME SECOND_NAME ...
* Bring unmanaged windows to front on output arrangeLibravatar Drew DeVault2015-12-16
| | | | Fixes #312
* Make destroy_workspace behave as expectedLibravatar Kevin Hamacher2015-12-13
|
* Fix using last output config if none matchedLibravatar Christoph Gysin2015-12-02
|
* Allow output config for output named *Libravatar Drew DeVault2015-11-28
| | | | Which will match any output.
* workspace: Learn sticky.Libravatar S. Christoffer Eliesen2015-11-27
| | | | | A floating window that's sticky will move to the new active workspace whenever the workspace on the same output changes.
* container: Store app_id attribute for views.Libravatar S. Christoffer Eliesen2015-11-24
|
* container: Store class attribute for views.Libravatar S. Christoffer Eliesen2015-11-24
|
* We wlc_point nowLibravatar Drew DeVault2015-11-14
| | | | cc @Cloudef
* input_state: Remove mouse_origin (x&y). Query wlc instead.Libravatar S. Christoffer Eliesen2015-10-29
|