summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorLines
2017-04-03Merge pull request #1115 from snoack/missing-includesDrew DeVault-1/+0
Superfluous include causes failures if WLC headers aren't installed globally
2017-02-20Read configs from /etc/sway/security.d/*Drew DeVault-0/+2
2017-02-20Add * policies and fix bugDrew DeVault-1/+6
2017-02-20Add initial support code for new IPC securityDrew DeVault-4/+10
2017-01-19Add window instance supportMykyta Holubakha-0/+1
2017-01-14Merge branch 'master' into masterwillakat-1/+3
2017-01-13Add output wrappingDaniel Kessler-0/+1
This fixes issue #733. Now if the user focuses output right but is at the rightmost monitor, the focus will wrap the the leftmost monitor. This commit adds a new function, swayc_opposite_output, which selects the opposite output given a position and a direction. Now, when calling output_by_name, we first check if there is an adjacent output to switch to. If that fails, we call swayc_opposite_output to handle wrapping.
2017-01-12Implement hide_edge_borders smart (like in i3 4.13)Frantisek Fladung-1/+2
2017-01-07simplification of apply_auto_layoutwil-4/+5
Achieved by introducing auto_group_bounds function that produces the start/end indexes of a group inside an auto layot container.
2017-01-07Moved auto_* layout functions from resize.c to layout.cwil-0/+4
2017-01-01Merge branch 'master' of https://github.com/willakat/swaywil-0/+1
2017-01-01[fix] cleanups suggested by Sway communitywil-5/+3
2017-01-01changed "layout promote" command to "move first"wil-1/+2
This is more consistent with other Sway semantics.
2017-01-01Fix inline is_auto_layoutDrew DeVault-3/+2
2016-12-29Added "layout promote" command.wil-0/+2
2016-12-29cleanup in auto layoutswil-1/+4
- added L_AUTO_FIRST/LAST instead of using explicit layouts. - when switching between auto layout that don't share the same major axis, invert the width/height of their child views to preserve their relative proportions.
2016-12-29introduce next/prev as a direction for focus/move commands.wil-2/+3
2016-12-29Added Awesome/Monad type "auto" layoutswil-0/+20
2016-12-17Change how security config is loaded0.11-rc3Drew DeVault-0/+5
2016-12-15Always log filename and line numberDrew DeVault-5/+0
2016-12-04fix layout switching (was broken because of workspace_layout)0.11-rc1D.B-1/+1
For workspace containers, swayc_change_layout also changes ->layout alongside ->workspace_layout when it's a sensible thing to do. There is an additional test for 'layout toggle' command which ensures that containers will be tiled horizontally after toggling from tabbed or stacked.
2016-12-04add workspace_layout to containerD.B-0/+7
Add swayc_change_layout function, which changes either layout or workspace_layout, depending on the container type.
2016-12-02Add ipc connection feature policy controlsDrew DeVault-0/+1
2016-12-02Enforce IPC security policyDrew DeVault-0/+17
2016-12-02Add IPC security policy command handlersDrew DeVault-0/+5
2016-12-02Add IPC policy to configDrew DeVault-4/+7
Also reduces enum abuse, cc @minus7
2016-12-02Enforce command policiesDrew DeVault-1/+3
2016-12-02Add support for command policies in config fileDrew DeVault-1/+10
2016-12-01Implement permit and reject commandsDrew DeVault-11/+6
2016-12-01Implement policy lookupsDrew DeVault-3/+11
2016-12-01Add config related code and initial headersDrew DeVault-3/+45
2016-11-02change bar colors from char[10] to *charD.B-29/+21
This commit removes has_* booleans from bar color struct. It also generalizes of functions in commands/bar/colors.c.
2016-11-02add bar colours for focused_(workspace|statusline|separator)D.B-1/+16
If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
2016-11-02use urgent_ws color in swaybar if binding_mode is undefinedD.B-0/+4
2016-10-25Add left_handed support for input devicesMichał Winiarski-0/+2
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-12Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Drew DeVault-7/+0
2016-10-11add workspace_layout, ensure ws is always L_HORIZD.B-0/+7
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-07add force_focus_wrapping optionD.B-0/+2
2016-10-06add click on title_bar to focus a containerNicolas Cornu-0/+4
2016-09-21add unique IDs to containersZandr Martin-0/+7
2016-09-18implement "focused container" feature for swaygrabZandr Martin-0/+10
2016-09-17add global `current_focus` pointerZandr Martin-10/+11
2016-09-07squash commits, move enum into resize.cZandr Martin-14/+0
2016-09-05Fix constant scale factor in font codeDrew DeVault-3/+5
2016-09-05Add client support for HiDPIDrew DeVault-1/+3
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsDrew DeVault-0/+1
2016-09-02Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorZandr Martin-0/+0
2016-09-01refactor commands.cZandr Martin-0/+117
2016-09-01Reorganize includesDrew DeVault-0/+0
2016-08-03Simplify focus settingTony Crisci-1/+0
Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.