aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-05Refactor parse_title_format()Ryan Dwyer
2018-05-05Fix memory leak in title_format commandRyan Dwyer
2018-05-05Implement title_formatRyan Dwyer
This implements the title_format command, with a new placeholder %shell which gets substituted with the view type (xwayland, xdg_shell_v6 or wl_shell). Example config: for_window [title=".*"] title_format %title (class=%class instance=%instance shell=%shell)
2018-05-05Merge pull request #1918 from RyanDwyer/title-scissorDrew DeVault
Use scissor to render title texture
2018-05-05Use scissor to render title textureRyan Dwyer
This allows the title's texture to always be the full width of the text, and clipped at render time according to the desired width (eg. tabs...). As an added bonus, the texture no longer needs to be updated when containers are arranged.
2018-05-04Merge pull request #1912 from Hello71/patch-1emersion
Check for NULL in container_update_title
2018-05-04Check for NULL in container_update_titleAlex Xu (Hello71)
Fixes crash when opening Firefox developer tools.
2018-05-03Merge pull request #1907 from emersion/backend-input-mappingDrew DeVault
Default to backend-wise input device mapping, if any
2018-05-03Merge pull request #1901 from swaywm/touch-hide-cursoremersion
Hide cursor on touch down
2018-05-03Hide cursor on touch downDrew DeVault
2018-05-03Fix alphabetization of command listDrew DeVault
2018-05-03Merge pull request #1906 from emersion/fix-resize-no-arg-segfaultDrew DeVault
Fix segfault when running the resize command without arguments
2018-05-03Default to backend-wise input device mapping, if anyemersion
2018-05-03Fix segfault when running the resize command without argumentsemersion
2018-05-03Merge pull request #1905 from RyanDwyer/fix-title-widthDrew DeVault
Fix title texture width
2018-05-03Fix title texture widthRyan Dwyer
Use max of the container width or text width.
2018-05-03Fix unfocused.text defaultDrew DeVault
2018-05-03Merge pull request #1895 from RyanDwyer/show-titlesDrew DeVault
Render titles
2018-05-03Convert border_colors.text to float[4]Drew DeVault
2018-05-03Fix anti-aliasingDrew DeVault
2018-05-03Update titles when surfaces are committedRyan Dwyer
2018-05-03Fix potential segfault when setting container titleRyan Dwyer
2018-05-03Change comment formatRyan Dwyer
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer
2018-05-03Render titlesRyan Dwyer
2018-05-02Merge pull request #1893 from swaywm/touchemersion
Implement basic touch support
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-02Merge pull request #1886 from RyanDwyer/border-alphaemersion
Support alpha in border colours
2018-05-02Support alpha in border coloursRyan Dwyer
The alpha component is merged with the container's opacity. Completes #1882.
2018-05-01Merge pull request #1885 from thejan2009/masterDrew DeVault
Fix layer surface segfault on output destroy
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-01Merge pull request #1874 from RyanDwyer/bordersemersion
Implement borders
2018-05-01Remove unnecessary pointersRyan Dwyer
2018-05-01Update cursor when border is changedRyan Dwyer
2018-05-01Merge branch 'borders' of github:RyanDwyer/sway into bordersRyan 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-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