Brian Ashworth
0e6e5af983
Merge pull request #3183 from emersion/fix-escape-pango
...
Fix pango title escaping
6 years ago
emersion
91bbb2a7dd
Merge pull request #3184 from kupospelov/fix-resize
...
resize set: fix units for floating containers
6 years ago
emersion
d46d221118
Merge pull request #3049 from ianyfan/swayidle
...
Swayidle fixes
6 years ago
Konstantin Pospelov
f9bde0030d
resize set: add assertion for an invalid unit
6 years ago
Konstantin Pospelov
a7b9e63cbc
resize set: fix units for floating containers
...
This commit fixes the default size units for floating containers, so that
pixels are used if the units are not specified.
6 years ago
emersion
b84bf3585c
Fix pango title escaping
...
This commit fixes two bugs.
First, commit [1] has inverted the condition when we escape pango markup. We
need to escape client-provided strings when markup is enabled.
Second, parse_title_format has a shortcut when title_format is set to `%title`,
and escape_pango_markup wasn't used anymore there.
Fixes https://github.com/swaywm/sway/issues/3181
[1]: caee2dff03
6 years ago
emersion
9b88ee0143
swayidle: fix dbus_event not to block
6 years ago
emersion
41ffb5b4d5
swayidle: listen when display becomes writable
6 years ago
Ian Fan
6358de3827
swaylock: fix display_event to not block
6 years ago
Ian Fan
6e2dccc2e9
swayidle: when acquiring sleep lock, initialize and free variables properly
6 years ago
emersion
827e5513e0
Merge pull request #3179 from baloo/baloo/title_format-pango_markup
...
fixes pango_markup support with title_format
6 years ago
Arthur Gautier
caee2dff03
fixes pango_markup support with title_format
...
The support for pango_markup was broken in title_format because the
formated title was escaped. I think only the payload should be escaped.
This commit fixes 789a877b37
6 years ago
emersion
d440468d2d
Merge pull request #3145 from fdlamotte/master
...
Adding commands for configuring titlebar borders and padding
6 years ago
emersion
d9ed1f080b
Merge pull request #3178 from progandy/sysconfdir
...
Meson: Fix SYSCONFDIR definition
6 years ago
progandy
c4bbd0d3c6
Meson: Fix SYSCONFDIR definition.
...
SYSCONFDIR was set to the wrong path if prefix is not '/usr' and
sysconfdir is an absolute path. Use join_paths() to fix it.
Also remove the special case for prefix '/usr'. In that case Meson
already sets sysconfdir to the absolute path '/etc', so just using
join_paths() will return the correct value.
join_paths('/usr/local', 'etc') => '/usr/local/etc'
join_paths('/usr/local', '/etc') => '/etc'
join_paths('/usr', '/etc') => '/etc'
6 years ago
Florent de Lamotte
7555c7efdc
Adding commands for configuring titlebar borders and padding
6 years ago
emersion
77554f545e
Merge pull request #3158 from emersion/get-outputs-focused
...
ipc: fix focused in get_outputs reply
6 years ago
emersion
d63f9028d7
Merge pull request #3171 from camoz/master
...
fix typo in swayidle(1)
6 years ago
camoz
075b080f54
fix typo in swayidle(1)
6 years ago
emersion
cecf00b924
Merge pull request #3160 from camoz/master
...
fix typo in config.in
6 years ago
camoz
101e4e55a2
fix typo in config.in
6 years ago
emersion
2f1050796c
ipc: fix focused in get_outputs reply
...
It's set even if a child of the output is focused.
6 years ago
emersion
bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
...
Implement strip_workspace_name.
6 years ago
Drew DeVault
67d24e8fc5
Merge pull request #3152 from camoz/master
...
fix typo in config.in
6 years ago
camoz
a476efc5a6
fix typo in config.in
6 years ago
Brian Ashworth
b2c5248ad3
Merge pull request #3018 from sxmichaels/add-scroll-factor
...
Add scroll factor input command.
6 years ago
Spencer Michaels
70bc4c3ab6
Add scroll factor config option.
6 years ago
Drew DeVault
b87250425f
Merge pull request #3147 from emersion/set10
...
Use #if instead of #ifdef
6 years ago
emersion
cad851805b
Use #if instead of #ifdef
6 years ago
Connor E
4bd46fb079
Implement strip_workspace_name.
6 years ago
Drew DeVault
eda3bfeed5
Merge pull request #3142 from RyanDwyer/move-view-properties
...
Move view {x,y,width,height} into container struct
6 years ago
Drew DeVault
a5cdc293dc
Merge pull request #3143 from colemickens/grow
...
commands/resize: fix grow vars uninitialized
6 years ago
Ryan Dwyer
be9348d25c
Move view {x,y,width,height} into container struct
...
This renames/moves the following properties:
* sway_view.{x,y,width,height} ->
sway_container.content_{x,y,width,height}
* This is required to support placeholder containers as they don't
have a view.
* sway_container_state.view_{x,y,width,height} ->
sway_container_state.content_{x,y,width,height}
* To remain consistent with the above.
* sway_container_state.con_{x,y,width,height} ->
sway_container_state.{x,y,width,height}
* The con prefix was there to give it contrast from the view
properties, and is no longer useful.
The function container_set_geometry_from_floating_view has also been
renamed to container_set_geometry_from_content.
6 years ago
Cole Mickens
fb6ef83b16
commands/resize: fix grow vars uninitialized
6 years ago
Ryan Dwyer
cb63321de6
Merge pull request #3132 from emersion/dispatch-cursor-btn-segfault
...
Fix segfault in dispatch_cursor_button
6 years ago
emersion
b67baf5108
Merge pull request #3141 from tslocum/resize-set-floating-ppt
...
resize set: convert ppt to px for floating containers
6 years ago
Trevor Slocum
f4ccc51da0
resize set: convert ppt to px for floating containers
6 years ago
emersion
4ce18d2744
Fix segfault in dispatch_cursor_button
6 years ago
Drew DeVault
c36665bc17
Merge pull request #3130 from RyanDwyer/fix-mode-double-free
...
Fix double free of mode
6 years ago
Ryan Dwyer
4e8bf5b328
Fix double free of mode
...
config->current_mode is a pointer into the config->modes list, and each
mode has already been freed.
Same with bars.
6 years ago
Brian Ashworth
0451acfb75
Merge pull request #3128 from RyanDwyer/fix-unmap-crash
...
Fix double free when unmapping any view
6 years ago
Ryan Dwyer
2115ebe39d
Fix double free when unmapping any view
6 years ago
Drew DeVault
932d6ee0d4
Merge pull request #3126 from emersion/swap-unused-function
...
Fix unused function in swap command
6 years ago
Drew DeVault
484bf591be
Merge pull request #3121 from c-edw/feature/MissingFrees
...
[WIP] Free unfreed resources.
6 years ago
emersion
98a953a872
Fix unused function in swap command
...
Also fixes a size_t cast to void *.
6 years ago
Drew DeVault
47cca240e2
Merge pull request #3102 from emersion/render-software-cursors
...
Render software cursors with wlr_output_render_software_cursors
6 years ago
Connor E
eda1bf769f
More frees.
6 years ago
Connor E
b5d95f264d
Add some missing frees.
6 years ago
Drew DeVault
27b930df24
Merge pull request #3117 from emersion/wlroots-config10
...
Use #if instead of #ifdef for WLR_HAS_*
6 years ago
emersion
2afd930914
Use #if instead of #ifdef for WLR_HAS_*
6 years ago