summaryrefslogtreecommitdiffstats
path: root/sway/focus.c
Commit message (Collapse)AuthorAge
* Move sway's internal tree code to sway/tree/Libravatar Drew DeVault2017-11-11
|
* Fire up the wlroots backend and run the event loopLibravatar Drew DeVault2017-11-11
|
* prevent dereference of freed workspaceLibravatar Zandr Martin2016-10-02
|
* fix pointer format string in sway_log() callLibravatar Zandr Martin2016-10-01
|
* add global `current_focus` pointerLibravatar Zandr Martin2016-09-17
|
* Tweak how swaylock surfaces are handledLibravatar Drew DeVault2016-09-01
| | | | Fixes #875
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* Fix a format stringLibravatar Hummer120072016-08-22
|
* Simplify focus settingLibravatar Tony Crisci2016-08-03
| | | | | Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.
* Remove dead global locked_view_focusLibravatar Tony Crisci2016-08-01
| | | | | The value of `locked_view_focus` is always false. Remove dead code associated with this variable to simplify things.
* Update view border when workspace is focusedLibravatar Tony Crisci2016-07-31
| | | | | When a workspace is focused, update the borders of all its child containers to be focused to indicate the workspace container is focused.
* Implement focus handling for containersLibravatar Tony Crisci2016-07-31
| | | | | | | | | The previous implementation of focus handling assumed that only views can be focused. Containers can also be focused with a command like `focus parent` or `focus child`. Change `set_focused_container()` to handle the case of the given container being a container with children and update borders accordingly.
* Implement `focus child` commandLibravatar Tony Crisci2016-07-27
| | | | | The `focus child` command focuses the child container within the selected container.
* bugfix: set focus to workspace of an outputLibravatar Tony Crisci2016-07-27
| | | | | | | | | | | | In `move_focus()`, when given an output, set the focus to the workspace of that output instead of the output itself. This fixes a bug that did not allow users to switch between outputs introduced in afc6ad6. It also fixes other issues before that commit when a workspace with children was selected and the user tried to switch focus in the direction of another output.
* bugfix: cmd focus parent don't set focus above wsLibravatar Tony Crisci2016-07-27
| | | | | | | In the `focus parent` command, do not set focus above the workspace level. These containers are not meant to be focused. This prevents a crash on repeated `focus parent` commands.
* Arrange backgrounds only when requiredLibravatar Mykyta Holubakha2016-07-21
|
* Initial work on window eventsLibravatar Mykyta Holubakha2016-07-21
|
* refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵Libravatar D.B2016-07-16
| | | | where needed
* Suspend destruction of wss when creating viewsLibravatar Mykyta Holubakha2016-07-15
|
* resize command updates (#713)Libravatar Zandr Martin2016-07-03
|
* 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
* set focus on fullscreen view when changing focusLibravatar Zandr Martin2016-05-23
|
* Add support for nested tabbed/stacked containersLibravatar 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
* Fix spelling mistakesLibravatar Eric Engestrom2016-04-02
|
* Mark focused view focus_inactive on unfocused outputLibravatar Mikkel Oscar Lyderik2016-03-30
|
* 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).
* Remove focus when switching to empty workspaceLibravatar Mikkel Oscar Lyderik2016-03-05
| | | | Fix #504
* Only update visibility if WS isn't destroyed afterLibravatar Mikkel Oscar Lyderik2016-01-21
| | | | | No need to update visibility if the workspace will be destroyed right after.
* Trigger ipc_event_workspace in all casesLibravatar Mikkel Oscar Lyderik2015-12-21
| | | | | | This makes sure that the workspace IPC event is triggered when needed. Fixes #382 while making sure that the IPC event is only triggered once.
* focus: Fix moving last workspace.Libravatar S. Christoffer Eliesen2015-12-18
| | | | | If there's only one workspace on an output and it's moved to a different output then active workspace will be NULL.
* Fix dangling pointer on focus swap/describe WSLibravatar Kevin Hamacher2015-12-14
|
* Notify IPC on workspace changes more frequentlyLibravatar Drew DeVault2015-12-13
|
* Make destroy_workspace behave as expectedLibravatar Kevin Hamacher2015-12-13
|
* Fix for_window [...] move scratchpad correctlyLibravatar Drew DeVault2015-12-01
|
* Revert "Fix bug with for_window [...] move scratchpad"Libravatar Drew DeVault2015-12-01
| | | | This reverts commit 0796b0c475bb46095d14a5291d62dd8e7d098262.
* Fix bug with for_window [...] move scratchpadLibravatar Drew DeVault2015-12-01
|
* Move IPC client into common, refactor IPCLibravatar Drew DeVault2015-11-27
|
* Include header declaring ipc_event_workpace(2)Libravatar Mikkel Oscar Lyderik2015-11-04
|
* put ipc_event_workspace in update_focusLibravatar taiyu2015-11-02
|
* commands: Learn mouse_warping.Libravatar S. Christoffer Eliesen2015-10-29
| | | | | | | | | | | Place mouse at center of focused view when changing to a workspace on a different output, if option is enabled. (This replicates existing i3 option.) This can be triggered in multiple ways: A) via `workspace <name>` which changes output B) via `focus <direction>` which changes output C) via `focus output <name>` which (obviously) changes output
* log: Add swayc_log, use at a few key places.Libravatar S. Christoffer Eliesen2015-10-25
| | | | | swayc_log works just like sway_log, but appends type and name from given container to the log output.
* seamless_mouse: Move pointer only if successfully changed workspace.Libravatar S. Christoffer Eliesen2015-10-23
| | | | | | | If e.g. a window has a popup open then that will lock the current focus, making a workspace switch denied. So don't move the mouse pointer in such cases.
* update visibility + container info functionsLibravatar taiyu2015-08-27
|
* fixed segfault on exit + a little fixup of that floatfocus prLibravatar taiyu2015-08-25
|
* changed view visibility to be boolLibravatar minus2015-08-25
| | | | view_visibility enum remains with one constant that is the mask to wlc's view masking
* refactored view visibilityLibravatar minus2015-08-25
| | | | | | - replace visibilty mask integers with an enum - set output's visibilty mask on creation - added update_visibility to manually update a containers visibility (e.g. when it moved to an invisible workspace)
* fixed vanishing floating viewLibravatar taiyu2015-08-22
|