2736 Commits (97474f12e371c7b92c57f1f107897c29f0f704b2)

Author SHA1 Message Date
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
Ryan Dwyer 868dcde14e Fix indent
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
ProgAndy 76ece5788b Fix LEDs for configured modifier states
6 years ago
ProgAndy 0ba52458ab Restrict CapsLock and NumLock commands to the configuration file
6 years ago
ProgAndy d07463d53b Add documentation for xkb_capslock/xkb_numlock
6 years ago
ProgAndy c7a3a03115 Add xkb_numlock/xkb_capslock commands (#2311)
6 years ago
ProgAndy 2166dbe2e4 Implement setting NumLock and CapsLock status
6 years ago
Cédric Cabessa 445a09575c fix #2355: "move workspace to output up" crashes
6 years ago
Drew DeVault 53dbe2da4b
Merge pull request #2353 from emersion/render-opaque-overlay
6 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
6 years ago
Pascal Pascher 384c55c0b4 more style fixes, reorder config.h include
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
6 years ago
Ryan Dwyer b14bd1b0b1 Fix crash when closing last child of a tabbed container
6 years ago
emersion 0e79b2114c Improve rendering with a fullscreen opaque overlay surface
6 years ago
Brian Ashworth 3a75bb7f32 Change button var passed to seat_begin_move
6 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault 817d37c950
Merge pull request #2165 from swaywm/pid-workspaces
6 years ago
Drew DeVault c80258c3b3 Address @emersion's review comments
6 years ago
Ryan Dwyer 2f1b84a0f3 Fix crash when clicking certain surfaces
6 years ago
Ryan Dwyer e7c10f1871 Make mod+resize work in any direction
6 years ago
Ryan Dwyer e02a6718c2
Merge branch 'master' into mouse-bindings
6 years ago
frsfnrrg ab0efebc3e Also extract first workspace name from bindcodes
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
6 years ago
Brian Ashworth 9ec1d6cf79 Address review comments on parse_boolean
6 years ago
Brian Ashworth 863914ec95 Switch to using a function to parse booleans
6 years ago
frsfnrrg 754372c3de Parse mouse binding options
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 0db6f2ef58 Fix some cases where the cursor doesn't update
6 years ago
Brian Ashworth 44e218574f Add missing checks to fix 2339
6 years ago
somdoron 7ead2e85a7 fix crash on new output while swaylock is running
6 years ago
Ryan Dwyer 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
emersion 238c8afc74 Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
6 years ago
emersion c35a34262f Enable wlr-gamma-control-unstable-v1
6 years ago
Ryan Dwyer d21d4b83a3 Set cursor when beginning resize and move operations
6 years ago
Ryan Dwyer 009b426024 Fix damage when shrinking a floating view using cursor
6 years ago
Ryan Dwyer 5ba2ae9c6a Implement request_move and request_resize for xwayland views
6 years ago
Ryan Dwyer 3faceadffe Fix focus bug with floating containers
6 years ago
Ryan Dwyer cf5f5eaf8c Deny move/resize events for tiled xdg shell views
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
6 years ago
Ryan Dwyer 6767d8a593 Prevent re-uploading the same cursor image multiple times
6 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
6 years ago
Ryan Dwyer 86f5531511 Remove unnecessary includes
6 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
6 years ago
Ryan Dwyer 1b3b75a094 Use wlr_keyboard_get_modifiers
6 years ago
Ryan Dwyer dd337127d8 Use separate function for choosing edge cursor
6 years ago
Ryan Dwyer 31f91bd483 Improve resize performance by partially flushing the transaction queue
6 years ago
Ryan Dwyer 350e9ea929 Fix clicking xwayland menus
6 years ago
Ryan Dwyer c299b6b5cd Use max multiplier when resizing while preserving ratio
6 years ago
Ryan Dwyer f9491c9584 Fix damage issue when moving and resizing
6 years ago
Ryan Dwyer 2c6616050a Make mod + resize do it from the top left corner
6 years ago
Ryan Dwyer 3aadf944ae Use WLR_MODIFIER_SHIFT
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Brian Ashworth bc7d332109 Reset outputs on reload
6 years ago
Ryan Dwyer 37b33f92e8 Fix urgent timer logic and remove unnecessary header includes
6 years ago
Ryan Dwyer c2ed3d8bd6 Implement force_display_urgency_hint
6 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
6 years ago
Ryan Dwyer 8789ceea87 Fix pointer events for overlapping floating views
6 years ago
Drew DeVault 3483f1ea1a
Merge branch 'master' into update-wlroots-1148
6 years ago
emersion 4154234eee Update for swaywm/wlroots#1148
6 years ago
Drew DeVault da9c86c608
Merge pull request #2310 from RyanDwyer/assign-output
6 years ago
emersion d8badceb54
Merge pull request #2304 from RedSoxFan/fix-2298
6 years ago
Ryan Dwyer 54b00d351e Implement assign to output
6 years ago
emersion eecb393401
Merge branch 'master' into xwayland-set-hints
6 years ago
emersion cb4309b7cd
Merge pull request #2305 from RyanDwyer/focus-output
6 years ago
emersion 3dab83d6eb
Merge pull request #2308 from RyanDwyer/fix-double-transaction
6 years ago
Ryan Dwyer 63d6233fcb Allow xwayland views to become urgent when on a non-visible workspace
6 years ago
Ryan Dwyer 32806d16ee Use parse_movement_direction
6 years ago
Ryan Dwyer 8533c35a9f Fix crash and render issues involving cursor_send_pointer_motion
6 years ago
Ryan Dwyer dad3a8deee Fix crash when moving workspace to output
6 years ago
Ryan Dwyer 08736255a3 Defer the focus commands
6 years ago
Ryan Dwyer a173b79c54 Implement focus output command
6 years ago
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
emersion 747725b8bb Don't unfocus when an override redirect window is mapped
6 years ago
emersion fb4eca5d56 Handle xwayland override_redirect flag change
6 years ago
Drew DeVault ca695482ec
Merge pull request #2292 from emersion/update-cursor-on-focus
6 years ago
Ryan Dwyer 8ce7e3b44e
Merge branch 'master' into destroy-output-destroy-empty-workspaces
6 years ago
emersion 03d49490cc Update cursor on focus change
6 years ago
frsfnrrg 3931cb85b2 Fix memory leak in sway/desktop/idle_inhibit_v1.c
6 years ago
frsfnrrg 37471ac649 Fix memory leak in handle_layer_shell_surface
6 years ago
frsfnrrg 600676688a Free individual criteria in free_config
6 years ago
frsfnrrg b3014f7b16 Fix uninitialized pointer in view_unmap
6 years ago
Brian Ashworth 10fc7a5b49
Merge branch 'master' into default-floating-border
6 years ago
Drew DeVault db3a363734 Revert "config: free include path on successful load"
6 years ago
Ryan Dwyer 9cbff272cb Remove superfluous IPC urgent events
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
6 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
6 years ago
Ryan Dwyer e2f28c023c Focus view before running criteria when mapping
6 years ago
Ryan Dwyer fc2484095a Implement no_focus command
6 years ago
Ryan Dwyer af5f736277 Render containers as urgent if they have an urgent child
6 years ago
Ryan Dwyer 9ca5cb7faf Fix tab split focus bug
6 years ago
Ryan Dwyer be28c18ad5 Mark containers as urgent in IPC if they have urgent views
6 years ago
Ryan Dwyer 5f0a4bb6a4 Update workspace urgent state when views close or move workspaces
6 years ago
Ryan Dwyer 560627437b Make container_for_each_descendant_dfs descend into floating views
6 years ago
Ryan Dwyer 64e3bc3ab0 Fix crash in ipc_json_describe_view
6 years ago
Ryan Dwyer a211daf9e6 Add documentation for urgent command
6 years ago
Ryan Dwyer e3f90f00fe Implement xwayland urgency hint
6 years ago
Ryan Dwyer f86087d78f Fix urgency IPC events
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ian Fan 9559e3e2af config output: free command string if unused
6 years ago
Ian Fan 92450883d7 config: free include path on successful load
6 years ago
Ian Fan ba8981e44b bar: free old position when changing
6 years ago
Ian Fan 011d43746f Add error handling for getting config file size
6 years ago
Ian Fan e6209afcd6 Fix config buffer overflow and logic
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Drew DeVault 53e3f35ba3
Merge pull request #2272 from RyanDwyer/simplify-transactions
6 years ago
Drew DeVault 806c06fdfb
Merge pull request #2266 from emersion/remove-orbital-screenshooter
6 years ago
Drew DeVault b1afcc69fa Add extended debugging flags
6 years ago
Ryan Dwyer 6b2dc7e63b Set signature to void
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
6 years ago
Ryan Dwyer 0584ecec0a Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer 5940682f40 Implement resize grow|shrink <direction> <amount> or <amount>
6 years ago
Ryan Dwyer 558ca9fc28 Implement resize command for floating views
6 years ago
emersion efda33b285 Simplify popup_unconstrain
6 years ago
emersion 82c978d34b Remove orbital screenshooter
6 years ago
emersion d88f1d2196 Fix output_has_opaque_lockscreen
6 years ago
Drew DeVault bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
6 years ago
Robert Kubosz f8bc928b2d
add error handling for scroll button out of range
6 years ago
Ryan Dwyer 53133fdefb
Merge branch 'master' into xwayland-floating-borders
6 years ago
Robert Kubosz 89db5b5716
expanded error detection for scroll button option
6 years ago
Drew DeVault da8149c066
Merge pull request #2253 from Hello71/issue2249
6 years ago
emersion a96f1c22fe Add xdg-positioner support
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
Alex Xu fbecfc2d35 config.c: fix current_config uninit warning (#2249)
6 years ago
Robert Kubosz 094edcbea2
rm constraint for max value of button identifier
6 years ago
Robert Kubosz 20d6c7c2e4
add paragraph to sway-input man page
6 years ago
Robert Kubosz 08edaf4e76
increase maximum value of button identifier
6 years ago
Ryan Dwyer ee0e1b170e Fix crash in seat code
6 years ago
emersion 60fdb71a1f Updates for swaywm/wlroots#1116
6 years ago
Drew DeVault 2bc18d8cf7
Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows
6 years ago
Robert Kubosz 41b80c28df
add scroll button option
6 years ago
dudemanguy 600c126150 fix crash on floating windows
6 years ago
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size
6 years ago
emersion 73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
6 years ago
Ryan Dwyer 3b50a2a3af Use saved buffer when fullscreen view is in a transaction
6 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
6 years ago
russ morris 6ae1004cd1 removed unnecessary parens
6 years ago
russ morris c06266e12d fix line lengths
6 years ago
russ morris b9d8ecc548 tabs instead of spaces
6 years ago
russ morris 89c25dd149 fix tabbed titlebar widths
6 years ago
Ian Fan 23c1c26c3f Add get_config message type to ipc
6 years ago
Ian Fan 5fd36164a0 Add get_binding_modes message type to ipc
6 years ago
Ryan Dwyer 56ad148403
Merge branch 'master' into fix-stacked-layout
6 years ago
Drew DeVault 6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Konstantin Pospelov 9dd54f934e Fix titlebar rendering for nested stacked containers
6 years ago
emersion b755639ca8
Document `focus floating|tiling`
6 years ago
emersion 48c98b676f
Implement `focus mode_toggle`
6 years ago
emersion ebcdce457a
Merge pull request #2223 from RyanDwyer/floating-move
6 years ago
Ryan Dwyer b0fc7e9850 Remove duplicate function declaration and add assertion
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
vilhalmer 4e7ef1dd39
No need to walk to workspace, recursive will
6 years ago
vilhalmer 47c20f8ea4
Regroup signal
6 years ago
vilhalmer ce626a0708
Replace empty workspace with moved workspace
6 years ago
vilhalmer 621d2666b1
Destroy empty workspace when destroying its output
6 years ago
emersion f9625d1d56
Split renderer
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago