summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* swaybar: show hidden bar on urgencyLibravatar Ian Fan2018-10-14
|
* swaybar: show hidden bar on key eventLibravatar Ian Fan2018-10-14
| | | | | | 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.
* swaybar: handle mode/hidden_state changesLibravatar Ian Fan2018-10-14
| | | | | | | | | 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.
* swaybar: streamline ipc handlingLibravatar Ian Fan2018-10-14
| | | | | | | 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.
* swaybar: move mode & mode_pango_markup to bar structLibravatar Ian Fan2018-10-14
| | | | | | 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.
* swaybar: only send initial workspace request if workspace buttons are enabledLibravatar Ian Fan2018-10-14
|
* swaybar: add free_hotspots helper functionLibravatar Ian Fan2018-10-14
|
* swaybar: only subscribe to required eventsLibravatar Ian Fan2018-10-14
| | | | | This adds barconfig_update to the list of subscribed events, as well as checking when the other events need to be subscribed to.
* swaybar: annotate wl_list properties in definitionsLibravatar Ian Fan2018-10-14
|
* swaybar: save id upon startupLibravatar Ian Fan2018-10-14
| | | | | This adds an id property to the bar, which will be used to filter barconfig_update events
* commands: fix sending bar mode/hidden_state updates to all barsLibravatar Ian Fan2018-10-14
| | | | | Previously, if a change was sent to all bars, it would only actually change the first bar it encountered, due to return value handling
* Merge pull request #2808 from RedSoxFan/bar-subcommandsLibravatar Drew DeVault2018-10-14
|\ | | | | Fix bar subcommand handler structs and selection
| * cmd_bar: simplify logicLibravatar Brian Ashworth2018-10-13
| |
| * cmd_bar: fix bar id issuesLibravatar Brian Ashworth2018-10-13
| | | | | | | | | | | | 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
| * bar_cmd_status_command: only reload current barLibravatar Brian Ashworth2018-10-13
| | | | | | | | | | Ideally, this will be replaced with an IPC barconfig_update event in the near future
| * Fix bar subcommand handler structs and selectionLibravatar Brian Ashworth2018-10-13
| |
* | Merge pull request #2829 from espkk/masterLibravatar Drew DeVault2018-10-14
|\ \ | | | | | | Fix clear_password_buffer
| * | swaylock: fix clear_password_bufferLibravatar espkk2018-10-14
|/ /
* | Remove unnecessary commentLibravatar Drew DeVault2018-10-13
| |
* | Merge pull request #2823 from tarmack/fix_edge_gapsLibravatar Brian Ashworth2018-10-13
|\ \ | |/ |/| Fix edge gaps
| * Merge branch 'master' into fix_edge_gapsLibravatar Brian Ashworth2018-10-13
| |\ | |/ |/|
* | Merge pull request #2828 from RyanDwyer/fix-locked-map-crashLibravatar emersion2018-10-13
|\ \ | | | | | | Fix crash when view maps while locked
| * | Fix crash when view maps while lockedLibravatar Ryan Dwyer2018-10-13
|/ / | | | | | | | | | | | | | | 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.
| * fix_edge_gaps: Allow negative values for outer gaps.Libravatar Tarmack2018-10-13
|/ | | | 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.
* Merge pull request #2825 from RyanDwyer/fractional-scale-pixel-leaksLibravatar Drew DeVault2018-10-12
|\ | | | | Fix pixel leaks when using fractional scaling
| * Fix pixel leaks when using fractional scalingLibravatar Ryan Dwyer2018-10-12
|/ | | | | | | | | | | | | The basic idea here is to apply rounding after scaling. It's not as simple as this, though, and I've detailed it in the comments for a function. In order to fix some pixel leaks in the title bar, I found it easier to change how we place rectangles to fill the area. Instead of placing two rectangles across the full width above and below the title and having shorter rectangles in the inner area, it's now pieced together in vertical chunks. This method involves drawing two less rectangles per container.
* Merge pull request #2821 from meakio/masterLibravatar Ryan Dwyer2018-10-12
|\ | | | | fix: cmd_sticky crash sway with empty container
| * Merge branch 'master' into masterLibravatar Ryan Dwyer2018-10-12
| |\ | |/ |/|
* | Merge pull request #2824 from chtison/masterLibravatar Drew DeVault2018-10-11
|\ \ | | | | | | Fix documentation of output
| * | Fix documentation of outputLibravatar chtison2018-10-11
|/ /
| * fix: cmd_sticky crash sway with empty containerLibravatar meak2018-10-11
|/
* Merge pull request #2817 from trmendes/libinput-disable-touchscreen-supportLibravatar emersion2018-10-10
|\ | | | | Add libinput send_events config for touch
| * Add libinput send_events config for touchLibravatar Thiago Mendes2018-10-10
|/
* Merge pull request #2806 from v-gu/add-libinput-support-for-keyboardLibravatar Drew DeVault2018-10-10
|\ | | | | add libinput config for keyboard
| * add libinput config for keyboardLibravatar Vincent Gu2018-10-09
| | | | | | | | add send_events support
* | Merge pull request #2798 from RedSoxFan/bar-bindsymLibravatar Drew DeVault2018-10-10
|\ \ | | | | | | Implement bar bindsym
| * \ Merge branch 'master' into bar-bindsymLibravatar Ian Fan2018-10-10
| |\ \ | |/ / |/| |
* | | Merge pull request #2814 from Emantor/mouse-warping-containerLibravatar Drew DeVault2018-10-10
|\ \ \ | | | | | | | | Add mouse_warping container
| * \ \ Merge branch 'master' into mouse-warping-containerLibravatar Ryan Dwyer2018-10-10
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2811 from RyanDwyer/fix-floating-click-eventsLibravatar Drew DeVault2018-10-10
|\ \ \ \ | | | | | | | | | | Fix floating click events
| * | | | Fix floating click eventsLibravatar Ryan Dwyer2018-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set focus to a floating container when clicking its title bar. * Raise floating when user clicks title bar or decorations (in the seat_begin functions). * In container_at, it only returned a floating container if the user had clicked the surface. This makes it use floating_container_at instead.
| | * | | Add mouse_warping containerLibravatar Rouven Czerwinski2018-10-10
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | This option always moves the cursor into the middle of the container if the warp variable is true in seat_set_focus_warp. Fixes #2577
* | | | Merge pull request #2812 from RyanDwyer/fix-version-messagesLibravatar emersion2018-10-10
|\ \ \ \ | |/ / / |/| | | Fix program name in version strings
| * | | Fix program name in version stringsLibravatar Ryan Dwyer2018-10-10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running swaymsg -v, the version returned is actually the version of swaymsg itself, yet the message displayed was "sway version <version>". This can create confusion if users update sway and swaymsg but don't restart sway, then use swaymsg to check the version. This patch changes the wording to be "swaymsg version <version>" instead, and likewise for swaybar. To get the version of a running sway instance, users should run swaymsg -t get_version.
* | | Merge pull request #2810 from RyanDwyer/fix-docs-backandforthLibravatar Drew DeVault2018-10-10
|\ \ \ | | | | | | | | Fix back_and_forth documentation
| * | | Fix back_and_forth documentationLibravatar Ryan Dwyer2018-10-10
|/ / /
* | | Merge pull request #2809 from mwenzkowski/fix-view_autoconfigureLibravatar Drew DeVault2018-10-10
|\ \ \ | |_|/ |/| | Fix undesirable height change of floating views
| * | Fix undesirable height change of floating viewsLibravatar mwenzkowski2018-10-09
|/ / | | | | | | | | | | | | In view_autoconfigure the height of the view is adjusted if the parent container has a tabbed/stacked layout. Previously this height change would also be applied to floating views, although it is not needed for them.
* | Merge pull request #2805 from RyanDwyer/fix-resize-return-valueLibravatar Drew DeVault2018-10-09
|\ \ | | | | | | resize: Determine if anything changed using before/after check
| * | resize: Determine if anything changed using before/after checkLibravatar Ryan Dwyer2018-10-09
| | | | | | | | | | | | | | | | | | Returning a boolean from container_resize_tiled and resize_tiled doesn't work in all cases. This patch changes it back to void and does a before/after check to see if the container was resized.