aboutsummaryrefslogtreecommitdiff
path: root/sway/focus.c
AgeCommit message (Collapse)Author
2016-07-15Suspend destruction of wss when creating viewsMykyta Holubakha
2016-07-03resize command updates (#713)Zandr Martin
2016-05-28enforce workspace output assignentsZandr Martin
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
2016-05-23set focus on fullscreen view when changing focusZandr Martin
2016-04-25Add support for nested tabbed/stacked containersMikkel Oscar Lyderik
2016-04-25Fix problems with floating windowsMikkel Oscar Lyderik
Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
2016-04-25Tabbed and stacked layoutMikkel Oscar Lyderik
2016-04-17Use correct format string for x86_64 and i686Mikkel Oscar Lyderik
Fix #587
2016-04-02Fix spelling mistakesEric Engestrom
2016-03-30Mark focused view focus_inactive on unfocused outputMikkel Oscar Lyderik
2016-03-30Implement bordersMikkel Oscar Lyderik
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).
2016-03-05Remove focus when switching to empty workspaceMikkel Oscar Lyderik
Fix #504
2016-01-21Only update visibility if WS isn't destroyed afterMikkel Oscar Lyderik
No need to update visibility if the workspace will be destroyed right after.
2015-12-21Trigger ipc_event_workspace in all casesMikkel Oscar Lyderik
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.
2015-12-18focus: Fix moving last workspace.S. Christoffer Eliesen
If there's only one workspace on an output and it's moved to a different output then active workspace will be NULL.
2015-12-14Fix dangling pointer on focus swap/describe WSKevin Hamacher
2015-12-13Notify IPC on workspace changes more frequentlyDrew DeVault
2015-12-13Make destroy_workspace behave as expectedKevin Hamacher
2015-12-01Fix for_window [...] move scratchpad correctlyDrew DeVault
2015-12-01Revert "Fix bug with for_window [...] move scratchpad"Drew DeVault
This reverts commit 0796b0c475bb46095d14a5291d62dd8e7d098262.
2015-12-01Fix bug with for_window [...] move scratchpadDrew DeVault
2015-11-27Move IPC client into common, refactor IPCDrew DeVault
2015-11-04Include header declaring ipc_event_workpace(2)Mikkel Oscar Lyderik
2015-11-02put ipc_event_workspace in update_focustaiyu
2015-10-29commands: Learn mouse_warping.S. Christoffer Eliesen
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
2015-10-25log: Add swayc_log, use at a few key places.S. Christoffer Eliesen
swayc_log works just like sway_log, but appends type and name from given container to the log output.
2015-10-23seamless_mouse: Move pointer only if successfully changed workspace.S. Christoffer Eliesen
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.
2015-08-27update visibility + container info functionstaiyu
2015-08-25fixed segfault on exit + a little fixup of that floatfocus prtaiyu
2015-08-25changed view visibility to be boolminus
view_visibility enum remains with one constant that is the mask to wlc's view masking
2015-08-25refactored view visibilityminus
- 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)
2015-08-22fixed vanishing floating viewtaiyu
2015-08-21bugfixes, renamestaiyu
2015-08-20styletaiyu
2015-08-19another small fix to move_focustaiyu
2015-08-19small fixtaiyu
2015-08-19input state, find_container_in_directiontaiyu
2015-08-19fixed active_workspace update on focus changetaiyu
2015-08-19fixed some more bugs, moved layout_log into log.ch, restored focus_parenttaiyu
2015-08-18fixed floating_modifier related thingstaiyu
2015-08-18fixed focus on fullscreen view destroytaiyu
2015-08-18restored fullscreen/focus behaviortaiyu
2015-08-18Fix switching between focused outputsDrew DeVault
2015-08-18Coding style enforcementDrew DeVault
This was done by hand, so I might have missed things. If anyone knows of a good C style enforcement tool, let me know.
2015-08-18minor fixestaiyu
2015-08-18more changestaiyu
2015-08-18changed handling of focus, handling of view by typetaiyu