aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
Commit message (Collapse)AuthorAge
...
* Move workspace pid code to root.cLibravatar Ryan Dwyer2018-08-04
|
* Check correct ws for sticky and fix floating iterLibravatar Brian Ashworth2018-08-03
|
* Preserve workspace nameLibravatar Mihai Coman2018-07-28
|
* Merge pull request #2165 from swaywm/pid-workspacesLibravatar Drew DeVault2018-07-24
|\ | | | | Implement pid->workspace tracking
| * Address @emersion's review commentsLibravatar Drew DeVault2018-07-24
| |
| * Merge branch 'master' into pid-workspacesLibravatar Drew DeVault2018-07-23
| |\
| * | Implement pid->workspace trackingLibravatar Drew DeVault2018-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | When you spawn a process with the exec command, sway now notes the workspace you had focused and the pid of the child process, then assigns that workspace to the child when its window appears. Some of this is carried over from sway 0.15, but with some major refactoring and centralization of state.
* | | Also extract first workspace name from bindcodesLibravatar frsfnrrg2018-07-23
| |/ |/|
* | Render containers as urgent if they have an urgent childLibravatar Ryan Dwyer2018-07-16
| |
* | Mark containers as urgent in IPC if they have urgent viewsLibravatar Ryan Dwyer2018-07-16
| |
* | Update workspace urgent state when views close or move workspacesLibravatar Ryan Dwyer2018-07-16
| |
* | Implement urgency base functionalityLibravatar Ryan Dwyer2018-07-16
| | | | | | | | | | | | Introduces a command to manually set urgency, as well as rendering of urgent views, sending the IPC event, removing urgency after focused for one second, and matching urgent views via criteria.
* | Simplify transactions by utilising a dirty flag on containersLibravatar Ryan Dwyer2018-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR changes the way we handle transactions to a more simple method. The new method is to mark containers as dirty from low level code (eg. arranging, or container_destroy, and eventually seat_set_focus), then call transaction_commit_dirty which picks up those containers and runs them through a transaction. The old methods of using transactions (arrange_and_commit, or creating one manually) are now no longer possible. The highest-level code (execute_command and view implementation handlers) will call transaction_commit_dirty, so most other code just needs to set containers as dirty. This is done by arranging, but can also be done by calling container_set_dirty.
* | Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
| |
* | workspace_next_name: free targets later than these already found in orderLibravatar Dominique Martinet2018-07-05
| |
* | workspace_next_name: fix string length for ws_num >= 100Libravatar Dominique Martinet2018-07-02
| | | | | | | | | | | | | | | | | | | | | | The check didn't include && ws_num < 100 so l would always be 1 or 2 Instead of fixing logic it's simpler to just call snprintf twice to get length and use that. Also change malloc failure check to sway_assert because both callers of this function do not do null check and would segfault... Found through static analysis.
* | find prev/next output/workspace: add NULL checkLibravatar Dominique Martinet2018-07-02
|/ | | | | | These could be called with NULL if there is no focus Found through static analysis.
* Implement atomic layout updates for tree operationsLibravatar Ryan Dwyer2018-06-23
| | | | | This implements atomic layout updates for when views map, reparent or unmap.
* Refactor everything that needs to arrange windowsLibravatar Ryan Dwyer2018-06-09
| | | | | | | | | | * 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.
* Make main properties be the pending stateLibravatar Ryan Dwyer2018-06-09
|
* WIP: Atomic layout updates ground workLibravatar Ryan Dwyer2018-06-09
|
* Restore workspaces to outputs based on priorityLibravatar Brian Ashworth2018-06-08
|
* Support runtime var expansion and set at runtimeLibravatar Brian Ashworth2018-06-05
|
* 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.
* Use L_FLOATING instead of reapable booleanLibravatar Ryan Dwyer2018-06-01
|
* Implement floatingLibravatar Ryan Dwyer2018-06-01
|
* Implement `floating enable`Libravatar Drew DeVault2018-06-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.
* Remove sway_container.workspace_layoutLibravatar Ryan Dwyer2018-04-26
| | | | Fixes #1716.
* Create sway_workspace struct.Libravatar Ryan Dwyer2018-04-17
|
* Revert "Break everything^W^WUse wlr_box for sway_container"Libravatar Drew DeVault2018-04-06
|
* Break everything^W^WUse wlr_box for sway_containerLibravatar Drew DeVault2018-04-06
|
* Merge branch 'wlroots' into split-containers2Libravatar Tony Crisci2018-04-04
|\
| * Merge pull request #1712 from RedSoxFan/workspace-number-namesLibravatar Drew DeVault2018-04-03
| |\ | | | | | | Fix name generation from workspace number commands
| | * Fix name generation for workspace number <name>Libravatar Brian Ashworth2018-04-03
| | |
* | | move workspace create to workspace.cLibravatar Tony Crisci2018-04-03
| | |
* | | unify workspace create functionsLibravatar Tony Crisci2018-04-03
| | |
* | | move view and workspace destructors to container.cLibravatar Tony Crisci2018-04-03
|/ /
* | Merge branch 'wlroots' into seat-fixesLibravatar Tony Crisci2018-04-02
|\ \
| * | Fixes back-and-forth name saving for non-empty wsLibravatar Brian Ashworth2018-03-31
| |/
* / rename seat functionsLibravatar Tony Crisci2018-04-02
|/
* Fix workspace deletion edge casesLibravatar Drew DeVault2018-03-30
|
* Finish porting over workspace_next_nameLibravatar Drew DeVault2018-03-30
|
* Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"Libravatar Tony Crisci2018-03-29
| | | | | This reverts commit 472e81f35d689d67cda241acafda91c688d61046, reversing changes made to 6b7841b11ff4cd35f54d69dc92029855893e5ce0.
* Revert "Refactor tree"Libravatar Drew DeVault2018-03-29
|
* arrange windowsLibravatar Tony Crisci2018-03-29
|
* 80colLibravatar Tony Crisci2018-03-29
|
* more renaming thingsLibravatar Tony Crisci2018-03-29
|
* rename container functionsLibravatar Tony Crisci2018-03-29
|
* move tree includes to their own directoryLibravatar Tony Crisci2018-03-29
|