aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
AgeCommit message (Collapse)Author
2018-05-01Remove unnecessary pointersRyan Dwyer
2018-05-01Update cursor when border is changedRyan Dwyer
2018-04-30Implement bordersRyan Dwyer
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
2018-04-28Refactor arrange_windows()Ryan Dwyer
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.
2018-04-26Add map_from_region commandemersion
2018-04-26Remove sway_container.workspace_layoutRyan Dwyer
Fixes #1716.
2018-04-24Use size_t instead of int and calloc instead of mallocRyan Dwyer
2018-04-24Implement criteria commandsRyan Dwyer
Implements the following commands: * for_window [...] <cmdlist> * assign [...] <workspace>
2018-04-23Sort workspaces after renameRyan Dwyer
2018-04-23Implement rename workspace commandRyan Dwyer
This implements the following commands: * rename workspace to new_name * rename workspace old_name to new_name * rename workspace number n to new_name
2018-04-21Default to current time when triggering cursor eventsemersion
2018-04-19Merge branch 'master' into fullscreenDrew DeVault
2018-04-19Split repeat commands into separate files.Ryan Dwyer
2018-04-18Make key repeat configurableRyan Dwyer
This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 }
2018-04-18Fullscreen fixes.Ryan Dwyer
2018-04-17Feedback for fullscreen.Ryan Dwyer
2018-04-16Implement fullscreen.Ryan Dwyer
2018-04-13Fix gcc string truncation warningsDominique Martinet
2018-04-10Clean up cursor simulation code.Danny Bautista
2018-04-10Implement cursor event simulation with sway commands.Danny Bautista
2018-04-09Add workspace_auto_back_and_forth for move cmddb
2018-04-08Merge pull request #1769 from acrisci/focus-inactive-fixesDrew DeVault
Focus inactive fixes
2018-04-08Add input "identifier" map_to_output "identifier"Drew DeVault
2018-04-08Merge branch 'wlroots' into focus-inactive-fixesTony Crisci
2018-04-08Add workspace_auto_back_and_forth commanddb
This is the only missing piece - other code regarding this functionality has already been ported from pre-wlroots source.
2018-04-07container_create_notify on splitTony Crisci
2018-04-07Merge pull request #1756 from emersion/output-damageDrew DeVault
Fine-grained damage tracking
2018-04-06Simplify damage tracking functions, use them in layer shellemersion
2018-04-06Implement move [left|right|up|down]Drew DeVault
The exact semantics of this command are complicated. I'll describe each test scenario as s-expressions. Everything assumes L_HORIZ if not specified, but if you rotate everything 90 degrees the same test cases hold. ``` (container (view a) (view b focus) (view c)) -> move left (container (view b focus) (view a) (view c)) (container (view a) (view b focus) (view c)) -> move right (container (view a) (view c) (view b focus)) (container L_VERT (view a)) (container L_HORIZ (view b) (view c focus)) -> move up (container L_VERT (view a) (view c focus)) (container L_HORIZ (view b)) (workspace (view a) (view b focus) (view c)) -> move up (workspace [split direction flipped] (view b focus) (container (view a) (view c))) (workspace (view a) (view b focus) (view c)) -> move down (workspace [split direction flipped] (container (view a) (view c)) (view b focus))) Note: outputs use wlr_output_layout instead of assuming that i+/-1 is the next output in the move direction. (root (output X11-1 (workspace 1)) (output X11-2 (workspace 1 (view a focus) (view b))))) -> move left (root (output X11-1 (workspace 1 (view a focus))) (output X11-2 (workspace 1 (view b))))) (root (output X11-1 (workspace 1 (container (view a) (view b))) (output X11-2 (workspace 1 (view c focus))))) -> move left (root (output X11-1 (workspace 1 (container (view a) (view b)) (view c focus))) (output X11-2 (workspace 1))) ```
2018-04-05Implement resize commandDrew DeVault
2018-04-04Implement opacity commandTony Crisci
2018-04-03move workspace create to workspace.cTony Crisci
2018-04-03address feedbackTony Crisci
2018-04-03clean up container_get_default_layoutTony Crisci
2018-04-03unify workspace create functionsTony Crisci
2018-04-02fix more close segfaultsTony Crisci
2018-04-02cleanup split command handlersTony Crisci
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02fix workspace splitsTony Crisci
2018-04-02address feedbackTony Crisci
2018-04-02Merge branch 'wlroots' into split-containersTony Crisci
2018-04-02Merge branch 'wlroots' into seat-fixesTony Crisci
2018-04-02Fixes regarding @emersion's feedbackDrew DeVault
2018-04-0280colTony Crisci
2018-04-02Partially implement move commandDrew DeVault
Works: - move [container|window] to workspace <name> - Note, this should be able to move C_CONTAINER but this is untested - move [workspace] to output [left|right|up|down|<name>] Not implemented yet: - move [left|right|up|down] - move scratchpad - move position
2018-04-02rename seat functionsTony Crisci
2018-03-31remove default from kill switchTony Crisci
2018-03-31reap container parent on destroyTony Crisci
2018-03-31basic split containersTony Crisci
2018-03-31Implement focus_follows_mouseDrew DeVault
Also contains two other small changes: - Clicking any button will focus the container clicked (not just left) - Remove seamless_mouse (doesn't make sense on wlroots)