aboutsummaryrefslogtreecommitdiff
path: root/sway
AgeCommit message (Collapse)Author
2018-05-06Revert "Meson: Replace option `instlibdir` with `libexecdir`"Rostislav Pehlivanov
This reverts commit 830c4ef74c00dbe448da46cdbc576178abc5728e.
2018-05-06Revert "command/exec_always: Use wlr_log for logging errors in the child ↵Rostislav Pehlivanov
process" This reverts commit 177c67e6b89404d9d477b82c00c1353cd4696096.
2018-05-06Implement pango supportRyan Dwyer
Implements support for the pango: prefix in the font command. Closes #1903.
2018-05-06Fix PATH setenv() in exec_alwaysRyan Dwyer
2018-05-05Merge branch 'master' into usr-libemersion
2018-05-05command/exec_always: Use wlr_log for logging errors in the child processNicolas Braud-Santoni
2018-05-05Meson: Replace option `instlibdir` with `libexecdir`Nicolas Braud-Santoni
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
2018-05-05exec_always: Search for executables in /usr/lib/swayNicolas Braud-Santoni
2018-05-05Add extra check for view title being NULLRyan Dwyer
2018-05-05Move code for re-arranging after font height change into a common placeRyan Dwyer
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-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-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-03Hide cursor on touch downDrew DeVault
2018-05-03Fix alphabetization of command listDrew DeVault
2018-05-03Default to backend-wise input device mapping, if anyemersion
2018-05-03Fix segfault when running the resize command without argumentsemersion
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-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-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