aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAge
* Implement permit and reject commandsLibravatar Drew DeVault2016-12-01
|
* Implement policy lookupsLibravatar Drew DeVault2016-12-01
|
* Add config related code and initial headersLibravatar Drew DeVault2016-12-01
|
* change bar colors from char[10] to *charLibravatar D.B2016-11-02
| | | | | This commit removes has_* booleans from bar color struct. It also generalizes of functions in commands/bar/colors.c.
* add bar colours for focused_(workspace|statusline|separator)Libravatar D.B2016-11-02
| | | | | If these aren't defined in config, color settings without 'focused_' prefix are used as a fallback.
* use urgent_ws color in swaybar if binding_mode is undefinedLibravatar D.B2016-11-02
|
* Add left_handed support for input devicesLibravatar Michał Winiarski2016-10-25
| | | | | | | 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>
* Revert "Fixes dealing with workspace_layout and related bugs [rfc]"Libravatar Drew DeVault2016-10-12
|
* add workspace_layout, ensure ws is always L_HORIZLibravatar D.B2016-10-11
| | | | | | 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.
* add force_focus_wrapping optionLibravatar D.B2016-10-07
|
* add click on title_bar to focus a containerLibravatar Nicolas Cornu2016-10-06
|
* add unique IDs to containersLibravatar Zandr Martin2016-09-21
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18
|
* add global `current_focus` pointerLibravatar Zandr Martin2016-09-17
|
* squash commits, move enum into resize.cLibravatar Zandr Martin2016-09-07
|
* Fix constant scale factor in font codeLibravatar Drew DeVault2016-09-05
|
* Add client support for HiDPILibravatar Drew DeVault2016-09-05
| | | | This adds HiDPI support to swaybar, swaybg, and swaylock.
* Initial testing on hidpi clientsLibravatar Drew DeVault2016-09-05
|
* Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactorLibravatar Zandr Martin2016-09-02
|\
| * Reorganize includesLibravatar Drew DeVault2016-09-01
| |
* | refactor commands.cLibravatar Zandr Martin2016-09-01
|/
* Simplify focus settingLibravatar Tony Crisci2016-08-03
| | | | | Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow.
* Remove dead global locked_view_focusLibravatar Tony Crisci2016-08-01
| | | | | The value of `locked_view_focus` is always false. Remove dead code associated with this variable to simplify things.
* Refactor functions to update container bordersLibravatar Tony Crisci2016-07-31
| | | | | | 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.
* Implement focus handling for containersLibravatar Tony Crisci2016-07-31
| | | | | | | | | 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.
* implement solid color rendering for swaybgLibravatar Zandr Martin2016-07-30
|
* properly hide top border inside tabbed/stackedLibravatar D.B2016-07-30
| | | | | | | | | 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
* Update hidpi support to latest wlc APILibravatar Drew DeVault2016-07-28
|
* Initial pass on HiDPI supportLibravatar Drew DeVault2016-07-28
|
* Implement `focus child` commandLibravatar Tony Crisci2016-07-27
| | | | | The `focus child` command focuses the child container within the selected container.
* Arrange backgrounds only when requiredLibravatar Mykyta Holubakha2016-07-21
|
* More progress on window eventsLibravatar Mykyta Holubakha2016-07-21
|
* Initial work on window eventsLibravatar Mykyta Holubakha2016-07-21
|
* Properly construct event bitmasksLibravatar Mykyta Holubakha2016-07-20
|
* Turn swaybg into a shell surfaceLibravatar Drew DeVault2016-07-17
|
* Implement configurable wrapping on bar ws scrollLibravatar Drew DeVault2016-07-17
|
* refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵Libravatar D.B2016-07-16
| | | | where needed
* Fix #753Libravatar Drew DeVault2016-07-16
|
* Enable windows to register to get notified when the mouse wheel is scrolledLibravatar David Eklov2016-07-15
|
* Rename pointer_input::notify to indicate that is called on button clicksLibravatar David Eklov2016-07-15
|
* Compute what workspace button is clickedLibravatar David Eklov2016-07-14
| | | | This commit does not do anything with this information other than logging it.
* Use int instead of wl_fixed_t for mouse coordinatesLibravatar David Eklov2016-07-14
|
* Extract workspace size computation from render_workspace_button()Libravatar David Eklov2016-07-14
| | | | Also remove some unnecessary strtup()s and rename a few variables and functions.
* Set panels' geometries correctly and don't render them explicitlyLibravatar David Eklov2016-07-14
| | | | | | | | | | | | | | | Panels were explicitly rendered by calling wlc_surface_render in handle_output_pre_render. Calling wlc_surface_render does not set the surface's geometry (like wlc_view_set_geometry does). Sway did not call wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at the origin. This is not correct for bars unless their location is top. Furthermore, for a surface to receive pointer events, its mask has to be set to visible. This causes wlc to render these surfaces, causing panels and backgrounds to be rendered twice. This commit makes panels and surfaces visible, sets the correct geometries and removes the code that explicitly rendered them.
* Don't treat backgrounds as shell surfacesLibravatar David Eklov2016-07-14
| | | | | This code had some issues. Remove it now so that we can start clean and fix it later.
* Suspend destruction of wss when creating viewsLibravatar Mykyta Holubakha2016-07-15
|
* Fix tabbed/stacked corner case #742Libravatar D.B2016-07-07
| | | | | | Tabbed/stacked containers are now created only if a view is present on the workspace. If a view is created on previously empty tabbed/stacked workspace, it gets wrapped in a container.
* Fix formatting guide violations (spaces instead of tabs)Libravatar David Eklov2016-07-06
|
* Enable windows to register to get notified of pointer button eventsLibravatar David Eklov2016-07-06
|
* Fix formatting guide violations (spaces instead of tabs)Libravatar David Eklov2016-07-04
|