Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-15 | Merge pull request #2845 from colemickens/posix_clock | Drew DeVault | |
common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC | |||
2018-10-15 | common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC | Cole Mickens | |
2018-10-15 | Merge pull request #2839 from RyanDwyer/swaylock-version | Drew DeVault | |
Fix swaylock version string | |||
2018-10-16 | Fix swaylock version string | Ryan Dwyer | |
The referenced constants were not defined so it always printed "version unknown". Also it would exit with code 1. It now exits with code 0. | |||
2018-10-15 | Merge pull request #2838 from RyanDwyer/compositor-unavailable-crash | Drew DeVault | |
Sway clients: Exit gracefully when compositor is unavailable | |||
2018-10-15 | Merge pull request #2835 from RyanDwyer/swap-crash | Drew DeVault | |
Fix crash in swap command | |||
2018-10-15 | Sway clients: Exit gracefully when compositor is unavailable | Ryan Dwyer | |
2018-10-15 | Fix crash in swap command | Ryan Dwyer | |
When swapping containers that are in the root of the workspace, parent will be NULL. | |||
2018-10-14 | Merge pull request #2831 from swaywm/move-output-docs | Drew DeVault | |
Establish sway-output(5) | |||
2018-10-14 | Establish sway-output(5) | Drew DeVault | |
2018-10-14 | Merge pull request #2826 from RyanDwyer/common-eventloop | Drew DeVault | |
Implement common event loop for swaybar and swaylock | |||
2018-10-14 | Update README.MD (and README.*.md) | Drew DeVault | |
2018-10-15 | Event loop: Fix memmove and remove extraneous declaration | Ryan Dwyer | |
2018-10-15 | Event loop: Free fds and fix race condition | Ryan Dwyer | |
2018-10-15 | Remove timerfd from loop implementation | Ryan Dwyer | |
timerfd doesn't work on the BSDs, so this replaces it with a timespec for the expiry and uses a poll timeout to check the timers when needed. | |||
2018-10-15 | swaylock: Don't wait too long for surface damage before verifying | Ryan Dwyer | |
2018-10-15 | swaylock: clear password after 10 seconds | Ryan Dwyer | |
2018-10-15 | swaylock: Remove indicator after 3 seconds | Ryan Dwyer | |
2018-10-15 | swaylock: Use common event loop | Ryan Dwyer | |
2018-10-15 | Move swaybar's event loop to common directory and refactor | Ryan Dwyer | |
* The loop functions are now prefixed with `loop_`. * It is now easy to add timers to the loop. * Timers are implemented using pollfd and timerfd, rather than manually checking them when any other event happens to arrive. | |||
2018-10-14 | Document `border csd` | Drew DeVault | |
2018-10-14 | Merge pull request #2751 from ianyfan/swaybar | Drew DeVault | |
Bar mode/hidden_state events | |||
2018-10-14 | swaybar: add documentation for hide/hidden_state subcommands | Ian Fan | |
2018-10-14 | swaybar: when hiding bar, save old height to be restored upon reshow | Ian Fan | |
Previously, when the bar was hidden, the height would be set to 0. This meant that if the bar was empty upon reshow, it would not render since the height was still 0, which made it seem there was a problem. Now, the height is not reset, but the width is, to indicate upon reshow that the layer surface needed reconfiguring. | |||
2018-10-14 | swaybar: send signal to status when hiding or showing bar | Ian Fan | |
2018-10-14 | swaybar: show hidden bar on urgency | Ian Fan | |
2018-10-14 | swaybar: show hidden bar on key event | Ian Fan | |
Since wayland does not currently allow swaybar to create global keybinds, this is handled within sway and sent to the bar using a custom event, so as not to pollute existing events, called bar_state_update. | |||
2018-10-14 | swaybar: handle mode/hidden_state changes | Ian Fan | |
As well as adding the hidden_state property to the bar config struct, this commit handles barconfig_update events when the mode or hidden_state changes, and uses a new function determine_bar_visibility to hide or show the bar as required, using, respectively, destroy_layer_surface, which is also newly added, and add_layer_surface, which has been changed to allow dynamically adding the surface. | |||
2018-10-14 | swaybar: streamline ipc handling | Ian Fan | |
The received json is handled outside of the case statement, which will allow better extensibility. This commit also introduces the variable bar_is_dirty, the return value signifying whether the bar requires rendering. | |||
2018-10-14 | swaybar: move mode & mode_pango_markup to bar struct | Ian Fan | |
This distinguishes the binding mode from the distinct config mode, as well as removing mode_pango_markup from the config struct where it should not be present. | |||
2018-10-14 | swaybar: only send initial workspace request if workspace buttons are enabled | Ian Fan | |
2018-10-14 | swaybar: add free_hotspots helper function | Ian Fan | |
2018-10-14 | swaybar: only subscribe to required events | Ian Fan | |
This adds barconfig_update to the list of subscribed events, as well as checking when the other events need to be subscribed to. | |||
2018-10-14 | swaybar: annotate wl_list properties in definitions | Ian Fan | |
2018-10-14 | swaybar: save id upon startup | Ian Fan | |
This adds an id property to the bar, which will be used to filter barconfig_update events | |||
2018-10-14 | commands: fix sending bar mode/hidden_state updates to all bars | Ian Fan | |
Previously, if a change was sent to all bars, it would only actually change the first bar it encountered, due to return value handling | |||
2018-10-14 | Merge pull request #2808 from RedSoxFan/bar-subcommands | Drew DeVault | |
Fix bar subcommand handler structs and selection | |||
2018-10-14 | Merge pull request #2829 from espkk/master | Drew DeVault | |
Fix clear_password_buffer | |||
2018-10-14 | swaylock: fix clear_password_buffer | espkk | |
2018-10-13 | Remove unnecessary comment | Drew DeVault | |
2018-10-13 | Merge pull request #2823 from tarmack/fix_edge_gaps | Brian Ashworth | |
Fix edge gaps | |||
2018-10-13 | Merge branch 'master' into fix_edge_gaps | Brian Ashworth | |
2018-10-13 | cmd_bar: simplify logic | Brian Ashworth | |
2018-10-13 | cmd_bar: fix bar id issues | Brian Ashworth | |
Allows bar-subcommand to be a valid bar-ids Destroys runtime created bar if trying to use a config only subcommand Allow subcommands (except for id) to be ids | |||
2018-10-13 | fix_edge_gaps: Allow negative values for outer gaps. | Tarmack | |
While allowing negative values for the outer gaps it is still prevented that negative values move windows out of the container. This replaces the non-i3 option for edge_gaps. | |||
2018-10-13 | bar_cmd_status_command: only reload current bar | Brian Ashworth | |
Ideally, this will be replaced with an IPC barconfig_update event in the near future | |||
2018-10-13 | Fix bar subcommand handler structs and selection | Brian Ashworth | |
2018-10-13 | Merge pull request #2828 from RyanDwyer/fix-locked-map-crash | emersion | |
Fix crash when view maps while locked | |||
2018-10-13 | Fix crash when view maps while locked | Ryan Dwyer | |
When locked, there is no active workspace so it must find the focus_inactive workspace instead. Additionally, this adds a check for if a view maps while there are no outputs connected and handles it gracefully. | |||
2018-10-12 | Merge pull request #2825 from RyanDwyer/fractional-scale-pixel-leaks | Drew DeVault | |
Fix pixel leaks when using fractional scaling |