summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2016-10-04prevent dereference of freed workspace0.10-rc2Zandr Martin-16/+31
2016-10-04consolidate nodes jsonZandr Martin-15/+11
2016-10-04moved ipc_init above config file processing.Patrick Sauter-2/+2
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-04fix pointer format string in sway_log() callZandr Martin-1/+1
2016-09-29Correctly scale swaybarD.B-6/+6
Fixes #910. There were some missing multiplications with window->scale.
2016-09-27Merge pull request #911 from thejan2009/setgid-setuid0.10-rc1Drew DeVault-1/+9
Split setgid and setuid, add privilege check [RFC]
2016-09-27Merge pull request #914 from zandrmartin/container-idsDrew DeVault-2/+13
add unique IDs to containers
2016-09-25Merge pull request #915 from RyanDwyer/implement-workspace-number-defaultDrew DeVault-4/+6
Implement default name for workspace command
2016-09-25Implement default name for workspace commandRyan Dwyer-4/+6
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-2/+13
2016-09-20Split setgid and setuid, add privilege checkD.B-1/+9
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-19Merge pull request #909 from zandrmartin/grab-focusedDrew DeVault-48/+221
implement "focused container" option for swaygrab
2016-09-18implement "focused container" feature for swaygrabZandr Martin-48/+221
2016-09-18Merge pull request #907 from zandrmartin/fix-json-tree-focus-propertyDrew DeVault-1/+7
fix get_workspaces json reply
2016-09-17fix get_workspaces json replyZandr Martin-1/+7
2016-09-18Merge pull request #904 from zandrmartin/fix-json-tree-focus-propertyDrew DeVault-3/+1
fix view focus property in get_tree json
2016-09-17take four!Zandr Martin-3/+1
2016-09-18Merge pull request #906 from zandrmartin/global-focus-pointerDrew DeVault-10/+17
add global `current_focus` pointer
2016-09-17add global `current_focus` pointerZandr Martin-10/+17
2016-09-17Merge pull request #903 from RyanDwyer/fix-swaybar-outputDrew DeVault-4/+2
Fix swaybar when running on named outputs.
2016-09-17Fix swaybar when running on named outputs.Ryan Dwyer-4/+2
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-17Merge pull request #902 from zandrmartin/patch-2Drew DeVault-0/+6
document `workspace_auto_back_and_forth` command
2016-09-16document `workspace_auto_back_and_forth` commandZandr Martin-0/+6
2016-09-12Merge pull request #896 from thejan2009/bugfix/swaybar-whitespace-in-ws-nameDrew DeVault-2/+2
Put workspace name in quotes (swaybar ipc)
2016-09-12swaybar sends workspace name in quotesD.B-2/+2
fixes #894
2016-09-10Merge pull request #889 from thejan2009/bugfix/indicator_borderDrew DeVault-2/+5
Use indicator border color only when needed.
2016-09-10Use indicator border color only when needed.D.B-2/+5
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-08Merge pull request #888 from zandrmartin/swaybar-pango-fixDrew DeVault-1/+2
fix pango markup on swaybar
2016-09-08fix pango markup on swaybarZandr Martin-1/+2
2016-09-07Merge pull request #885 from zandrmartin/commands-refactorDrew DeVault-356/+342
merge resize.c into commands/resize.c
2016-09-07squash commits, move enum into resize.cZandr Martin-356/+342
2016-09-06Remove extraneous loggingDrew DeVault-1/+0
2016-09-05Remove HACKING.mdDrew DeVault-81/+0
2016-09-05Fix typoDrew DeVault-1/+1
2016-09-05Merge pull request #882 from SirCmpwn/move-views-between-outputsDrew DeVault-3/+38
Move views between outputs
2016-09-05Make it possible to move views between outputsMikkel Oscar Lyderik-3/+38
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-05More small cleanupDrew DeVault-7/+7
2016-09-05Minor cleanup on CONTRIBUTING.mdDrew DeVault-12/+11
2016-09-05Document release cycle in CONTRIBUTING.mdDrew DeVault-0/+22
2016-09-05Fix constant scale factor in font codeDrew DeVault-22/+36
2016-09-05Add client support for HiDPIDrew DeVault-61/+96
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault-2/+6
2016-09-05Add support for * input configsDrew DeVault-0/+10
Closes #852
2016-09-02Merge pull request #879 from zandrmartin/commands-refactorDrew DeVault-3217/+3567
refactor commands.c
2016-09-02merge in latest commitsZandr Martin-144/+144
2016-09-02Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorZandr Martin-173/+162
2016-09-01refactor commands.cZandr Martin-3217/+3567
2016-09-01Merge pull request #878 from lukaslihotzki/masterDrew DeVault-2/+2
Correct `hide_edge_borders` command
2016-09-02Correct `hide_edge_borders` commandLukas Lihotzki-2/+2
`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-18/+11
Fixes #875