aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-14swaybar: move mode & mode_pango_markup to bar structIan 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-14swaybar: only send initial workspace request if workspace buttons are enabledIan Fan
2018-10-14swaybar: add free_hotspots helper functionIan Fan
2018-10-14swaybar: only subscribe to required eventsIan 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-14swaybar: annotate wl_list properties in definitionsIan Fan
2018-10-14swaybar: save id upon startupIan Fan
This adds an id property to the bar, which will be used to filter barconfig_update events
2018-10-14commands: fix sending bar mode/hidden_state updates to all barsIan 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-14Merge pull request #2808 from RedSoxFan/bar-subcommandsDrew DeVault
Fix bar subcommand handler structs and selection
2018-10-14Merge pull request #2829 from espkk/masterDrew DeVault
Fix clear_password_buffer
2018-10-14swaylock: fix clear_password_bufferespkk
2018-10-13Remove unnecessary commentDrew DeVault
2018-10-13Merge pull request #2823 from tarmack/fix_edge_gapsBrian Ashworth
Fix edge gaps
2018-10-13Merge branch 'master' into fix_edge_gapsBrian Ashworth
2018-10-13cmd_bar: simplify logicBrian Ashworth
2018-10-13cmd_bar: fix bar id issuesBrian 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-13fix_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-13bar_cmd_status_command: only reload current barBrian Ashworth
Ideally, this will be replaced with an IPC barconfig_update event in the near future
2018-10-13Fix bar subcommand handler structs and selectionBrian Ashworth
2018-10-13Merge pull request #2828 from RyanDwyer/fix-locked-map-crashemersion
Fix crash when view maps while locked
2018-10-13Fix crash when view maps while lockedRyan 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-12Merge pull request #2825 from RyanDwyer/fractional-scale-pixel-leaksDrew DeVault
Fix pixel leaks when using fractional scaling
2018-10-12Fix pixel leaks when using fractional scalingRyan Dwyer
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.
2018-10-12Merge pull request #2821 from meakio/masterRyan Dwyer
fix: cmd_sticky crash sway with empty container
2018-10-12Merge branch 'master' into masterRyan Dwyer
2018-10-11fix: cmd_sticky crash sway with empty containermeak
2018-10-11Merge pull request #2824 from chtison/masterDrew DeVault
Fix documentation of output
2018-10-11Fix documentation of outputchtison
2018-10-10Merge pull request #2817 from trmendes/libinput-disable-touchscreen-supportemersion
Add libinput send_events config for touch
2018-10-10Add libinput send_events config for touchThiago Mendes
2018-10-10Merge pull request #2806 from v-gu/add-libinput-support-for-keyboardDrew DeVault
add libinput config for keyboard
2018-10-10Merge pull request #2798 from RedSoxFan/bar-bindsymDrew DeVault
Implement bar bindsym
2018-10-10Merge branch 'master' into bar-bindsymIan Fan
2018-10-10Merge pull request #2814 from Emantor/mouse-warping-containerDrew DeVault
Add mouse_warping container
2018-10-10Merge branch 'master' into mouse-warping-containerRyan Dwyer
2018-10-10Merge pull request #2811 from RyanDwyer/fix-floating-click-eventsDrew DeVault
Fix floating click events
2018-10-10Add mouse_warping containerRouven Czerwinski
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
2018-10-10Merge pull request #2812 from RyanDwyer/fix-version-messagesemersion
Fix program name in version strings
2018-10-10Fix program name in version stringsRyan Dwyer
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.
2018-10-10Fix floating click eventsRyan Dwyer
* 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.
2018-10-10Merge pull request #2810 from RyanDwyer/fix-docs-backandforthDrew DeVault
Fix back_and_forth documentation
2018-10-10Fix back_and_forth documentationRyan Dwyer
2018-10-10Merge pull request #2809 from mwenzkowski/fix-view_autoconfigureDrew DeVault
Fix undesirable height change of floating views
2018-10-09Fix undesirable height change of floating viewsmwenzkowski
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.
2018-10-09add libinput config for keyboardVincent Gu
add send_events support
2018-10-09Merge pull request #2805 from RyanDwyer/fix-resize-return-valueDrew DeVault
resize: Determine if anything changed using before/after check
2018-10-09Merge pull request #2803 from RedSoxFan/fix-2802Drew DeVault
Only consider tiling views for gaps outer
2018-10-09resize: Determine if anything changed using before/after checkRyan Dwyer
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.
2018-10-09bar-bindsym: address ianyfan's commentsBrian Ashworth
2018-10-09Implement bar bindsymBrian Ashworth
2018-10-09Merge pull request #2804 from Emantor/swaynag-double-freeDrew DeVault
config: remove double free of config->swaynag_command