aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2018-05-03Update titles when surfaces are committedRyan Dwyer
2018-05-03Fix potential segfault when setting container titleRyan Dwyer
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer
2018-05-03Render titlesRyan Dwyer
2018-05-02Implement basic touch supportDrew DeVault
This required changing container_at_cursor to container_at_coords so that we could get the appropriate surface (and sx/xy) without moving the cursor. Future work: - Simulate a cursor for clients which have not bound to wl_touch - Keep sending motion events when moving outside the surface (#1892) - Bind gestures to sway commands
2018-05-02Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)Dillen Meijboom
2018-05-02Support alpha in border coloursRyan Dwyer
The alpha component is merged with the container's opacity. Completes #1882.
2018-05-01Fix layer surface crash on output destroydb
Before freeing sway_output, NULL the wlr_output reference to it. Check for that NULL in layer_shell handle_destroy. Don't damage null container in unmap. Additionaly, terminate swaybg if its output is being disabled.
2018-05-01Remove unnecessary pointersRyan Dwyer
2018-05-01Update cursor when border is changedRyan Dwyer
2018-05-01Fix alphabetization of commands arrayDrew DeVault
2018-05-01Restore view_update_position()Ryan Dwyer
2018-05-01Allow clicking view decorations to focus viewRyan Dwyer
2018-05-01Implement indicator borderRyan Dwyer
2018-05-01Scale borders according to output scaleRyan Dwyer
2018-05-01Fix surface offset when using bordersRyan Dwyer
2018-05-01Move docblock and fix indenting of switch/case.Ryan Dwyer
2018-05-01Implement bordersRyan Dwyer
Implements rendering of borders. Title text is still to do. Implements the following configuration directives: * client.focused * client.focused_inactive * client.unfocused * client.urgent * border * default_border
2018-05-01Fix segfault in view_unmap()Ryan Dwyer
If the last remaining view on a workspace is unmapped and the workspace is not visible, parent will be a C_OUTPUT. Call the arrange_output() function in this case.
2018-04-30Remove arrange_windows()Ryan Dwyer
After the refactor, this function is no longer called.
2018-04-29Merge branch 'master' into refactor-arrange-windowsemersion
2018-04-29Merge pull request #1867 from emersion/wlroots-923Drew DeVault
Update for wlroots#923
2018-04-28Don't call view_set_fullscreen on unmapped xwayland viewsemersion
2018-04-28Refactor arrange_windows()Ryan Dwyer
Replaces arrange_windows() with arrange_root(), arrange_output(), arrange_workspace() and arrange_children_of(). Also makes fullscreen views save and restore their dimensions, which allows it to preserve any custom resize and is also a requirement for floating views once they are implemented.
2018-04-27Update for swaywm/wlroots#923emersion
2018-04-26Rename len to msg_len. Avoids an aliased variable that was a little ↵Geoff Greer
confusing to follow.
2018-04-26invoke_swaybar(): Set process group. Kill process group.Geoff Greer
Fixes a bug where terminate_swaybar() did not terminate swaybar.
2018-04-26Add map_from_region commandemersion
2018-04-26Remove sway_container.workspace_layoutRyan Dwyer
Fixes #1716.
2018-04-25Merge branch 'master' into criteria-commandsDrew DeVault
2018-04-24Do not let tiled xwayland views do what they wantemersion
2018-04-24Fix segfault when switching back to workspace with osu!emersion
2018-04-24Update wording about unmanaged/unmapped viewsRyan Dwyer
2018-04-24Use size_t instead of int and calloc instead of mallocRyan Dwyer
2018-04-24Add assert to view_execute_criteria()Ryan Dwyer
2018-04-24Implement criteria commandsRyan Dwyer
Implements the following commands: * for_window [...] <cmdlist> * assign [...] <workspace>
2018-04-24Fix crash in container_descendants()Ryan Dwyer
If root is a C_VIEW, the children property is a null pointer.
2018-04-23Updates per swaywm/wlroots#887Drew DeVault
2018-04-23Sort workspaces after renameRyan Dwyer
2018-04-23Implement rename workspace commandRyan Dwyer
This implements the following commands: * rename workspace to new_name * rename workspace old_name to new_name * rename workspace number n to new_name
2018-04-23Render unmanaged xwayland views when an xwayland view is fullscreenRyan Dwyer
This makes Chromium and Firefox context menus appear when fullscreen.
2018-04-21Update for wlroots#885emersion
2018-04-21Merge pull request #1838 from emersion/use-wlr-renderer-init-wl-shmDrew DeVault
Use wlr_renderer_init_wl_shm
2018-04-21Merge pull request #1837 from emersion/cursor-default-to-current-timeDrew DeVault
Default to current time when triggering cursor events
2018-04-21Use wlr_renderer_init_wl_shmemersion
2018-04-21Default to current time when triggering cursor eventsemersion
2018-04-21Merge pull request #1834 from emersion/xwayland-no-unmap-on-destroyDrew DeVault
Don't unmap on destroy, this is already guaranteed by wlroots
2018-04-21Update cursor when workspace focus changesemersion
2018-04-20Don't unmap on destroy, this is already guaranteed by wlrootsemersion
2018-04-20Keep view fullscreened when moving to another workspace.Ryan Dwyer
container_handle_fullscreen_reparent() must be called *after* setting the container's new parent.