aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-10-02moved ipc_init above config file processing.Patrick Sauter
This is necessary because commands in the config file (mode for instance) emit ipc events, and if ipc_init has not been called the ipc_clients_list is not initialized, and we segfault. This fixes that bug.
2016-10-01fix pointer format string in sway_log() callZandr Martin
2016-09-27Merge pull request #911 from thejan2009/setgid-setuidDrew DeVault
Split setgid and setuid, add privilege check [RFC]
2016-09-27Merge pull request #914 from zandrmartin/container-idsDrew DeVault
add unique IDs to containers
2016-09-25Implement default name for workspace commandRyan Dwyer
This implements commands such as: workspace number 9: test If a workspace with the given number exists then it will be focused, otherwise a new workspace with the given name will be created.
2016-09-21add unique IDs to containersZandr Martin
2016-09-20Split setgid and setuid, add privilege checkD.B
This commit deals with issue #884. I consulted the following sources: https://www.securecoding.cert.org/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges and https://www.securecoding.cert.org/confluence/display/c/POS37-C.+Ensure+that+privilege+relinquishment+is+successful
2016-09-18implement "focused container" feature for swaygrabZandr Martin
2016-09-17fix get_workspaces json replyZandr Martin
2016-09-17take four!Zandr Martin
2016-09-17add global `current_focus` pointerZandr Martin
2016-09-17Fix swaybar when running on named outputs.Ryan Dwyer
When using a bar on a named output, load_swaybars() requires the output to be active (ie. in the root container), but this is not the case if the bar is added to the last output. To fix this, load_swaybars() is now called after the output has been added to the root container. After fixing that, swaybar would segfault due to using the wrong index variable when loading outputs and config.
2016-09-16document `workspace_auto_back_and_forth` commandZandr Martin
2016-09-10Use indicator border color only when needed.D.B
Indicator border color is now used only when a container is the only child. Reason for the change? i3 does it this way. Sway container borders are now a bit more similar to i3 ones.
2016-09-07squash commits, move enum into resize.cZandr Martin
2016-09-05Make it possible to move views between outputsMikkel Oscar Lyderik
This patch makes it possible to move views between outputs using the `move left|right|up|down` commands. It behaves similar to i3 with one important difference. The focus will always follow the view being moved, unlike i3 where the focus doesn't always follow the view to a new output (I assume that's a bug in i3).
2016-09-05Fix constant scale factor in font codeDrew DeVault
2016-09-05Add support for * input configsDrew DeVault
Closes #852
2016-09-02merge in latest commitsZandr Martin
2016-09-02Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorZandr Martin
2016-09-01refactor commands.cZandr Martin
2016-09-02Correct `hide_edge_borders` commandLukas Lihotzki
`vertical` and `horizontal` should be swapped. If border_left and border_right were set to 0, the vertical borders instead of the horizontal borders would be hidden. i3 handles this command equally.
2016-09-01Tweak how swaylock surfaces are handledDrew DeVault
Fixes #875
2016-09-01Reorganize includesDrew DeVault
2016-08-31document `orientation` commandZandr Martin
2016-08-22Fix a format stringHummer12007
2016-08-20Avoid dereferencing null configurationJames Murphy
Fixes: https://github.com/SirCmpwn/sway/issues/865
2016-08-18Add input example section to configGötz Christ
Also improve sway-input(5) description to be more consistent with sway-bar(5).
2016-08-12Update man pageGuillaume Brogi
The man page mentioned that "indicator" wasn't implemented, this isn't the case anymore.
2016-08-12Rerender after every split commandGuillaume Brogi
2016-08-11Add support for indicator colorGuillaume Brogi
2016-08-10Handle output disabling during runtimeD.B
Output now gets disabled if disable command is invoked via bindsym or IPC.
2016-08-09document all xkb settings handled by wlcManuel Mendez
2016-08-07Merge pull request #843 from thejan2009/bug/move-container-819Drew DeVault
Fix container move when workspace is focused
2016-08-07Sort workspaces when moving workspace to outputD.B
This should fix #839
2016-08-07Fix container move when workspace is focusedD.B
Fixes #819. If workspace is focused and command 'move container to workspace/output' is issued, workspace child containers are wrapped in a new container and moved according to command.
2016-08-07Display class in tab title if app_id is nullD.B
This is a feature that can't work the same as i3, because there is no real window classes in wayland. This way, we avoid null titles as much as possible.
2016-08-05Merge pull request #840 from minus7/man-inputsDrew DeVault
added get_inputs hint to man 5 sway-input
2016-08-05added get_inputs hint to man 5 sway-inputminus
2016-08-05Fix switch to prev ws on handle_view_createdD.B
Switching back to original workspace should be done only if workspace was switched while appending new view.
2016-08-04ipc: log sending of eventsTony Crisci
Log the sending of the events in the debug log. This makes ipc server events easier to verify.
2016-08-04ipc: recursive workspace containers in eventTony Crisci
Recursively describe workspace containers in the workspace event. This is for compatability with i3 and i3ipc libraries.
2016-08-04ipc: always include nodes in viewsTony Crisci
This is for i3 (and i3ipc library) compatability.
2016-08-05Arrange windows after swapping containersMykyta Holubakha
Fixes #833
2016-08-04Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clashD.B
When workspace_auto_back_and_forth is enabled, workspaces get switched twice with previously mentioned command, which is not the expected behavior. Removes one redundant creation of previous workspace.
2016-08-03Simplify focus settingTony Crisci
Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.
2016-08-03Use uintptr_t for ipc container idTony Crisci
This is for compatability with i3.
2016-08-02fixed uninitialized bar.wrap_scrollminus
2016-08-02remove unmanaged nodes from get_treeZandr Martin
2016-08-02Fix segfault in border.cDrew DeVault