summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorLines
2016-11-17fix layout switching (was broken because of workspace_layout)0.11-rc1Furkan Sahin-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-10-10add workspace_layout to containerFurkan Sahin-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 controlsFurkan Sahin-0/+1
2016-12-02Enforce IPC security policyFurkan Sahin-0/+17
2016-12-02Add IPC security policy command handlersFurkan Sahin-0/+5
2016-12-02Add IPC policy to configFurkan Sahin-4/+7
Also reduces enum abuse, cc @minus7
2016-12-02Enforce command policiesFurkan Sahin-1/+3
2016-12-02Add support for command policies in config fileFurkan Sahin-1/+10
2016-12-01Implement permit and reject commandsFurkan Sahin-11/+6
2016-12-01Implement policy lookupsFurkan Sahin-3/+11
2016-12-01Add config related code and initial headersFurkan Sahin-3/+45
2016-11-02change bar colors from char[10] to *charFurkan Sahin-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)Furkan Sahin-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 undefinedFurkan Sahin-0/+4
2016-10-25Add left_handed support for input devicesFurkan Sahin-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]"Furkan Sahin-7/+0
2016-10-10add workspace_layout, ensure ws is always L_HORIZFurkan Sahin-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 optionFurkan Sahin-0/+2
2016-10-06add click on title_bar to focus a containerFurkan Sahin-0/+4
2016-09-21add unique IDs to containersFurkan Sahin-0/+7
2016-09-18implement "focused container" feature for swaygrabFurkan Sahin-0/+10
2016-09-17add global `current_focus` pointerFurkan Sahin-10/+11
2016-09-07squash commits, move enum into resize.cFurkan Sahin-14/+0
2016-09-05Fix constant scale factor in font codeFurkan Sahin-3/+5
2016-09-05Add client support for HiDPIFurkan Sahin-1/+3
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05Initial testing on hidpi clientsFurkan Sahin-0/+1
2016-09-02Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorFurkan Sahin-0/+0
2016-09-01refactor commands.cFurkan Sahin-0/+117
2016-09-01Reorganize includesFurkan Sahin-0/+0
2016-08-03Simplify focus settingFurkan Sahin-1/+0
Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.
2016-08-01Remove dead global locked_view_focusFurkan Sahin-1/+0
The value of `locked_view_focus` is always false. Remove dead code associated with this variable to simplify things.
2016-07-31Refactor functions to update container bordersFurkan Sahin-1/+0
Replace `update_view_border()` with `update_container_border()`. The latter should handle both the case where the container is a view or if the container has children.
2016-07-31Implement focus handling for containersFurkan Sahin-0/+5
The previous implementation of focus handling assumed that only views can be focused. Containers can also be focused with a command like `focus parent` or `focus child`. Change `set_focused_container()` to handle the case of the given container being a container with children and update borders accordingly.
2016-07-30implement solid color rendering for swaybgFurkan Sahin-6/+8
2016-07-30properly hide top border inside tabbed/stackedFurkan Sahin-0/+1
When titlebar is hidden, top border of the topmost view inside tabbed/stacked container will not be drawn. This is changed in layout.c On the other hand, top border should be drawn sometimes, for example when titlebar is hidden on a view that is not the topmost inside tabbed/stacked container. This is changed in border.c
2016-07-18Update hidpi support to latest wlc APIFurkan Sahin-0/+2
2016-07-16Initial pass on HiDPI supportFurkan Sahin-0/+1
2016-07-27Implement `focus child` commandFurkan Sahin-1/+2
The `focus child` command focuses the child container within the selected container.
2016-07-21Arrange backgrounds only when requiredFurkan Sahin-0/+1
2016-07-19More progress on window eventsFurkan Sahin-0/+1
2016-07-12Initial work on window eventsFurkan Sahin-0/+4
2016-07-20Properly construct event bitmasksFurkan Sahin-8/+8
2016-07-17Turn swaybg into a shell surfaceFurkan Sahin-0/+2
2016-07-17Implement configurable wrapping on bar ws scrollFurkan Sahin-0/+2
2016-07-16refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵Furkan Sahin-0/+6
where needed
2016-07-16Fix #753Furkan Sahin-2/+1
2016-07-11Enable windows to register to get notified when the mouse wheel is scrolledFurkan Sahin-0/+9
2016-07-11Rename pointer_input::notify to indicate that is called on button clicksFurkan Sahin-1/+1
2016-07-11Compute what workspace button is clickedFurkan Sahin-0/+6
This commit does not do anything with this information other than logging it.
2016-07-11Use int instead of wl_fixed_t for mouse coordinatesFurkan Sahin-3/+3