aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2016-10-27Log important env vars on startupDrew DeVault
2016-10-25Add left_handed support for input devicesMichał Winiarski
Some users may want to switch buttons on their input devices, turns out libinput already supports it. Let's add a support for it in our config. Signed-off-by: Michał Winiarski <knr@hardline.pl>
2016-10-20config: set pango_markup default to falseMykyta Holubakha
2016-10-12Overwrite alpha when drawing bordersDrew DeVault
This does two important things when using alpha: 1. At corners, borders don't double in opacity 2. Foreground elements (text) can be made transparent and you can see fully through to the wallpaper
2016-10-12Revert "Merge pull request #952 from ↵Drew DeVault
SirCmpwn/revert-948-floating-titlebar-click" This reverts commit 857eea8b6355deff7a12edd8b733f8057210142a, reversing changes made to ce713efcd23b82a7d85c1976ddfbd46f08133ff6.
2016-10-12Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Drew DeVault
2016-10-12Revert "also check floating cons in container_find"Drew DeVault
2016-10-11Merge pull request #945 from thejan2009/workspace_layoutDrew DeVault
Fixes dealing with workspace_layout and related bugs [rfc]
2016-10-11generalize wrapping views under workspacesD.B
2016-10-11add workspace_layout, ensure ws is always L_HORIZD.B
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type. Workspace being always L_HORIZ makes this much more i3-compatible.
2016-10-11wrap workspace's child into a container if neededD.B
If workspace has stacked/tabbed layout, its direct children should be wrapped into a container which enables them to draw the titlebar.
2016-10-11also check floating cons in container_findD.B
2016-10-11Can't move an empty workspaceNicolas Cornu
2016-10-08Merge pull request #942 from thejan2009/bugfix-931Drew DeVault
fix for_window [] move scratchpad
2016-10-08Merge pull request #941 from thejan2009/floating-borderDrew DeVault
Fix border color for floating containers
2016-10-08fix for_window [] move scratchpadD.B
- move wlc_view_set_mask before applying window criteria - check parent_container because container in scratchpad doesn't have a parent
2016-10-08reorder cmd_handler arrays for bsearchD.B
2016-10-08draw indicator border only for non-floatingD.B
2016-10-07Fix creating of sibling floating/childrenNicolas Cornu
If we want to add a sibling of different type than current container it failed. Because we add it to the wrong list
2016-10-07Add constant scale factor in get_text_sizeNicolas Cornu
af44154 forget one "get_text_size" made it possible to do a format string by setting title bar.
2016-10-07add focus changing between floating containersD.B
It will also wrap if needed.
2016-10-07add force_focus_wrapping optionD.B
2016-10-07wrap container in direction (if possible)D.B
Introduces container wrapping - if there is no other viable move, the selection wraps on the first container where such action is possible.
2016-10-06fix for click on title_barNicolas Cornu
- Check null pointer for swayc_parent_by_type - Split lines to follow coding style
2016-10-06add click on title_bar to focus a containerNicolas Cornu
2016-10-03Merge pull request #924 from zandrmartin/fix-focus-segfaultDrew DeVault
prevent dereference of freed workspace
2016-10-02consolidate nodes jsonZandr Martin
2016-10-02Merge branch 'master' into fix-focus-segfaultZandr Martin
2016-10-02prevent dereference of freed workspaceZandr Martin
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