Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-17 | add global `current_focus` pointer | Zandr Martin | |
2016-09-07 | squash commits, move enum into resize.c | Zandr Martin | |
2016-09-05 | Fix constant scale factor in font code | Drew DeVault | |
2016-09-05 | Add client support for HiDPI | Drew DeVault | |
This adds HiDPI support to swaybar, swaybg, and swaylock. | |||
2016-09-05 | Initial testing on hidpi clients | Drew DeVault | |
2016-09-02 | Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor | Zandr Martin | |
2016-09-01 | refactor commands.c | Zandr Martin | |
2016-09-01 | Reorganize includes | Drew DeVault | |
2016-08-03 | Simplify focus setting | Tony Crisci | |
Merge the main rendering paths of all containers to make focus setting a bit simpler and easier to follow. | |||
2016-08-01 | Remove dead global locked_view_focus | Tony Crisci | |
The value of `locked_view_focus` is always false. Remove dead code associated with this variable to simplify things. | |||
2016-07-31 | Refactor functions to update container borders | Tony Crisci | |
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-31 | Implement focus handling for containers | Tony Crisci | |
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-30 | implement solid color rendering for swaybg | Zandr Martin | |
2016-07-30 | properly hide top border inside tabbed/stacked | D.B | |
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-28 | Update hidpi support to latest wlc API | Drew DeVault | |
2016-07-28 | Initial pass on HiDPI support | Drew DeVault | |
2016-07-27 | Implement `focus child` command | Tony Crisci | |
The `focus child` command focuses the child container within the selected container. | |||
2016-07-21 | Arrange backgrounds only when required | Mykyta Holubakha | |
2016-07-21 | More progress on window events | Mykyta Holubakha | |
2016-07-21 | Initial work on window events | Mykyta Holubakha | |
2016-07-20 | Properly construct event bitmasks | Mykyta Holubakha | |
2016-07-17 | Turn swaybg into a shell surface | Drew DeVault | |
2016-07-17 | Implement configurable wrapping on bar ws scroll | Drew DeVault | |
2016-07-16 | refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use ↵ | D.B | |
where needed | |||
2016-07-16 | Fix #753 | Drew DeVault | |
2016-07-15 | Enable windows to register to get notified when the mouse wheel is scrolled | David Eklov | |
2016-07-15 | Rename pointer_input::notify to indicate that is called on button clicks | David Eklov | |
2016-07-14 | Compute what workspace button is clicked | David Eklov | |
This commit does not do anything with this information other than logging it. | |||
2016-07-14 | Use int instead of wl_fixed_t for mouse coordinates | David Eklov | |
2016-07-14 | Extract workspace size computation from render_workspace_button() | David Eklov | |
Also remove some unnecessary strtup()s and rename a few variables and functions. | |||
2016-07-14 | Set panels' geometries correctly and don't render them explicitly | David Eklov | |
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. | |||
2016-07-14 | Don't treat backgrounds as shell surfaces | David Eklov | |
This code had some issues. Remove it now so that we can start clean and fix it later. | |||
2016-07-15 | Suspend destruction of wss when creating views | Mykyta Holubakha | |
2016-07-07 | Fix tabbed/stacked corner case #742 | D.B | |
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. | |||
2016-07-06 | Fix formatting guide violations (spaces instead of tabs) | David Eklov | |
2016-07-06 | Enable windows to register to get notified of pointer button events | David Eklov | |
2016-07-04 | Fix formatting guide violations (spaces instead of tabs) | David Eklov | |
2016-07-04 | Move code to make a window a shell surface into seperate function | David Eklov | |
2016-07-04 | Enable backgrounds and panels to be shell surfaces | David Eklov | |
Prior to this commit all windows (e.g. shell surfaces) were handled the same way in handle_view_created. Since backgrounds and panels have to be treated differently, they could not be shell surfaces. This changes checks whether a client is a background or a panel in handle_view_created and exists to let them be dealt with elsewhere. | |||
2016-07-04 | Merge branch 'master' into get-tree-command | Zandr Martin | |
2016-07-04 | implement `get_tree` command | Zandr Martin | |
2016-07-03 | typo in focus.h | Zandr Martin | |
2016-07-03 | resize command updates (#713) | Zandr Martin | |
2016-06-27 | Add get_log_level() to encapsulate v (current log level) | David Eklov | |
This patch also makes all global variable in log.c static. | |||
2016-06-11 | implement resize command for absolute dimensions | Zandr Martin | |
2016-06-11 | cleanup + add timeouts for pid_workspace list | Zandr Martin | |
2016-06-11 | clean up pid/workspace stuff | Zandr Martin | |
2016-06-10 | semi-working (only non-client/server wayland apps) | Zandr Martin | |
2016-06-06 | messy, unfinished version | Zandr Martin | |
2016-06-02 | implement stable sort for lists | Zandr Martin | |
also change sort_workspaces() to use it |