aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * Handle destroyed subsurfacesLibravatar emersion2018-11-27
| | | | | | | | | | | | | | | | | | | | Damage subsurfaces when they are destroyed. Since subsurfaces don't have an unmap event we need to do that on destroy. We also don't want to keep a sway_view_child when the wlr_subsurface has been destroyed. Fixes https://github.com/swaywm/sway/issues/3197
* | Merge pull request #3207 from RedSoxFan/swaynag-no-term-buttonsLibravatar emersion2018-11-28
|\ \ | | | | | | Implement swaynag -B/--button-no-terminal
| * | Implement swaynag -B/--button-no-terminalLibravatar Brian Ashworth2018-11-27
| |/ | | | | | | | | | | | | | | | | | | In `i3 4.16`, `i3-nagbar` introduces the flags `-B/--button-no-terminal` to run the action directly instead of inside a terminal. This implements the flags for swaynag for compatibility. Since swaynag does not use an equivalent to `i3-sensible-terminal`, the flags `-b/--button` only uses a terminal when the environment variable `TERMINAL` is set, otherwise it acts the same as these new flags.
* | Merge pull request #3204 from RedSoxFan/cmd-res-listLibravatar emersion2018-11-28
|\ \ | | | | | | Change execute_command to return a list of results
| * | Change execute_command to return a list of resultsLibravatar Brian Ashworth2018-11-27
| |/ | | | | | | | | | | This matches i3's behavior of returning a list of results that contain the result of each command that was executed. Additionally, the `parse_error` attribute has been added to the IPC JSON reply.
* | Merge pull request #3209 from RedSoxFan/fix-3146Libravatar emersion2018-11-28
|\ \ | |/ |/| Do not strip quotes for cmd_mode
| * Do not strip quotes for cmd_modeLibravatar Brian Ashworth2018-11-28
|/ | | | | | Like with cmd_bindsym and cmd_bindcode, the quotes should not be stripped for cmd_mode. cmd_mode performs its own stripping for the mode name and the only valid subcommands are cmd_bindsym and cmd_bindcode.
* Merge pull request #3175 from emersion/rename-gtk-primary-selectionLibravatar Drew DeVault2018-11-26
|\ | | | | Update for swaywm/wlroots#1387
| * Update for swaywm/wlroots#1387Libravatar emersion2018-11-23
| |
* | Merge pull request #3168 from mihaicmn/scratchpad-eventsLibravatar Brian Ashworth2018-11-26
|\ \ | | | | | | Fix missing IPC scratchpad replies/move events
| * | IPC: Use consistent function names across ipc-jsonLibravatar Mihai Coman2018-11-26
| | |
| * | IPC: Add scratchpad containers to get_tree replyLibravatar Mihai Coman2018-11-26
| | | | | | | | | | | | | | | This patch lists all hidden scratchpad containers as floating nodes on "__i3_scratch" workspace. This workspace resides on "__i3" output.
| * | IPC: Trigger move events for scratchpad containersLibravatar Mihai Coman2018-11-26
| | | | | | | | | | | | | | | | | | This patch allows IPC clients to receive window::move events when containers are moved to scratchpad or when hidden containers are shown via "scratchpad show" command.
* | | Merge pull request #3185 from emersion/remove-xopen-sourceLibravatar Ryan Dwyer2018-11-26
|\ \ \ | | | | | | | | Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
| * | | Replace _XOPEN_SOURCE with _POSIX_C_SOURCELibravatar emersion2018-11-25
| | | | | | | | | | | | | | | | And make sure we don't define both in the same source file.
* | | | Merge pull request #3191 from emersion/fix-swayidle-busy-dispatchLibravatar Ian Fan2018-11-26
|\ \ \ \ | |_|/ / |/| | | swayidle: fix busy loop on writable FD
| * | | swayidle: fix busy loop on writable FDLibravatar emersion2018-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wl_event_source_fd_update docs say: > File descriptors are usually writable to begin with, so they do not need to > be polled for writable until a write actually fails. When a write fails, > the event mask can be changed to poll for readable and writable, delivering > a dispatch callback when it is possible to write more. Once all data has > been written, the mask can be changed to poll only for readable to avoid > busy-looping on dispatch. So we should only poll for WL_EVENT_WRITABLE if a write fails. I'm not yet sure how to do this properly and Weston doesn't do it, so in the meantime I'll just fix the busy loop. I'll ask them too. Fixes https://github.com/swaywm/sway/issues/3190
* | | | Merge pull request #3169 from RedSoxFan/title-alignLibravatar emersion2018-11-26
|\ \ \ \ | | | | | | | | | | Implement title alignment
| * | | | Implement title alignmentLibravatar Brian Ashworth2018-11-25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for `i3 4.16`'s ability to set the title alignment. The command is `title_align left|center|right`. When the title is on the right, marks are moved to the left. Otherwise, they are on the right.
* | | | Merge pull request #3183 from emersion/fix-escape-pangoLibravatar Brian Ashworth2018-11-25
|\ \ \ \ | |/ / / |/| | | Fix pango title escaping
| * | | Fix pango title escapingLibravatar emersion2018-11-25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]: https://github.com/swaywm/sway/pull/3179/commits/caee2dff03fc007dc46cf121e013f5347ac46ba9
* | | Merge pull request #3184 from kupospelov/fix-resizeLibravatar emersion2018-11-25
|\ \ \ | | | | | | | | resize set: fix units for floating containers
| * | | resize set: add assertion for an invalid unitLibravatar Konstantin Pospelov2018-11-25
| | | |
| * | | resize set: fix units for floating containersLibravatar Konstantin Pospelov2018-11-25
| | | | | | | | | | | | | | | | | | | | This commit fixes the default size units for floating containers, so that pixels are used if the units are not specified.
* | | | Merge pull request #3049 from ianyfan/swayidleLibravatar emersion2018-11-25
|\ \ \ \ | |_|/ / |/| | | Swayidle fixes
| * | | swayidle: fix dbus_event not to blockLibravatar emersion2018-11-24
| | | |
| * | | swayidle: listen when display becomes writableLibravatar emersion2018-11-24
| | | |
| * | | swaylock: fix display_event to not blockLibravatar Ian Fan2018-11-24
| | | |
| * | | swayidle: when acquiring sleep lock, initialize and free variables properlyLibravatar Ian Fan2018-11-24
|/ / /
* | | Merge pull request #3179 from baloo/baloo/title_format-pango_markupLibravatar emersion2018-11-24
|\ \ \ | |/ / |/| | fixes pango_markup support with title_format
| * | fixes pango_markup support with title_formatLibravatar Arthur Gautier2018-11-24
| | | | | | | | | | | | | | | | | | | | | 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 789a877b379cd35c350610be62b971ae00feb542
* | | Merge pull request #3145 from fdlamotte/masterLibravatar emersion2018-11-24
|\ \ \ | | | | | | | | Adding commands for configuring titlebar borders and padding
| * | | Adding commands for configuring titlebar borders and paddingLibravatar Florent de Lamotte2018-11-22
| |/ /
* | | Merge pull request #3178 from progandy/sysconfdirLibravatar emersion2018-11-24
|\ \ \ | |/ / |/| | Meson: Fix SYSCONFDIR definition
| * | Meson: Fix SYSCONFDIR definition.Libravatar progandy2018-11-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | 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'
* | Merge pull request #3158 from emersion/get-outputs-focusedLibravatar emersion2018-11-22
|\ \ | | | | | | ipc: fix focused in get_outputs reply
| * | ipc: fix focused in get_outputs replyLibravatar emersion2018-11-19
| | | | | | | | | | | | It's set even if a child of the output is focused.
* | | Merge pull request #3171 from camoz/masterLibravatar emersion2018-11-22
|\ \ \ | |_|/ |/| | fix typo in swayidle(1)
| * | fix typo in swayidle(1)Libravatar camoz2018-11-21
|/ /
* | Merge pull request #3160 from camoz/masterLibravatar emersion2018-11-20
|\ \ | | | | | | fix typo in config.in
| * | fix typo in config.inLibravatar camoz2018-11-19
|/ /
* | Merge pull request #3083 from c-edw/feature/StripWorkspaceNameLibravatar emersion2018-11-19
|\ \ | |/ |/| Implement strip_workspace_name.
| * Implement strip_workspace_name.Libravatar Connor E2018-11-17
| |
* | Merge pull request #3152 from camoz/masterLibravatar Drew DeVault2018-11-18
|\ \ | | | | | | fix typo in config.in
| * | fix typo in config.inLibravatar camoz2018-11-19
|/ /
* | Merge pull request #3018 from sxmichaels/add-scroll-factorLibravatar Brian Ashworth2018-11-18
|\ \ | | | | | | Add scroll factor input command.
| * | Add scroll factor config option.Libravatar Spencer Michaels2018-11-18
|/ /
* | Merge pull request #3147 from emersion/set10Libravatar Drew DeVault2018-11-18
|\ \ | | | | | | Use #if instead of #ifdef
| * | Use #if instead of #ifdefLibravatar emersion2018-11-18
|/ /
* | Merge pull request #3142 from RyanDwyer/move-view-propertiesLibravatar Drew DeVault2018-11-17
|\ \ | | | | | | Move view {x,y,width,height} into container struct