3357 Commits (a3c531485631698109073d338da956ccaaf0a7e0)

Author SHA1 Message Date
Ian Fan bd35879e1c fixup! config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a9c5158a77 config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a82b8a3c14 Remove readline.c
6 years ago
Ian Fan 967566e37f stringop.c: rewrite strip_whitespace
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Brian Ashworth 4a3ada303b Apply implicit fallback seat config
6 years ago
John Chen 54d0f3a40e Set font options when computing text width.
6 years ago
emersion 72f8d0ff59
Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE
6 years ago
Brian Ashworth 4d88c95790 hide_cursor: change to a seat subcommand
6 years ago
Brian Ashworth 09bb71f650 Verify seat fallback settings on reload
6 years ago
Brian Ashworth 6ec2983d96 seat_cmd_cursor: work on seat name provided
6 years ago
Brian Ashworth 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth 4503ad2d19 sway-output(5): doc scaling consideration for pos
6 years ago
Brian Ashworth ae8937b11a Add failure reply on IPC_SYNC
6 years ago
Brian Ashworth 0dbf2673a1 Remove button from state on release during op
6 years ago
Drew DeVault c54258f323
Merge pull request #3346 from ermo/sway-bar_focused_statusline_colour-render-fix
6 years ago
Rune Morling 612702591c swaybar: fix focused_statusline color parsing.
6 years ago
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
6 years ago
NokiDev 9bf1b7a029 added fullscreen_mode to get_tree output
6 years ago
Brian Ashworth 3248c823ed Split image_surface handling into own function
6 years ago
Brian Ashworth 5fca74a1f1 Implement hide_cursor <timeout> command
6 years ago
Brian Ashworth a223030b70 Change mouse buttons to x11 map and libevdev names
6 years ago
Brian Ashworth 00d97cb195 sway(5): document tiling_drag
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
6 years ago
Drew DeVault 788b715776 Fixes per wlroots#1441
6 years ago
Aidan Harris 0d3cf36c85 IPC_SUBSCRIBE ensure request object is an array
6 years ago
Brian Ashworth 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Brian Ashworth 477bca5e28 Terminate swaybg in output_disable
6 years ago
Ryan Dwyer 3a4f4f5d66 Return success when renaming a workspace to itself
6 years ago
Brian Ashworth 0ea54833d4 Focus node before tiling drag if on titlebar
6 years ago
Brian Ashworth 4e2cfe0526 cmd_split: add null checks in do_split
6 years ago
Brian Ashworth 5f25541022 Allow output ids and wildcard for workspace output
6 years ago
Brian Ashworth 8d7ebc258a Allow tiling views to be dragged by the titlebar
6 years ago
Rostislav Pehlivanov 1442d4e688 Update for swaywm/wlroots#1377
6 years ago
Brian Ashworth c2499772b9 Fix focusing on non-visible workspace
6 years ago
Brian Ashworth 1897edabba Rework default output configs
6 years ago
mwenzkowski 01420193ef Fix criteria execution in view_map
6 years ago
Brian Ashworth bc981b2bbb Keep focus when destroying containers on nonvis ws
6 years ago
Brian Ashworth 6acbe84fdd Call wlr_output_enable for disabled new outputs
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan c8776fac42 Cleanup list code
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Brian Ashworth 7b23a1a0d8 cmd_split: flatten when possible
6 years ago
mwenzkowski cf6edaf26a Fix command list execution
6 years ago
Ian Fan bca21ee0cf config: do not set $XDG_CONFIG_HOME if unset or empty
6 years ago
Ian Fan de66ed4beb config: set $XDG_CONFIG_HOME if empty
6 years ago
Brian Ashworth 9b41db32ec Fix identifier output configs on reload
6 years ago
Brian Ashworth 2942bbbc60 cmd_focus: show scratchpad if hidden
6 years ago
Alex Maese 1a1a2d96cb Add option to bindsym/bindcode to suppress warning on override
6 years ago
bschacht bf11a77884 fix typo
6 years ago
Drew DeVault 974a3fbc59
Merge pull request #3227 from emersion/swap-buffers-damage-coords
6 years ago
emersion ed7bd683a7
Update for swaywm/wlroots#1403
6 years ago
mwenzkowski 68668c22e5 sway.5: Improve documentation
6 years ago
mwenzkowski b5c92e5d3b Fix the error result of the fullscreen command
6 years ago
John Axel Eriksson aef52154ec
Fix json object ipc return
6 years ago
emersion 9d18d81d48
Merge pull request #3216 from RedSoxFan/fix-empty-titlebars
6 years ago
Brian Ashworth 14cb39c772 Fix titlebar when no title or marks
6 years ago
Brian Ashworth 71ae08530a Fix default_orientation auto
6 years ago
emersion 9924d72ab2
Merge pull request #3213 from RedSoxFan/fix-3203
6 years ago
Brian Ashworth f52277f66e Fix scratchpad segfault - NULL focused workspace
6 years ago
emersion 67c7cc53ae
Merge pull request #3206 from RedSoxFan/ipc-subscribe
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
Brian Ashworth bf9a52bab0 Implement support for swaymsg -t SUBSCRIBE [-m]
6 years ago
Brian Ashworth 5341e034df
Merge pull request #3212 from martinetd/move_floating
6 years ago
Brian Ashworth e5f90f25d7 Introduce a way to show config warnings in swaynag
6 years ago
Dominique Martinet 2543834172 move to workspace: fix moving floating container to non-empty workspace
6 years ago
emersion b98563d2d7
Fix segfault when destroying unmapped child view
6 years ago
Ryan Dwyer f737854e30
Merge pull request #3199 from emersion/handle-subsurface-destroy
6 years ago
emersion 048b96a56d
Merge pull request #3204 from RedSoxFan/cmd-res-list
6 years ago
Brian Ashworth 315bca176c Do not strip quotes for cmd_mode
6 years ago
Brian Ashworth 5c6f3d7266 Change execute_command to return a list of results
6 years ago
emersion 1d30b7c0f6
Damage view child when destroyed
6 years ago
emersion fc79b7c2d2
Handle destroyed subsurfaces
6 years ago
Drew DeVault dbf8e1cead
Merge pull request #3175 from emersion/rename-gtk-primary-selection
6 years ago
Brian Ashworth a22e7b13ad
Merge pull request #3168 from mihaicmn/scratchpad-events
6 years ago
Ryan Dwyer af7a97623b
Merge pull request #3185 from emersion/remove-xopen-source
6 years ago
Mihai Coman 39db9b855d IPC: Use consistent function names across ipc-json
6 years ago
Mihai Coman 65c32e41d4 IPC: Add scratchpad containers to get_tree reply
6 years ago
Mihai Coman 6aafdd2321 IPC: Trigger move events for scratchpad containers
6 years ago
emersion c2921b2e61
Merge pull request #3169 from RedSoxFan/title-align
6 years ago
Brian Ashworth 0e6e5af983
Merge pull request #3183 from emersion/fix-escape-pango
6 years ago
Brian Ashworth e6562c8cd2 Implement title alignment
6 years ago
emersion 91bbb2a7dd
Merge pull request #3184 from kupospelov/fix-resize
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
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
6 years ago
emersion b84bf3585c
Fix pango title escaping
6 years ago
emersion 827e5513e0
Merge pull request #3179 from baloo/baloo/title_format-pango_markup
6 years ago
Arthur Gautier caee2dff03 fixes pango_markup support with title_format
6 years ago
emersion cc28f9712e
Update for swaywm/wlroots#1387
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
6 years ago
emersion 2f1050796c
ipc: fix focused in get_outputs reply
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
emersion 311c7db7e3
Add xwayland command
6 years ago
Spencer Michaels 70bc4c3ab6 Add scroll factor config option.
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
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
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
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
Ryan Dwyer 4e8bf5b328 Fix double free of mode
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
6 years ago
Drew DeVault 484bf591be
Merge pull request #3121 from c-edw/feature/MissingFrees
6 years ago
emersion 98a953a872
Fix unused function in swap command
6 years ago
Drew DeVault 47cca240e2
Merge pull request #3102 from emersion/render-software-cursors
6 years ago
Connor E eda1bf769f More frees.
6 years ago
Connor E b5d95f264d Add some missing frees.
6 years ago
emersion 2afd930914
Use #if instead of #ifdef for WLR_HAS_*
6 years ago
emersion 3b8d4a9212
Merge pull request #3116 from harishkrupo/master
6 years ago
Harish Krupo d8ad429e39 IPC: Send keyboard layout info in IPC_GET_INPUTS
6 years ago
Drew DeVault 2e43f02427
Merge pull request #2979 from RedSoxFan/config-var-repl
6 years ago
Brian Ashworth 62d69e9f14 cmd_ws_auto_back_and_forth: fix negation
6 years ago
Brian Ashworth 12876932a9 Allow multiple outputs for workspace output
6 years ago
Brian Ashworth b277000601 Alter config variable replacement process
6 years ago
emersion 528f129c98
Render software cursors with wlr_output_render_software_cursors
6 years ago
Connor E b865dabeba Use parse_boolean where possible.
6 years ago
Drew DeVault 7fa7f4f48d
Merge pull request #3085 from 7415963987456321/master
6 years ago
7415963987456321 965abe077a Remove extra line
6 years ago
Connor E 78d07f5be4 Update documentation for focus_follows_mouse.
6 years ago
Brian Ashworth c248e96b84 resize set: implement width and height keywords
6 years ago
sghctoma 7ead20bfcf Fix building with clang
6 years ago
Ryan Dwyer aad2f444f0
Merge pull request #3087 from RedSoxFan/side-gaps
6 years ago
Brian Ashworth 9e8aa39530 Implement per side and per direction outer gaps
6 years ago
Brian Ashworth 6a42643784 gaps: remove duplicate inner gaps
6 years ago
Connor E 4a21981855 Add focus_follows_mouse always. (#3081)
6 years ago
Ryan Walklin 5032acb7a5 Add relative output transform
6 years ago
Drew DeVault 25bea8f6a5
Merge branch 'master' into effective-damage
6 years ago
Rouven Czerwinski f54287eaf3 config: mention that reload message is also printed on validation
6 years ago
Rouven Czerwinski 5fdffea99a commands/exec_always: defer command on config validation
6 years ago
Brian Ashworth c8c1ecaf25 Fix focus_wrapping yes
6 years ago
emersion d0bb450681
Merge pull request #3066 from mwenzkowski/fix-gaps
6 years ago
emersion 0e85b92250
Use wlr_surface_get_effective_damage
6 years ago
mwenzkowski 67866dc378 gaps: Improve error reporting
6 years ago
mwenzkowski 60df5cc9f8 Correct manpage regarding gaps command
6 years ago
madblobfish 7d8ed7a3a7 added space after table in sway.5 manpage
6 years ago
madblobfish 417a10f477 removed unneeded code fragment
6 years ago
Cole Mickens ef888321ba ipc: move refresh from output to output->current_mode
6 years ago
Cole Mickens 71686ed0e7 fix: restore refresh to the modes_array
6 years ago
Drew DeVault c18cd9dd03
Merge pull request #3021 from Snaipe/singlekey-binding-trigger
6 years ago
Cole Mickens d05aeb77a0 sway-ipc: includes current_mode for each output
6 years ago
emersion f90ff1210b
Teardown compositor when failing to drop permissions
6 years ago
emersion 9dae68eba5
Make it clear that being able to restore root is a failure
6 years ago
mwenzkowski cd0bae80b6 Fix #2992
6 years ago
Ryan Dwyer 9fc736f4e1 Move view marks properties to container struct
6 years ago
Drew DeVault 480b03b734
Merge pull request #3040 from RyanDwyer/border-props-to-container
6 years ago
Ryan Dwyer bf19f63a79 Wrap to fartherest output when running focus output
6 years ago
Ryan Dwyer 528c7495bb Move view border properties to container struct
6 years ago
Drew DeVault e21a23348b
Merge pull request #3031 from atomnuker/master
6 years ago
Ryan Dwyer 7be309710d Remove enum movement_direction
6 years ago
Rostislav Pehlivanov b0fb2846fe Revert "Respect border settings when rendering lone tabbed/stacked child"
6 years ago
Rostislav Pehlivanov a67e1b5873 Revert "tree/view.c: fix uninitialized variables warning"
6 years ago
Franklin "Snaipe" Mathieu f8e83ee20a binding: match single-key bindings if no multi-key binding matched
6 years ago
mwenzkowski 66ae58d62a cursor: fix uninitialized pointer in cursor_rebase
6 years ago
Drew DeVault 09f3f7b75f
Merge pull request #3011 from Emantor/fix/2922
6 years ago
Drew DeVault aa21d1b867
Merge pull request #3010 from Emantor/fix/cursor_warping_view_map
6 years ago
Rouven Czerwinski e4df675840 output: initialize layers and signal before using functions
6 years ago
Rouven Czerwinski 6f87d0c2cf input-manager: consider cursor warping on input_manager_set_focus
6 years ago
Drew DeVault 2ccf511cba
Merge pull request #3006 from Snaipe/remove-class
6 years ago
emersion e3a0e3322b
Merge pull request #3000 from Robinhuett/workspace_address_output_by_name
6 years ago
Konstantin Kharlamov cd3c2f4553 seat: don't traverse the list to check if it's empty
6 years ago
Franklin "Snaipe" Mathieu 03ca8596d6 ipc: make class, instance, and title window properties optional
6 years ago
Franklin "Snaipe" Mathieu 259fe1e76f ipc: remove class key from view json
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Drew DeVault 5a98dfee02 Revert "Fix #2992"
6 years ago
Ryan Dwyer d0dca7f35e Don't reset cursor during mouse operations
6 years ago
Cole Mickens 6414b5d288 tree/view.c: fix uninitialized variables warning
6 years ago
Ryan Dwyer 65328ef60c Respect border settings when rendering lone tabbed/stacked child
6 years ago
mwenzkowski 94985146ea Fix #2992
6 years ago
Ryan Dwyer 63d076dc2a Fix focus after a non-visible workspace's last container is destroyed
6 years ago
Drew DeVault b29beb1aa0
Merge pull request #2985 from mihaicmn/fix-retiling
6 years ago
Mihai Coman 5323551a7f Fix re-tiling for floating containers
6 years ago
Ferdinand Bachmann 6409a109f6 sway-ipc: don't log errno if unneeded and add more descriptive errors
6 years ago
Tom Warnke 1670eafd7b protect newline
6 years ago
ppascher 2123dfa15f
Update workspace.c
6 years ago
ppascher db61d581a3
Update workspace.c
6 years ago
Drew DeVault 51ad2676d0
Merge pull request #2975 from RyanDwyer/deny-commands-when-no-outputs
6 years ago
Ryan Dwyer 885963f11f Deny several commands when there's no outputs connected
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Drew DeVault ea2497d35c
Merge pull request #2950 from emersion/presentation-time
6 years ago
emersion b1c49038a6
Merge pull request #2971 from RyanDwyer/document-output-identifiers
6 years ago
Ryan Dwyer ea097631af Document how to identify outputs by make, model and serial
6 years ago
Ryan Dwyer f7aed5c7e5 Fix containers not being resized when entering scratchpad
6 years ago
Ryan Dwyer 641fbe576e When scrolling on a tab titlebar, set focus_inactive if not focused
6 years ago
Drew DeVault 46fc4ba4e3
Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Ryan Dwyer 3c7fd145d5 Rebase the cursor after focusing in a direction
6 years ago
Drew DeVault bdb176863c
Merge pull request #2933 from Snaipe/xwayland-window-properties
6 years ago
emersion a654ac1bd6
Implement the presentation-time protocol
6 years ago
Franklin "Snaipe" Mathieu 8fc9328334 xwayland: populate window_properties in json for views
6 years ago
Ryan Dwyer 9c965ec58c seat_update_capabilities: Set cursor image while we have the capability
6 years ago
Ryan Dwyer 450a0661d7 Fix dormant cursor when using multiple seats
6 years ago
Ian Fan 9227cb7d67 commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST
6 years ago
Ian Fan 000d96e525 commands: clean-up checkarg function
6 years ago
Ian Fan 5364255f26 commands: remove EXPECTED_MORE_THAN
6 years ago