3898 Commits (704d675a36811bdf3de5c95d5e0e7ce2b57b3157)

Author SHA1 Message Date
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
Ian Fan a9fdd5dd2a commands: print correct command on error for exec and opacity
6 years ago
Brian Ashworth 6a9930f451 cmd_swaynag_command: fix typo in variable
6 years ago
Drew DeVault 5c6240a906
Merge pull request #2935 from mteyssier/ref-output-docs
6 years ago
mteyssier f530ac6459 Add references to sway-output(5) in sway(5)
6 years ago
Brian Ashworth 31f82830b2 config: remove peeked + expanded line log entries
6 years ago
Brian Ashworth bb06a57a71
Merge branch 'master' into fix-scratchpad-resize
6 years ago
Drew DeVault d9ed9445de
Merge pull request #2926 from RyanDwyer/fix-xwayland-floating-logic
6 years ago
Ryan Dwyer 662466e8db Fix crash when resizing container hidden in the scratchpad
6 years ago
Drew DeVault cdbfc3338b
Merge pull request #2924 from RyanDwyer/fix-qt-menu-crash
6 years ago
Drew DeVault ef532154c3
Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crash
6 years ago
Ryan Dwyer 16ef702645 Fix xwayland wants_floating logic
6 years ago
Ryan Dwyer 6deb726873 Fix crash when quitting a QT app on the wayland backend using menu
6 years ago
Ryan Dwyer f04b8f0061 Fix crash when moving a container to a fullscreen workspace
6 years ago
Brian Ashworth 80e8be71a3 cmd_reload: recalc font sizing + rebuild textures
6 years ago
Christian 989bddc765 Parse missing i3 window types
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
Ryan Dwyer ebeb759873 Abort if proprietary drivers are in use
6 years ago
Drew DeVault 64534d2fd1
Merge pull request #2895 from RyanDwyer/fix-popup-damage
6 years ago
Drew DeVault 551e05ba90
Merge pull request #2888 from RyanDwyer/remove-raise-floating
6 years ago
Ryan Dwyer 93ec1af4d9 Fix popup damage issues when toplevel and/or popup uses geometry
6 years ago
Mihai Coman 3daf963d4d Fix crash when defaut seat is not created
6 years ago
Ryan Dwyer b9b1b0e566 Remove raise_floating directive
6 years ago
emersion 75ea19c71b
Merge pull request #2870 from RyanDwyer/refactor-input-manager
6 years ago
emersion fe6aea1d02
Merge pull request #2886 from RyanDwyer/fix-headless-unmap-crash
6 years ago
emersion 4bde0eb911
Merge pull request #2879 from Emantor/fix/swaybar_position
6 years ago
Rouven Czerwinski 17fb3b6994 commands/bar: remove left and right from allowed positions
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Ryan Dwyer ed771a6a6e Fix crash when view unmaps while no outputs connected
6 years ago
Drew DeVault 5b8257b88f
Merge pull request #2872 from RyanDwyer/cursor-rebase
6 years ago
Ryan Dwyer 9b828939e5 Fix crash when ending tiling drag
6 years ago
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Ryan Dwyer 4d743b64d0 Fix logic used for mouse_warping output
6 years ago
Drew DeVault 96e3686ae8
Merge pull request #2875 from RedSoxFan/input-device-bindings
6 years ago
Ryan Dwyer a2fdac2c4b Consider cursor warp when switching workspaces
6 years ago
Brian Ashworth 2e637b7368 cmd_bind{sym,code}: Implement per-device bindings
6 years ago
Ryan Dwyer 24a90e5d86 Remove cursor warping from seat_set_focus
6 years ago
emersion fd9198a3a4 Export XCURSOR_SIZE and XCURSOR_THEME
6 years ago
Drew DeVault 10d07478ad
Merge pull request #2858 from RyanDwyer/fix-move-to-floating-ws
6 years ago
Drew DeVault e46c3ffbc9
Merge pull request #2861 from RyanDwyer/fix-empty-workspace-crashes
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Ryan Dwyer 17014c34e2 Fix crashes when running certain commands on an empty workspace
6 years ago
Ryan Dwyer 799f285cd1 Fix moving tiled containers to workspaces which only have floating views
6 years ago
Rouven Czerwinski 1f0aeae335 view: rewarp cursor during view_unmap
6 years ago
Rouven Czerwinski d69cf4c23c seat: use new warping functions for cursor warping during focus warp
6 years ago
Rouven Czerwinski 0969bf758b cursor: functions to warp cursor to container and workspace
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer d0974d5c50 Fix crash when using workspace back_and_forth with no previous
6 years ago
Ian Fan ac20690945
Merge branch 'master' into set-set-raw-focus
6 years ago
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Ryan Dwyer fe803b89a7 Fix crash in swap command
6 years ago
Drew DeVault b69060fc58 Establish sway-output(5)
6 years ago
Drew DeVault 7f2e6d812a Document `border csd`
6 years ago
Ian Fan 85dd36e92b swaybar: add documentation for hide/hidden_state subcommands
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Ian Fan 1f90f92f45 commands: fix sending bar mode/hidden_state updates to all bars
6 years ago
Drew DeVault abde9d6627
Merge pull request #2808 from RedSoxFan/bar-subcommands
6 years ago
Drew DeVault 71aaa7e130 Remove unnecessary comment
6 years ago
Brian Ashworth 02aeb0f0be
Merge branch 'master' into fix_edge_gaps
6 years ago
Brian Ashworth 2a0c7ebd43 cmd_bar: simplify logic
6 years ago
Brian Ashworth 84b28dc593 cmd_bar: fix bar id issues
6 years ago
Tarmack 36d9037f2c fix_edge_gaps: Allow negative values for outer gaps.
6 years ago
Brian Ashworth 2340b14eba bar_cmd_status_command: only reload current bar
6 years ago
Brian Ashworth 00745d6280 Fix bar subcommand handler structs and selection
6 years ago
Ryan Dwyer 9190735947 Fix crash when view maps while locked
6 years ago
Ryan Dwyer c699a86e47 Fix pixel leaks when using fractional scaling
6 years ago
Ryan Dwyer 27fb146121
Merge branch 'master' into master
6 years ago
meak 9e96ce4a46 fix: cmd_sticky crash sway with empty container
6 years ago
chtison 5ab7755649 Fix documentation of output
6 years ago
Thiago Mendes 8e147b3f1d
Add libinput send_events config for touch
6 years ago
Drew DeVault 5d19906556
Merge pull request #2806 from v-gu/add-libinput-support-for-keyboard
6 years ago
Ian Fan cd6917d4a8
Merge branch 'master' into bar-bindsym
6 years ago
Ryan Dwyer ed33d95b6a
Merge branch 'master' into mouse-warping-container
6 years ago
Rouven Czerwinski 41991542ca Add mouse_warping container
6 years ago
Ryan Dwyer 416bb7a214 Fix floating click events
6 years ago
Ryan Dwyer 8c98bde20d Fix back_and_forth documentation
6 years ago
mwenzkowski fd645a2a88 Fix undesirable height change of floating views
6 years ago
Vincent Gu 073aa4149f add libinput config for keyboard
6 years ago
Drew DeVault 43875c437b
Merge pull request #2805 from RyanDwyer/fix-resize-return-value
6 years ago
Drew DeVault 53164c4aa2
Merge pull request #2803 from RedSoxFan/fix-2802
6 years ago
Ryan Dwyer 61699a1146 resize: Determine if anything changed using before/after check
6 years ago
Brian Ashworth d3f0e52784 bar-bindsym: address ianyfan's comments
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
Rouven Czerwinski 1eb0dc2922 config: remove double free of config->swaynag_command
6 years ago
Brian Ashworth 5e9c61ac23 Only consider tiling views for gaps outer
6 years ago
Drew DeVault 4bebee620f
Merge pull request #2772 from RyanDwyer/improve-popup-damage
6 years ago
Brian Ashworth 3f328b6276
Merge branch 'master' into popup-during-fullscreen
6 years ago
Ian Fan efb123899f commands: when setting urgency, check container is not null
6 years ago
Brian Ashworth 09c3c33081 Allow swaynag to be disabled
6 years ago
emersion 45f2cd0c73
Merge pull request #2793 from emersion/disable-swaybg
6 years ago
Ryan Dwyer d21d2c8665 Remove duplicate code
6 years ago
Ryan Dwyer b8002fc0c4 Look for any ancestor when checking for fullscreen exit
6 years ago
Ryan Dwyer 88317b59ce Use current state when rendering transient containers
6 years ago
emersion ab3a397d58 Fix memory leak in status_command handler
6 years ago
John Axel Eriksson 08139daaa4
Check if there is a current container before setting it's opacity
6 years ago
emersion c988b03d85 Allow swaybg to be disabled
6 years ago
Ryan Dwyer f23588de3c Introduce container_is_transient_for
6 years ago
Ryan Dwyer 832ebc8966 Implement popup_during_fullscreen
6 years ago
Ryan Dwyer 5e1983660d Allow status_command to be disabled via IPC
6 years ago
Ryan Dwyer 41bfd8c790 swaybar: allow null status_command
6 years ago
Ryan Dwyer e168e8f0ff Don't apply seat config when validating
6 years ago
Ryan Dwyer 88a5e26c6e Remove unneeded variable
6 years ago
Ryan Dwyer 82423991a8 Reload config using idle event
6 years ago
Drew DeVault 92e1fc00fd Shim client.background and client.placeholder
6 years ago
Ryan Dwyer caed15af82 Handle subsurfaces in view_child_damage
6 years ago
Ryan Dwyer 59ba528bd9 Use wlr_xdg_popup_get_toplevel_coords
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ian Fan 2cda0b1fe1 ipc: set "type" of floating containers to "floating_con"
6 years ago
Ryan Dwyer c620f76bea Move sticky containers when switching workspace via criteria
6 years ago
Ryan Dwyer 44b550298e Fix crash when flattening container after moving
6 years ago
Ian Fan e2dc6dfcd8 Remove obsolete base64.c file
6 years ago
Drew DeVault eecebcafc6 Fix #2763
6 years ago
emersion 0d5c2f75b5
Merge pull request #2760 from RyanDwyer/swaylock-handle-output-disconnect
6 years ago
Ryan Dwyer 4feedbf7cf Ignore unrelated cursor buttons while doing seat operations
6 years ago
Ryan Dwyer 32cb631143 Give focus to another swaylock surface when output is disconnected
6 years ago
emersion 681ed1826d
Merge pull request #2759 from minus7/fix-view-container-null
6 years ago
minus 95d7d5f4ee Fix crash if view has no container
6 years ago
Jonathan Buch 426c33f4dc
Reenable popup-handling for determining focus
6 years ago
Jonathan Buch 7e978d7a4c
Use "raycasting" for determining focus for floating windows
6 years ago
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago
Jonathan Buch 8bec0c90c7
Add manpage documentatioon for raise_floating
6 years ago
Jonathan Buch ec713125c6
Simplify raising a container in seat
6 years ago
Jonathan Buch 298ccb539c
Add configuration for raising containers on focus
6 years ago
Ryan Dwyer 5dd535b67a Add sanity check for empty focus stack
6 years ago
Drew DeVault e60ad3f677 Fix some missing commands in sway-input(5)
6 years ago
Drew DeVault 06c214a800
Merge pull request #2703 from RyanDwyer/csd-border
6 years ago
Ryan Dwyer a519fb6fde Fix tiling criteria
6 years ago
Ryan Dwyer 677e112733 Set focus_inactive on a sibling when a container closes in an inactive workspace
6 years ago
Brian Ashworth bb25194844 Handle border options for gaps
6 years ago
Ryan Dwyer 82559c16c7
Merge branch 'master' into fix-2653
6 years ago
Drew DeVault 9956a1a9ab
Merge pull request #2735 from RedSoxFan/fix-quotes
6 years ago
Brian Ashworth 742d1764a6 Fix smart gaps
6 years ago
Drew DeVault 51f68e10ad
Merge pull request #2737 from Ragnis/criteria-floating
6 years ago
Ragnis Armus 1bd695ffd2 Parse floating criteria
6 years ago
Brian Ashworth a125575eb5 Do not strip quotes for cmd_set
6 years ago
Brian Ashworth 87a70b3591 Do not strip quotes for exec or bind commands
6 years ago
Arkadiusz Hiler eed0bc3ebd Add support for installing binaries with DT_RPATH
6 years ago
Drew DeVault f1dbdce0b2
Merge pull request #2726 from RyanDwyer/overhaul-gaps
6 years ago
Drew DeVault e518c5dbaf
Merge pull request #2728 from RedSoxFan/move-sticky-on-evac
6 years ago
Drew DeVault 8f6aca2166
Merge pull request #2725 from PumbaPe/add-tap-and-drag
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
Arkadiusz Hiler 00dfb76832 Remove libcap/prctl artifacts
6 years ago
Ryan Dwyer 24bcb507ec Fix hotplugging down to zero outputs
6 years ago
emersion a53171669a
Merge pull request #2698 from ianyfan/hide-cursor
6 years ago
PP ae2b70f59e add tap-and-drag setting to sway-input
6 years ago
emersion 351e722b6e
Merge pull request #2729 from RyanDwyer/resize-return-false
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Brian Ashworth 8f09ba7885 Move sticky containers in output_evacuate
6 years ago
Brian Ashworth 0a0cf4540a Fix quote handling for commands
6 years ago
Brian Ashworth af45ee2d8b Handle shell special characters in bg file path
6 years ago
Ryan Dwyer 7661c71b33 Update gaps documentation
6 years ago
Ryan Dwyer bb708d0f82 Don't allow negative gaps
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Brian Ashworth a9d9944e76 sway{,bar,input}.5: changes for generic blocks
6 years ago
Brian Ashworth cc6544c538 sway.5: update set command information
6 years ago
Ian Fan 98576b9dda swaybar: fix setting binding mode indicator
6 years ago
Ryan Dwyer 56e9f31b2f Check for NULL output in workspace_valid_on_output
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Ian Fan 0dfcadc1cf transaction: do not use pointers for state
6 years ago
Ryan Dwyer 22412f57b0 Fix floating views in tabbed/stacked workspaces not getting frame events
6 years ago
Ryan Dwyer f16529e258 Remove server-decoration assumption if view supports xdg-decoration
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer 6d0442c0c2 Rename view_set_csd_from_client to view_update_csd_from_client
6 years ago
Ryan Dwyer efcfe57b10 Remove CSD from toggle list if client doesn't support it
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Ian Fan a6c5628fa7 input config: merge left_handed option
6 years ago
Drew DeVault 5912be46c3
Merge pull request #2704 from ianyfan/tablet-config
6 years ago
sghctoma 2f258eff6f Make sway/ipc-server.c POSIX 2001 compliant
6 years ago
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly
6 years ago
Alexander Bakker d129108cdd Add a missing null check for moving tiling containers
6 years ago
Ryan Dwyer b1a0e95e8e Fix crash when disconnecting output
6 years ago
Ian Fan 6194a445d3 input: enable configuring tablets with libinput
6 years ago
Ian Fan a10fef9ae8 cursor: allow cursor_set_image to accept a NULL image to hide cursor
6 years ago
Ian Fan dafb0526d7 seat: only show cursor if pointer configured
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
Ryan Dwyer 271b24ddfb Fix GtkMenuBar always opening first item
6 years ago
Drew DeVault c2c257b884
Merge pull request #2695 from RyanDwyer/remove-moveoutoftabsstacks
6 years ago
emersion 4bc327a021
Merge pull request #2694 from RyanDwyer/fix-sticky-jumping-on-switch
6 years ago
emersion 1af4d314d1
Merge pull request #2686 from RyanDwyer/tab-scrolling
6 years ago
Ryan Dwyer 9753e52d6b Flatten container in workspace_rejigger
6 years ago
Ryan Dwyer 0b7fb6943e Fix some bugs as a result of removing move_out_of_tabs_stacks
6 years ago
Ryan Dwyer 93624599b3 Remove move_out_of_tabs_stacks
6 years ago
Ryan Dwyer 64445f4214 Prevent sticky containers from jumping on workspace switch
6 years ago
Drew DeVault 68395f34f6
Merge pull request #2688 from RyanDwyer/exec-commands-without-focus
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
Ian Fan d101f3d357 commands: remove obselete code for sticky windows when switching workspace
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
emersion eae42606e2
Merge pull request #2660 from RyanDwyer/fix-scratchpad-iteration
6 years ago
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
6 years ago
emersion fe7e66407c
Merge pull request #2678 from RyanDwyer/reconfigure-on-reposition
6 years ago
Ryan Dwyer bf5933c501 Implement tab cycling using mouse wheel
6 years ago
Brian Ashworth 04862e2121
Merge branch 'master' into swaybar-hotplug
6 years ago
Ryan Dwyer ae2f53a477 Reconfigure xwayland views when repositioned
6 years ago
Marien Zwart 37e51a20cc Fix compilation against wlroots without X11 backend
6 years ago
Ryan Dwyer 0798fadff2
Merge branch 'master' into render-output-segfault
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
emersion fa4308c5ab
Merge pull request #2671 from emersion/output-execute-no-focus
6 years ago
Drew DeVault 6ec3626228
Merge pull request #2676 from ianyfan/ipc
6 years ago
Ian Fan 81f3fda6fa ipc: add pid information for views in layout tree
6 years ago
emersion efc08ec888 Fix segfault when executing command without focus
6 years ago
emersion a2090d4222
Merge branch 'master' into create-output-command
6 years ago
Ian Fan 8e8a5ca217 config: free strings fields when freeing input config
6 years ago
Ryan Dwyer db28459634 Introduce create_output command (for developer use)
6 years ago
emersion 4289343e17 Fix segfault in output_render
6 years ago
Ryan Dwyer c6ff1f67f1 Fix double iteration of scratchpad containers
6 years ago
William Wold f48999dd24 Fix crash moving out of tab container
6 years ago
Drew DeVault 456b91600d
Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigans
6 years ago
Marien Zwart ffd1308bbc Fix crash when destroying an idle-inhibiting client
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
Ryan Dwyer 48bc15e758 Make seat_get_active_child ignore floating children
6 years ago
Ryan Dwyer 09733e233f Fix crash when unmapping last child of a tabbed workspace
6 years ago
Ian Fan 34dbbb1314 ipc: handle NULL cases for node_get_output
6 years ago
Ian Fan 1c292fd43a ipc: add focus information to root node
6 years ago
Drew DeVault 64d567be9b
Merge branch 'master' into wlroots-1243
6 years ago
Drew DeVault 3b92d5bb6d Additional fix for xdg-output
6 years ago
Drew DeVault b4d60da856
Merge branch 'master' into wlroots-1243
6 years ago
Drew DeVault 73aab86b6d Postfix xdg-output headers
6 years ago
Ian Fan 25ba80057d Remove redundant container creation in view initialization
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Brian Ashworth 17fe8924f2 Address ianyfan's comments
6 years ago
Brian Ashworth 1cf737489d Escape spaces in background file path
6 years ago
Brian Ashworth 0b64cce733 Allow spaces in background file paths
6 years ago
Ryan Dwyer 2f6935e00f Remove bad assertion in workspace_rejigger
6 years ago
emersion af9e8f94cc
Merge pull request #2620 from ianyfan/commands
6 years ago
Drew DeVault 7a295e8932
Merge pull request #2624 from RedSoxFan/update-tex-in-cmd-client
6 years ago
Drew DeVault d8a96c9e4d
Merge pull request #2621 from emersion/fix-unmap-segfault
6 years ago
Brian Ashworth 0b7fe54f9e Update textures for cmd_client_* commands
6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation
6 years ago
emersion 8b263429cf Don't use handler_context in view_unmap
6 years ago
Ian Fan ae535396b0 commands: when moving container, remove its gaps
6 years ago
Ian Fan c770949a9f commands: when moving container, restore focus properly
6 years ago
Ryan Dwyer df95c61044 Fix crash in workspace_wrap_children
6 years ago
Ryan Dwyer 403905c11b Fix line length
6 years ago
Ryan Dwyer eb74317c2d Fix dropzone box on scaled outputs
6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag
6 years ago
Ryan Dwyer ec9c4de564 Introduce tiling_drag directive
6 years ago
Ryan Dwyer d4e80cf301 Rename OP_MOVE to OP_MOVE_FLOATING
6 years ago
William Wold 097ed03647 Minor fix
6 years ago
William Wold 22c5dd8a02 Minor fix
6 years ago
William Wold 9a08019267 Prevent stacked layout from crashing
6 years ago
William Wold e787a1581c Give windows pointer focus immediately when they are switched to
6 years ago
emersion 024b9d85ea
Merge pull request #2613 from apreiml/fix_no_last_focus_fail
6 years ago
Armin Preiml 47b6fea3fe handle_layer_shell_surface: Do not crash if seat doesn't have focus
6 years ago
Ian Fan 6cd92b193c commands: prevent running empty seat command
6 years ago
Drew DeVault 1376d36104
Merge pull request #2530 from apreiml/ipc_missing_get_tree
6 years ago
Armin Preiml 7919ae5e44 code style fixes
6 years ago
Armin Preiml 2dec0d894b get_tree: percent cast to double on division
6 years ago
Armin Preiml 79eaa26b3e get_tree: default values
6 years ago
Armin Preiml 3d8c3e560b missing ipc stuff: rebase to typesafety
6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Ryan Dwyer 9226aad58c Fix gaps in title textures and vertically center them
6 years ago
Drew DeVault 030b5bc024
Merge pull request #2603 from emersion/fix-dnd
6 years ago
emersion 251a7ebc4b Fix drag-and-drop
6 years ago
Ryan Dwyer 763554e1be Fix workspace switching
6 years ago
emersion f3b96d4050
Merge pull request #2594 from RyanDwyer/fix-pinentry
6 years ago
Ryan Dwyer cf32d5d776 Float views when min == max on either dimension
6 years ago
Ryan Dwyer f30527e0cd Don't dirty outputs unnecessarily
6 years ago
Ryan Dwyer 635ae9557c Second attempt at restoring focus when closing a fullscreen view
6 years ago
Ryan Dwyer 5896781df4 Make outputs dirty when changing focus
6 years ago
emersion 8e2a2e5ca4
Merge pull request #2589 from RyanDwyer/seat-set-focus-type
6 years ago
Ryan Dwyer 5967ee1fbc Fix crash when switching to new workspace during transaction
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
emersion bea9f9c63f
Merge pull request #2578 from RyanDwyer/fix-binding-reload
6 years ago
Ryan Dwyer 1f941163d3 Fix crash when running "layout toggle"
6 years ago
Drew DeVault c6a74cb4df
Merge pull request #2586 from RyanDwyer/fix-fullscreen-focus-crash
6 years ago
Drew DeVault 2eec9740bd
Merge pull request #2585 from RyanDwyer/fix-move-across-outputs
6 years ago
Ryan Dwyer 8859da1dc3 Fix crash when focusing from fullscreen in an invalid direction
6 years ago
Drew DeVault 7b79ab2577
Merge pull request #2583 from RyanDwyer/fix-null-surface-crash
6 years ago
Ryan Dwyer 01117db6d9 Fix crash when moving view across outputs
6 years ago
Ryan Dwyer 9642b87b9e Fix crash when views rapidly map and unmap
6 years ago
Drew DeVault f255881134
Merge pull request #2579 from RyanDwyer/adjust-container-box
6 years ago
Ryan Dwyer 5cc70d1dfd Restore focus correctly when closing a fullscreen view
6 years ago
Ryan Dwyer c6368febc8 Adjust container box
6 years ago
Ryan Dwyer 32c7386b0f Fix management of bindings during reload
6 years ago
Brian Ashworth c246cf84c8 Call wlr_output_enable on enable/disable if needed
6 years ago
Ryan Dwyer dbf4aa3e33 Allow marked containers to be moved out of the scratchpad via move command
6 years ago
Ryan Dwyer 1f2e0ff54b Fix inversed condition in criteria
6 years ago
Ryan Dwyer 6f71749398 Fix clicking workspace buttons
6 years ago
Ryan Dwyer 3cc7de3fb4 Fix crash when view in scratchpad becomes urgent
6 years ago
Ryan Dwyer e5c9204b49 Focus empty workspace when clicking it
6 years ago
Ryan Dwyer 27d2d37d6e Fix crash when running layout toggle split
6 years ago
Ryan Dwyer c0da364865 Fix floating view moving to 0,0 when splitting
6 years ago
Ryan Dwyer 7263e39f64 Fix crash when using focus parent/child from an empty workspace
6 years ago
Ryan Dwyer 4e0452fce3 Fix scratchpad related crashes
6 years ago
Ryan Dwyer 93ff7879f1 Fix output position issue
6 years ago
Ryan Dwyer 7f40b928c7 Fix another focus bug when moving into output
6 years ago
Ryan Dwyer fb9b0f7a08 Fix focus bug
6 years ago
Ryan Dwyer 3133d0c03c Fix swaybars with no defined output
6 years ago
Ryan Dwyer eccfcde2eb Fix crash when moving mouse over a fullscreen split container
6 years ago
Ryan Dwyer 9d168a693d Fix moving workspace to output
6 years ago
Ryan Dwyer 0b23423c14 Update output propertes on mode change
6 years ago
Ryan Dwyer 2aa6afae54 Fix mouse_warping
6 years ago
Ryan Dwyer 26204441b4 Apply default config to output
6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling
6 years ago
Ryan Dwyer 0df04e27b6 Fix crash when focus hits edge of root
6 years ago
Ryan Dwyer acc2628c79 Don't use wlr_output properties
6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container
6 years ago
Ryan Dwyer 7797490e9e Deny repeating reload by holding key
6 years ago
Ryan Dwyer 29f5cc7508 Implement window_role criteria token
6 years ago
Drew DeVault 0b61bae8fb
Merge pull request #2564 from ppascher/master
6 years ago
Drew DeVault e4afd33d47
Merge pull request #2542 from sghctoma/fix-freebsd-build
6 years ago
Drew DeVault 7d353813d5
Merge pull request #2563 from taiyu-len/fix/misaligned-pointer-access
6 years ago
Ian Fan e6fde0739a Fix crash when a splash screen opens on an empty workspace
6 years ago
Pascal Pascher 93673095f0 move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs"
6 years ago
Pascal Pascher 587e320cd8 Fixed window_type with disabled xwayland support.
6 years ago
sghctoma 073dcb3a86 Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE
6 years ago
sghctoma df730a8891 Merge remote-tracking branch 'upstream/master' into fix-freebsd-build
6 years ago
Brian Ashworth afb6968874
Merge branch 'master' into disabled-no-modeset
6 years ago
taiyu d625d68d4a
prevent ub caused by misaligned stores/loads
6 years ago
Ryan Dwyer 6fb03817c9 Rename fowa enum and use switch in view_request_activate
6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation
6 years ago
Ryan Dwyer 69cd1dfaca Check modal state when determining whether an xwayland view should float
6 years ago
emersion ca3be93757
Merge pull request #2554 from emersion/init-dmabuf-global-in-renderer
6 years ago
emersion 407c12fddd Update for swaywm/wlroots#1216
6 years ago
Drew DeVault 80270ba086
Merge pull request #2544 from RyanDwyer/fix-deferred-cmd-crash
6 years ago
emersion 349d1f3be8 Do not modeset disabled outputs
6 years ago
Drew DeVault 89a045835f
Merge pull request #2547 from RyanDwyer/fix-reload-crash
6 years ago
Drew DeVault 692dc55eca
Merge pull request #2549 from RyanDwyer/border-improvements
6 years ago
Ryan Dwyer f4ec308376 Implement window_type criteria token
6 years ago
Ryan Dwyer 016d0455f8 Implement deprecated new_window and new_float commands
6 years ago
Ryan Dwyer 7e81e58e7d Allow reload command to exist anywhere in the command string
6 years ago
Ryan Dwyer ebe65a4d48 Fix crash on reload
6 years ago
Ryan Dwyer dce549c537 Don't send never-ending transactions when a focused layer surface commits
6 years ago
Ryan Dwyer 1e0459f7f7 Fix crash when running deferred commands
6 years ago
sghctoma 67188b7cba Enable privilege dropping of FreeBSD
6 years ago
sghctoma ac7a0aa038 Add missing destroy calls to server_fini
6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD
6 years ago
Drew DeVault de9e80459a
Merge pull request #2537 from ianyfan/commands
6 years ago
Drew DeVault 3686724c9e
Merge pull request #2531 from RyanDwyer/maybe-fix-transaction-crash
6 years ago
Ian Fan 79899064b6 commands: fix exec quoting
6 years ago
Ryan Dwyer 3c4196b986 Fix rendering of nested tabs
6 years ago
Ryan Dwyer 2438f5f050 Fix crash when reaping a workspace
6 years ago
Ryan Dwyer 53fe7b02e9 Fix workspace tabs
6 years ago
Ryan Dwyer b12f7be907 Don't use bitfield to test for similar transactions
6 years ago
Ian Fan bc30f2d528 commands: fix moving container to different output
6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues
6 years ago
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments
6 years ago
Drew DeVault 98ef29c228
Merge pull request #2523 from RedSoxFan/fix-floating-drag-outputs
6 years ago
Drew DeVault 82423b88b8
Merge pull request #2494 from RyanDwyer/fix-overflowing-subsurfaces
6 years ago
Drew DeVault 9d9de97c4c
Merge pull request #2520 from RedSoxFan/destroy-empty-ws-on-evac
6 years ago
Ian Fan 3bf849d993 seat.c: clean-up seat_set_focus_warp function
6 years ago
Brian Ashworth 11c1619f30 Stop floaters from snapping on move to new output
6 years ago
Scott Anderson 31c3c8a365 Initialise variable properly
6 years ago
Brian Ashworth 148b113b8d Destroy empty workspaces in output_evacuate
6 years ago
Ian Fan 6ae2e3a4a8 ipc: clean-up container_create_notify function
6 years ago
Ian Fan e7c94708f2 ipc: emit window close event earlier, before destroying
6 years ago
Drew DeVault 10c2c09cf6
Merge pull request #2513 from RyanDwyer/rename-root-outputs
6 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c
6 years ago
Ryan Dwyer 8bed4be1f3 Make separate gaps functions per container type
6 years ago
Armin Preiml 1a72149d88 Workspace move cycle
6 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs
6 years ago
Drew DeVault b945957b9b
Merge pull request #2510 from RyanDwyer/relocate-layout-functions
6 years ago
Ryan Dwyer 4b9ad9c238
Merge branch 'master' into commands
6 years ago
Ryan Dwyer f4bc25bcc6 Relocate container_move, container_move_to and container_get_in_direction
6 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs
6 years ago
emersion a81c148e25
Merge pull request #2507 from RyanDwyer/move-workspace-translate-floating
6 years ago
Ryan Dwyer e1d5dc0804 Translate floating containers when a workspace is moved
6 years ago
vilhalmer 03718aaebb
Add app_id and class to get_tree output
6 years ago
Ryan Dwyer e81c26fab9 Fix sending fullscreen event to view
6 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
minus 471533be0a Improve new workspace name selection
6 years ago
Ian Fan f51b9478f2 commands: implement move absolute
6 years ago
Ryan Dwyer 771ad7bffa Fix jumping views
6 years ago
Drew DeVault 08a69f267a
Merge pull request #2483 from RyanDwyer/floating-emit-reparent
6 years ago
Ryan Dwyer e1955c5c08 Fix crash when adding output
6 years ago
Ryan Dwyer a49e4b13bf Clean up tracked outputs when an output is destroyed
6 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Ryan Dwyer b3e2c49774 Fix crash when a view destroys with pending transactions
6 years ago
emersion 8db6c68db6
Merge pull request #2493 from RyanDwyer/fix-popup-position
6 years ago
Drew DeVault 9f913614ca
Merge pull request #2478 from RyanDwyer/standardise-debug
6 years ago
Ryan Dwyer 4afb2e3f24 Allow subsurfaces which overflow the container to be interacted with
6 years ago
Ryan Dwyer 76bdb21ca9 Fix popup position when parent uses geometry
6 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
6 years ago
Ryan Dwyer f9563d88f3 Use enum for damage debug options
6 years ago
Ryan Dwyer 8d1dd03823 Standardise debug variables
6 years ago
Ryan Dwyer 7f22fab389
Merge branch 'master' into commands
6 years ago
Drew DeVault d0a24465d7
Merge pull request #2466 from RyanDwyer/geometry
6 years ago
Ian Fan 37e37627ca commands: move newly-stickied containers to focused workspace
6 years ago
Ian Fan 1be75fe740 Fix double iterating in container_for_each_child
6 years ago
Ian Fan b3f7801fca commands: prevent focusing mode with no containers
6 years ago
Ian Fan 23601a8771 commands: complete assign command
6 years ago
Ian Fan e81cc8a575 commands: saner workspace number handling
6 years ago
Ian Fan 69e00151bb commands: handle quoted exec command
6 years ago
Ian Fan 453646b887 commands: fix documentation formatting mistakes for move command
6 years ago
Ian Fan 7717c2231a commands: require set variable to start with $
6 years ago
Ian Fan c1af79532f commands: add nop
6 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type
6 years ago
Drew DeVault d4a32800d5
Merge pull request #2460 from RyanDwyer/implement-mousedown
6 years ago
Ryan Dwyer 16c663ed49 Rename container_sort_workspaces and container_wrap_children
6 years ago
Ryan Dwyer d22420689d Fix mod+resize
6 years ago
Ryan Dwyer ce78f6770e Fix nitpick
6 years ago
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing
6 years ago
Ryan Dwyer 4e755c4b12 Set current size when a floating xwayland view resizes
6 years ago
Ryan Dwyer 8af4e2e3e6 Handle xwayland views sending new sizes in their commits
6 years ago
Ryan Dwyer 9ee89f11c4 Add get_geometry for xdg_shell_v6
6 years ago
Ryan Dwyer 8034c25426 Render saved buffer using saved geometry
6 years ago
Ryan Dwyer 982a2d0c99 Fix geometry
6 years ago
emersion b3ee9af0c8 Add view_get_geometry
6 years ago
Ryan Dwyer 07a897b3b7 Don't send motion if the cursor hasn't moved
6 years ago
Ryan Dwyer b637b61a7a Rename mousedown to down and make seat operation a named enum
6 years ago
Ryan Dwyer a36625a482 Implement mousedown operation
6 years ago
Drew DeVault db4b4935b3
Merge pull request #2472 from RyanDwyer/refactor-seat-get-focus
6 years ago
emersion 754bbd03c0
Merge pull request #2471 from RyanDwyer/reap-when-floating
6 years ago
Ryan Dwyer 1801b725e2 Add using_csd variable to transaction state
6 years ago
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
6 years ago
Ryan Dwyer 6a26b499a4 Attempt to reap old tiling parent when floating a container
6 years ago
Donnie West a9433cbded
When the workspace is focused, return it instead of checking parent
6 years ago
Drew DeVault 98ed05225e
Merge pull request #2458 from RyanDwyer/cleanup-transactions
6 years ago
Ryan Dwyer 701fcafc70 Use list_find in more places and refactor/fix workspace prev_next functions
6 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions
6 years ago
Drew DeVault b4887ba154
Merge pull request #2445 from RyanDwyer/resize-tiling-via-cursor
6 years ago
minus 18e425eda6 Use assigned workspace name for output
6 years ago
Ryan Dwyer 4b8e3a885b Don't commit multiple transactions at the same time
6 years ago
Ryan Dwyer e7a7306063 Don't progress transaction queue if any are partially complete
6 years ago
Ryan Dwyer 4d023c0390 Make mod+resize a floating container resize the container itself
6 years ago
Ryan Dwyer e9d46ccbdd Use col-resize and row-resize cursor images
6 years ago
Ryan Dwyer 1893515d3a Fix right-click/popups and add state checks
6 years ago
Ryan Dwyer 2dceae6224 Allow resizing tiled views via mod key
6 years ago
Ryan Dwyer f4280e506b Refactor dispatch_cursor_button
6 years ago
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
6 years ago
Josip Janzic 5aca2b42e6
man: Correct format for output position config
6 years ago
Ryan Dwyer 5f3757c927 Fix container_has_ancestor crash
6 years ago
Drew DeVault 2aa6d98c5a
Merge pull request #2449 from RyanDwyer/remove-bfs
6 years ago
Ryan Dwyer 4ad1ccc9dc Remove container_for_each_descendant_bfs
6 years ago
Ryan Dwyer 31844bf42b Remove container_has_child
6 years ago
emersion d1433c637a xwayland: fix unmanaged surfaces order
6 years ago
Ryan Dwyer af693cba26 Update resize documentation
6 years ago
Ryan Dwyer 6c730a2cb2 Implement resize set <width> <height> for tiled containers
6 years ago
Ryan Dwyer 9395d3c93c Implement resize grow|shrink <direction> <amount> for tiled containers
6 years ago
Drew DeVault db0fa066e5 Remove obsolete security sanity check
6 years ago
Brian Ashworth b6f4623551 Don't call swaynag_log for bg when not reading
6 years ago
Brian Ashworth 43d1ffc9dd Allow a fallback color to be specified for swaybg
6 years ago
Brian Ashworth 3c26536267
Merge branch 'master' into master
6 years ago
Ryan Dwyer f5dc3ac09d Don't call send_pointer_notify_button when doing move or resize
6 years ago
Ryan Dwyer 4c5dc6f135 Focus floating views when beginning move/resize operations
6 years ago
Ryan Dwyer a0ece6f956 Rename container_at_view to surface_at_view and make it return void
6 years ago
Ryan Dwyer 1e984fec05 Fix focus when clicking floating decorations
6 years ago
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output
6 years ago
Ryan Dwyer a0649190de Fix edge cases when moving floating container to new workspace
6 years ago
Ryan Dwyer 36281609ea Implement move to workspace on a floating container
6 years ago
Drew DeVault 6f0bc469e9
Merge pull request #2432 from RyanDwyer/fix-move-crash
6 years ago
Ryan Dwyer 50f3a7ff5c Fix infinite loop when focusing sticky containers via workspace command
6 years ago
Ryan Dwyer 5ac6f2f429 Fix crash when running `move container to workspace back_and_forth`
6 years ago
Brian Ashworth 639f3368e1
Merge branch 'master' into workspace-move-to-output
6 years ago
Drew DeVault d8b65193c4
Merge pull request #2268 from emersion/server-decoration-borders
6 years ago
emersion d2ac48f920 Handle views created after decoration mode is sent for xdg-shell-v6
6 years ago
emersion 9d578e0a0f Handle views created after decoration mode is sent for xdg-shell
6 years ago
emersion 700941dde8 Listen to server-decoration mode changes
6 years ago
Ryan Dwyer f57a3919cf Move workspace moving code out of container_move_to
6 years ago
Ian Fan f7c21451df commands: fix workspace edge cases
6 years ago
Ian Fan 667b8dcb67 commands: check for special workspaces in workspace & move commands
6 years ago
Ian Fan 3b1f58e135 commands: document <criteria> focus
6 years ago
Ian Fan dd48c8a579 commands: add optional flags to move
6 years ago
Ian Fan 85ae121caa commands: complete workspace implementation
6 years ago
Ian Fan 356063b6c0 commands: fix layout implementation (also better name for previous split layout)
6 years ago
Ian Fan 3a980857cb commands: better type for con_id string length
6 years ago
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Ian Fan be64c46624 commands: complete layout implementation
6 years ago
Ian Fan 11ac66d6fe commands: allow __focused__ for con_id criterion
6 years ago
Ian Fan 710f27d0d2 commands: allow "first", "last", "newest" and "recent" as values for urgent criteria
6 years ago
Mariusz Bialonczyk 776b9b7e1f Fix segv when sway is terminating
6 years ago
Geoff Greer 208831aec6 Fix compiler errors.
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Ryan Dwyer e24fc3df18
Merge branch 'master' into fix-2416
6 years ago
Brian Ashworth ad2a7c2618 Check correct ws for sticky and fix floating iter
6 years ago
Brian Ashworth 36fd84cc42 Remove swaynag_clone and use memcpy
6 years ago
Brian Ashworth a7f7d4a488 Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth f9a6407111 Show swaynag on config errors
6 years ago
emersion b49904dd7e
Merge pull request #2414 from RyanDwyer/fix-inactive-fullscreen-crash
6 years ago
emersion 16c1e21f26
Merge pull request #2415 from RyanDwyer/fix-fullscreen-container-crash
6 years ago
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container
6 years ago
Ryan Dwyer 854c5fbec8 Fix crash when fullscreen view closes on inactive workspace
6 years ago
Ryan Dwyer 9e8d628a17 Deny "move container" when an empty workspace is focused
6 years ago
emersion 3a54e2291c
Merge branch 'master' into wlr-gamma-control
6 years ago
emersion b336564511 Fix pointer events for fullscreen views
6 years ago
minus e72f86784c Fix crash on mouse motion on fullscreen container
6 years ago
Ryan Dwyer 787f08da7f Convert toplevel coordinates to output-local
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault ea14ef4095
Merge pull request #2366 from RedSoxFan/nagbar
6 years ago
Ryan Dwyer 706c0fbe23
Merge branch 'master' into nagbar
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
6 years ago
Drew DeVault 8e60f6a732
Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused
6 years ago
Drew DeVault 23b5124a4d
Merge pull request #2403 from RyanDwyer/fix-transaction-unmap
6 years ago
Drew DeVault eec25ce60e
Merge pull request #2406 from RyanDwyer/fix-focus-crashes
6 years ago
Ryan Dwyer 9339026a31 Fix focus related crashes
6 years ago
Marien Zwart 7d8413d962 Reset signal mask after fork
6 years ago
Ryan Dwyer d64c8df7ce Allow moving containers when workspace itself is focused
6 years ago
Ryan Dwyer 8314019f66 Fix race condition crashes when unmapping views
6 years ago
Michel Ganguin d6095588a1 Link xcb dependency to meson options "enable_xwayland" (#2393)
6 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Brian Ashworth a4f7bf23b2 Address first round review for swaynag
6 years ago
Brian Ashworth abf33468c1 Arrange output in arrange_layers and commit dirty
6 years ago
Drew DeVault 9564c73c0d
Merge pull request #2391 from RyanDwyer/fix-popups-v2
6 years ago
Ian Fan 46cfa8ff56 ipc: remove extraneous values
6 years ago
Ian Fan 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output
6 years ago
Ian Fan b2ac234569 ipc: fix workspace::focus event behaviour
6 years ago
Ian Fan 3edaf2ce2a ipc: add tick event
6 years ago
Ian Fan 75aba00460 ipc: always include old property in workspace events
6 years ago
Ian Fan d898e035ba ipc: add workspace::reload event
6 years ago
Ian Fan 6865b8aae9 ipc: add binding event
6 years ago
Ian Fan e0e638281e ipc: add window::move events
6 years ago
Ian Fan 4bf253855f ipc: fix workspace::move calls argument order
6 years ago
Ian Fan 07101a5707 ipc: only emit window::create event for views
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan dd6debf367 ipc: add barconfig_update event on config reload
6 years ago
Ian Fan 686c084cec ipc: add workspace::empty event
6 years ago
Ian Fan 4f8f363dda ipc: add window::title event
6 years ago
Ian Fan dd1d6255f0 ipc: add window::focus event
6 years ago
Ian Fan f0310933c8 ipc: add window::close event
6 years ago
Ian Fan 87ccf18964 ipc: add workspace::init event
6 years ago
Ian Fan e8b179e313 ipc: add shutdown event
6 years ago
chr0me 77d74dd34f XCursor is not configured if no pointer device is available
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Brian Ashworth 00a00aacef Create list for mouse binds when creating new mode
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
emersion 15c19572cf Fix segfault with fullscreen
6 years ago
Drew DeVault cbd0c3ec40
Merge pull request #2367 from emersion/iterator-redesign
6 years ago
Drew DeVault 6c30b3fcc8
Merge pull request #2381 from frsfnrrg/key-repeat
6 years ago
Eric Engestrom 52a27f1529 delete references to swaygrab
6 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change
6 years ago
frsfnrrg 8dbbfa5965 Bindings use advised keyboard repeat parameters
6 years ago
frsfnrrg e33dfbfa75 Implement key repeat for pressed key bindings
6 years ago
emersion 9a7e436fad Don't give focus if xwayland window has a type hint
6 years ago
emersion 0ad865f0b7 Make output_surface_for_each_surface_iterator static
6 years ago
emersion 9951b2ec33 Remove unused output_from_wlr_output
6 years ago
emersion fe0750fec1 Remove output_surface_for_each_surface from header
6 years ago
emersion 8d5cc8625c Completely switch over to new iterators
6 years ago
emersion e9d674cfd2 wip: redesign output_view_for_each_surface iterator
6 years ago
emersion a0dd977617 wip: redesign output_layer_for_each_surface iterator
6 years ago
emersion dbf6dd0dae wip: redesign output_drag_icons_for_each_surface iterator
6 years ago
emersion d2172bd331 wip: redesign output_unmanaged_for_each_surface iterator
6 years ago
Ryan Dwyer b2f58af46c
Merge branch 'master' into tap-button-map-man-fix
6 years ago
emersion 5af776e734
Merge pull request #2376 from swaywm/virtual-keyboard
6 years ago
Marius Orcsik 7b9aee5451
Escaping underscores in tap_button_map
6 years ago
Drew DeVault 1e65439a54 Add virtual keyboard protocol
6 years ago
Geoff Greer 30fee94354 Don't enable numlock by default. This fixes an annoying issue where laptop keyboards would have 'numlock mode' enabled, remapping parts of the alphabet to numbers.
6 years ago
Drew DeVault 53069f1403
Merge pull request #2360 from RyanDwyer/floating-containers
6 years ago
Drew DeVault e4b54ac16e
Merge pull request #2368 from RyanDwyer/handle-out-of-fds
6 years ago
Ryan Dwyer 84cd22c8cb Fix crash when a deferred command destroys a workspace
6 years ago
Ryan Dwyer 0337609667 Focus child when showing a scratchpad container
6 years ago
Ryan Dwyer debb8e85b2 Fix crash when unfloating child of container into empty workspace
6 years ago
Ryan Dwyer 9d1f6e095b Send floating container to scratchpad when a child is focused
6 years ago
Ryan Dwyer 538e083f61 Fix focus mode_toggle from a child of a floating container
6 years ago
Ryan Dwyer c95847c9e1 Allow splitting a floating view
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
Ryan Dwyer 936168e740 Operate on floating split container when a child is focused
6 years ago
Ryan Dwyer 902a1402ba Fix crash when a child of a floating container is in the scratchpad
6 years ago
Ryan Dwyer 0b6b6716e2 Fix clicking a floating split container
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer a4bcddcfdc Include errno.h
6 years ago
Ryan Dwyer d6daf10cad Show errno description in log
6 years ago
Ryan Dwyer 32663b7b01 Handle out-of-fd situations gracefully for transaction and urgent timers
6 years ago
Ryan Dwyer 52cf410d3c Second attempt at fixing transaction use-after-free
6 years ago
Ryan Dwyer 073ac425d5 Fix use after free in transactions
6 years ago
Mihai Coman d37c94d1b6 Preserve workspace name
6 years ago
Ryan Dwyer 6ceb1d33fd Fix assign to workspace
6 years ago
Ryan Dwyer a90f2dbde9 Refactor view_map
6 years ago