aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-05-05Merge pull request #1926 from RyanDwyer/fix-setenv-pathemersion-1/+1
Fix PATH setenv() in exec_always
2018-05-06Fix PATH setenv() in exec_alwaysRyan Dwyer-1/+1
2018-05-05Merge pull request #1881 from nbraud/usr-libemersion-5/+54
Install swaybar and swaybg under /usr/lib/sway
2018-05-05Merge branch 'master' into usr-libemersion-50/+199
2018-05-05Merge pull request #1924 from nbraud/spellingDrew DeVault-1/+1
swaymsg: Fix spelling in error message
2018-05-05Merge branch 'master' into spellingNicolas Braud-Santoni-49/+198
2018-05-05swaymsg: Fix spelling in error messageNicolas Braud-Santoni-1/+1
2018-05-05security.d: Update install paths for swaybar and swaybgNicolas Braud-Santoni-3/+4
2018-05-05command/exec_always: Use wlr_log for logging errors in the child processNicolas Braud-Santoni-3/+7
2018-05-05Meson: Replace option `instlibdir` with `libexecdir`Nicolas Braud-Santoni-9/+9
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place.
2018-05-05Make the LIBDIR path configurableNicolas Braud-Santoni-4/+12
2018-05-05exec_always: Search for executables in /usr/lib/swayNicolas Braud-Santoni-0/+34
2018-05-05Install swaybar and swaybg under /usr/lib/swayNicolas Braud-Santoni-2/+4
2018-05-05Merge pull request #1915 from RyanDwyer/title-formatDrew DeVault-49/+198
Implement title_format
2018-05-05Add extra check for view title being NULLRyan Dwyer-2/+2
2018-05-05Move code for re-arranging after font height change into a common placeRyan Dwyer-16/+15
2018-05-05Refactor parse_title_format()Ryan Dwyer-51/+42
2018-05-05Fix memory leak in title_format commandRyan Dwyer-1/+1
2018-05-05Implement title_formatRyan Dwyer-42/+201
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-12/+3
Use scissor to render title texture
2018-05-05Use scissor to render title textureRyan Dwyer-12/+3
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-1/+6
Check for NULL in container_update_title
2018-05-04Check for NULL in container_update_titleAlex Xu (Hello71)-1/+6
Fixes crash when opening Firefox developer tools.
2018-05-03Merge pull request #1907 from emersion/backend-input-mappingDrew DeVault-6/+15
Default to backend-wise input device mapping, if any
2018-05-03Merge pull request #1901 from swaywm/touch-hide-cursoremersion-0/+2
Hide cursor on touch down
2018-05-03Hide cursor on touch downDrew DeVault-0/+2
2018-05-03Fix alphabetization of command listDrew DeVault-1/+1
2018-05-03Merge pull request #1906 from emersion/fix-resize-no-arg-segfaultDrew DeVault-4/+6
Fix segfault when running the resize command without arguments
2018-05-03Default to backend-wise input device mapping, if anyemersion-6/+15
2018-05-03Fix segfault when running the resize command without argumentsemersion-4/+6
2018-05-03Merge pull request #1905 from RyanDwyer/fix-title-widthDrew DeVault-4/+14
Fix title texture width
2018-05-03Fix title texture widthRyan Dwyer-4/+14
Use max of the container width or text width.
2018-05-03Fix unfocused.text defaultDrew DeVault-1/+1
2018-05-03Merge pull request #1895 from RyanDwyer/show-titlesDrew DeVault-20/+239
Render titles
2018-05-03Convert border_colors.text to float[4]Drew DeVault-9/+10
2018-05-03Fix anti-aliasingDrew DeVault-0/+4
2018-05-03Update titles when surfaces are committedRyan Dwyer-0/+3
2018-05-03Fix potential segfault when setting container titleRyan Dwyer-1/+1
2018-05-03Change comment formatRyan Dwyer-1/+1
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer-16/+91
2018-05-03Render titlesRyan Dwyer-19/+155
2018-05-02Merge pull request #1893 from swaywm/touchemersion-19/+66
Implement basic touch support
2018-05-02Implement basic touch supportDrew DeVault-19/+66
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-0/+1
2018-05-02Merge pull request #1886 from RyanDwyer/border-alphaemersion-19/+30
Support alpha in border colours
2018-05-02Support alpha in border coloursRyan Dwyer-19/+30
The alpha component is merged with the container's opacity. Completes #1882.
2018-05-01Merge pull request #1885 from thejan2009/masterDrew DeVault-2/+14
Fix layer surface segfault on output destroy
2018-05-01Fix layer surface crash on output destroydb-2/+14
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-68/+503
Implement borders
2018-05-01Remove unnecessary pointersRyan Dwyer-47/+47