emersion
72ce50737d
Merge pull request #1926 from RyanDwyer/fix-setenv-path
...
Fix PATH setenv() in exec_always
7 years ago
Ryan Dwyer
1daf69477e
Fix PATH setenv() in exec_always
7 years ago
emersion
c96ac2ff2a
Merge pull request #1881 from nbraud/usr-lib
...
Install swaybar and swaybg under /usr/lib/sway
7 years ago
emersion
786727d8bb
Merge branch 'master' into usr-lib
7 years ago
Drew DeVault
967b14c227
Merge pull request #1924 from nbraud/spelling
...
swaymsg: Fix spelling in error message
7 years ago
Nicolas Braud-Santoni
30c00b2696
Merge branch 'master' into spelling
7 years ago
Nicolas Braud-Santoni
cb2a3e9036
swaymsg: Fix spelling in error message
7 years ago
Nicolas Braud-Santoni
b4249166f3
security.d: Update install paths for swaybar and swaybg
7 years ago
Nicolas Braud-Santoni
177c67e6b8
command/exec_always: Use wlr_log for logging errors in the child process
7 years ago
Nicolas Braud-Santoni
830c4ef74c
Meson: Replace option `instlibdir` with `libexecdir`
...
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir,
'sway') all over the place.
7 years ago
Nicolas Braud-Santoni
1670b46bf6
Make the LIBDIR path configurable
7 years ago
Nicolas Braud-Santoni
7709340727
exec_always: Search for executables in /usr/lib/sway
7 years ago
Nicolas Braud-Santoni
f2c209c299
Install swaybar and swaybg under /usr/lib/sway
7 years ago
Drew DeVault
a8d1b05bac
Merge pull request #1915 from RyanDwyer/title-format
...
Implement title_format
7 years ago
Ryan Dwyer
936226845f
Add extra check for view title being NULL
7 years ago
Ryan Dwyer
5d6d24e71a
Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer
da7d6642d3
Refactor parse_title_format()
7 years ago
Ryan Dwyer
d10a0a8c41
Fix memory leak in title_format command
7 years ago
Ryan Dwyer
228c478e8d
Implement title_format
...
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)
7 years ago
Drew DeVault
8dae168b77
Merge pull request #1918 from RyanDwyer/title-scissor
...
Use scissor to render title texture
7 years ago
Ryan Dwyer
e83e5487be
Use scissor to render title texture
...
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.
7 years ago
emersion
fbcbbb976c
Merge pull request #1912 from Hello71/patch-1
...
Check for NULL in container_update_title
7 years ago
Alex Xu (Hello71)
3202c45054
Check for NULL in container_update_title
...
Fixes crash when opening Firefox developer tools.
7 years ago
Drew DeVault
029c9b1796
Merge pull request #1907 from emersion/backend-input-mapping
...
Default to backend-wise input device mapping, if any
7 years ago
emersion
812525246a
Merge pull request #1901 from swaywm/touch-hide-cursor
...
Hide cursor on touch down
7 years ago
Drew DeVault
d233e75eec
Hide cursor on touch down
7 years ago
Drew DeVault
00e62c214d
Fix alphabetization of command list
7 years ago
Drew DeVault
437ae28566
Merge pull request #1906 from emersion/fix-resize-no-arg-segfault
...
Fix segfault when running the resize command without arguments
7 years ago
emersion
424006089e
Default to backend-wise input device mapping, if any
7 years ago
emersion
29224e7aec
Fix segfault when running the resize command without arguments
7 years ago
Drew DeVault
4fd3996d77
Merge pull request #1905 from RyanDwyer/fix-title-width
...
Fix title texture width
7 years ago
Ryan Dwyer
ed0d606c2a
Fix title texture width
...
Use max of the container width or text width.
7 years ago
Drew DeVault
85396b90fb
Fix unfocused.text default
7 years ago
Drew DeVault
87e65e5c5b
Merge pull request #1895 from RyanDwyer/show-titles
...
Render titles
7 years ago
Drew DeVault
58a033d816
Convert border_colors.text to float[4]
7 years ago
Drew DeVault
8f06aa7598
Fix anti-aliasing
7 years ago
Ryan Dwyer
74d1367fac
Update titles when surfaces are committed
7 years ago
Ryan Dwyer
89d1571041
Fix potential segfault when setting container title
7 years ago
Ryan Dwyer
d3d1e38c1b
Change comment format
7 years ago
Ryan Dwyer
55b307cddf
Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer
b667298a0a
Render titles
7 years ago
emersion
f3d0885524
Merge pull request #1893 from swaywm/touch
...
Implement basic touch support
7 years ago
Drew DeVault
52aa245b24
Implement basic touch support
...
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
7 years ago
Dillen Meijboom
b45e2bd95e
Fixed #1888 GCC cannot compile due to uninitialized variables ( #1889 )
7 years ago
emersion
fe9cc21ea7
Merge pull request #1886 from RyanDwyer/border-alpha
...
Support alpha in border colours
7 years ago
Ryan Dwyer
daab8e3503
Support alpha in border colours
...
The alpha component is merged with the container's opacity.
Completes #1882 .
7 years ago
Drew DeVault
c82a04e110
Merge pull request #1885 from thejan2009/master
...
Fix layer surface segfault on output destroy
7 years ago
db
22170bde77
Fix layer surface crash on output destroy
...
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.
7 years ago
emersion
0e51c7be44
Merge pull request #1874 from RyanDwyer/borders
...
Implement borders
7 years ago
Ryan Dwyer
cb07434913
Remove unnecessary pointers
7 years ago