3143 Commits (2c31e826755c74e530cfc9b70e3e028cfaa85918)

Author SHA1 Message Date
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