3912 Commits (f7e050c58f61a15bf5987e2e3d280a72666f6381)

Author SHA1 Message Date
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
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
emersion 9a9d9116be
Make view_update_* update live props as well
6 years ago
emersion 47d56306c3
Fix xwayland floating views unclickable
6 years ago
Drew DeVault 817e847749
Merge pull request #2206 from martinetd/leaks
6 years ago
emersion b3c55dd909
Merge branch 'master' into leaks
6 years ago
Ryan Dwyer 464d4d5889 Translate surface by its geo when doing opaque box check
6 years ago
Ryan Dwyer 9480781229 Don't clear when using opaque lockscreen
6 years ago
Ryan Dwyer 3b842f4eed Detect opaque lockscreen when using a solid color
6 years ago
Ryan Dwyer f1fadef923 Use pixman_region32_contains_rectangle
6 years ago
Ryan Dwyer 839c3a5500 Use opaque region to determine if frame done should be sent
6 years ago
Ryan Dwyer 58befcf2cd Don't send frame done to surfaces behind lockscreen
6 years ago
Drew DeVault 3d2595b102
Merge branch 'master' into remove-input-fix
6 years ago
Ian Fan f63b209d51 Attach destroy handler earlier
6 years ago
Drew DeVault a06d45a14d
Merge pull request #2217 from RedSoxFan/fix-663
6 years ago
Brian Ashworth c833ae64bc Fix pointer button events for layer surfaces
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
emersion 84109431f7
Merge pull request #2185 from swaywm/update-wlroots-1076
6 years ago
Thomas Plaçais ab5c8c31a0 Escape underscore in sway-input(5) man page to avoid invalid colors
6 years ago
Dominique Martinet 7ef08ffbe6 pango/cairo: set default font map to NULL to free it
6 years ago
Dominique Martinet fe72e3b349 cmd_results_to_json: return copied string and properly free the json
6 years ago
emersion 51b215ad5c
Use wlr_surface.buffer_damage
6 years ago
Drew DeVault d43500831a
Updates per wlroots#1076
6 years ago
Dominique Martinet 9314c45c41 workspace_next_name: free targets later than these already found in order
6 years ago
Dominique Martinet 785ed4383b view_map: free criterias as the list it is
6 years ago
Dominique Martinet ffbe91c245 container_free: free formatted title
6 years ago
Dominique Martinet ffe9de6e24 ipc-server: free clients at destroy
6 years ago
Dominique Martinet 9f5d539657 config: add a couple of forgotten frees
6 years ago
Dominique Martinet 8a771785ad keyboard: free xkb keymap on destroy
6 years ago
Ryan Dwyer fc826b921f Call view_set_tiled for mapping non-floating views
6 years ago
Drew DeVault eed0b5614f
Merge pull request #2205 from RyanDwyer/fix-border-weirdness
6 years ago
Ryan Dwyer 50b401677b Fix use after free in transaction code
6 years ago
Ryan Dwyer 4cb6c368a7 Fix boolean
6 years ago
Ryan Dwyer f156a25e64 Only call view_set_tiled when switching floating mode
6 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
6 years ago
emersion 4afa18a0c0
Merge pull request #2202 from RyanDwyer/fix-focus-damage
6 years ago
Ryan Dwyer 0bd41a0dae Fix focus related damage
6 years ago
Dominique Martinet c092f1fe6a startup: move setenv WAYLAND_DISPLAY before config execs
6 years ago
emersion 8cc26130a6
Merge pull request #2194 from RyanDwyer/fix-incorrect-render
6 years ago
Ryan Dwyer 1e4807efa0 Don't return pending children in seat_get_active_current_child
6 years ago
Ryan Dwyer d467452e5e Fix damage on swaybar when view requests to exit fullscreen
6 years ago
emersion f611a4f9b1
Merge pull request #2187 from martinetd/idle-inhibit
6 years ago
Dominique Martinet 71224781c4 idle_inhibit: move server data to its own struct
6 years ago
Dominique Martinet 072b334abc idle_inhibit: stop inhibitor when views become invisible
6 years ago
Dominique Martinet e4bfb3bc98 Add idle inhibit unstable v1 support
6 years ago
Dominique Martinet 4eeca10a8a load_config: move NULL path check before first use
6 years ago
Dominique Martinet 8c526bbb03 config include: fix leak on relative include path
6 years ago
Dominique Martinet 248ea93c1a bar config: fix uninitialized accesses on init error
6 years ago
Dominique Martinet e67c8cf1cb cmd_assign: fix leak on error
6 years ago
Dominique Martinet c73c552cae bar_cmd_modifier: fix use-after-free on error
6 years ago
Dominique Martinet 6d2b82253a bar_cmd_font: fix leak of font
6 years ago
Dominique Martinet 0c6149171b read_config: fix leak on error
6 years ago
Dominique Martinet a2354d5992 cmd_background: fix leak on error
6 years ago
Dominique Martinet df494a7e51 transaction_apply: use float for quotient
6 years ago
Dominique Martinet c78ab67877 workspace_next_name: fix string length for ws_num >= 100
6 years ago
Dominique Martinet 9c9ee3e4ef find prev/next output/workspace: add NULL check
6 years ago
Dominique Martinet ab18740529 output commands: move !argc checks after argc gets decremented
6 years ago
Dominique Martinet 557a14a6fe config_commands_command: make alloc failure check more permanent
6 years ago
Dominique Martinet 5690bea227 input_config: free new_input_config on error
6 years ago
Dominique Martinet ebe69583c7 ipc-server: fix more use-after-frees on ipc_send_reply error
6 years ago
Dominique Martinet 0ab04b7434 ipc-server: minor code cleanup
6 years ago
Dominique Martinet 546ddbcd5b ipc-server: fix double-free on send error in ipc_send_event
6 years ago
Dominique Martinet 9c8fb7d025 invoke_swaybar: fix message length header size
6 years ago
Dominique Martinet 1b7f554474 log_kernel: s/fclose/pclose/ (for popen'd FILE)
6 years ago
emersion 7abb4d63e2
Init screencopy manager
6 years ago
Dominique Martinet ce17788533 exec_always: fix leaks
6 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
6 years ago
Dominique Martinet bc1e99305a xdg_shell: listen to fullscreen request on map
6 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Rostislav Pehlivanov 0cc24dd9c8 Fix crash with stacking layout after f42bf0ad4
6 years ago
Ryan Dwyer fc6fde7d90 Fix compile error
6 years ago
Rostislav Pehlivanov f42bf0ad4a container_at_view: don't offset the view by the window geometry
6 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
emersion 4de28bba68
Fix floating views not receiving frame events
6 years ago
Ryan Dwyer 96c8c02483 Fix flash of background when xwayland views are mapped
6 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions
7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer d7169ee7ff Replace list_empty with a simple alternative
7 years ago
Ryan Dwyer e8fb6b3325 Fix crash when moving last child of a container to workspace or output
7 years ago
Armin Preiml 1eede432fc fix handling key modifiers if not pressed at first
7 years ago
Armin Preiml c4b900c1e0 fix accidently removing borders on XCB_CONFIGURE_REQUEST
7 years ago
Thomas Plaçais 9a3c6d2dbe Check if command input has at least 2 arguments
7 years ago
Ryan Dwyer 9652529cc1 Allow views to skip configures
7 years ago
Ryan Dwyer e6829c5991 Move unsetting of view->surface into view_unmap
7 years ago
Ryan Dwyer 8773ed3970 Fix memleak in container_get_box
7 years ago
Ryan Dwyer be86d3aba6 Remove transaction_add_damage
7 years ago
Ryan Dwyer 61c1187685 Fix nitpicks
7 years ago
Ryan Dwyer bf38081382
Merge branch 'master' into xwayland-wants-float
7 years ago
emersion ecd748d240
Merge branch 'master' into float_xdg_shell
7 years ago
ael-code a4578815f1
cleanup output-background subcommand handling
7 years ago
ael-code 4550cb2b3e
fix memleak on background cmd error
7 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output
7 years ago
Dominique Martinet 08800c8ee2 layer_shell: cleanup output link on output destroy
7 years ago
Ryan Dwyer a7b3f29292 Remove incorrect assertion and supporting code
7 years ago
Ryan Dwyer 93696b78ec Fix crash when closing output window from outer session
7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
7 years ago
Ryan Dwyer 0085f64ac0 Remove timer when transaction destroys
7 years ago
Ryan Dwyer e8001e6fbe Damage output when views toggle fullscreen
7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy
7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps
7 years ago
Dominique Martinet c9be014557 xdg_shell: make view floating if a parent has been set
7 years ago
Ryan Dwyer beacd4d9f9 Rename progress_queue to transaction_progress_queue
7 years ago
Ryan Dwyer 9b15e81cff Fix potential crash when fullscreen view unmaps
7 years ago
Tony Crisci e9ad10c2d6 dont focus-follow-mouse when keyboard grab
7 years ago
Ryan Dwyer c371ff3de8 Implement per-configure debug timings
7 years ago
Ryan Dwyer 289d696adc Implement transaction timings debug
7 years ago
emersion eeb38d65cb
xwayland: accept configure requests from floating views
7 years ago
Ryan Dwyer a3976e2659 Fix another crash when moving out of stacks or tabs
7 years ago
Ryan Dwyer 1549fb719a Implement atomic layout updates for xwayland views
7 years ago
Ryan Dwyer b6a238c7b7 Fix crash when running move <direction> in an empty workspace
7 years ago
Ryan Dwyer b864ac0149 Fix crash when unmapping a view with reapable parents
7 years ago
Ryan Dwyer 33e03cb277 Fix crash related to stacks and tabs
7 years ago
Ryan Dwyer f08a30d6d0 Force transactions to complete in order
7 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
Ryan Dwyer b11c9199a6 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Drew DeVault 5222e14555
Merge pull request #2155 from ael-code/fix_output_command_failure
7 years ago
ael-code ad085c1332
bugfix: avoid access after free
7 years ago
Drew DeVault e8fbda4d21
Merge pull request #2146 from tobiasblass/prepare_server_before_dropping_privileges
7 years ago
Rostislav Pehlivanov aa9f058e3e Init the dmabuf exporting protocol in wlroots
7 years ago
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
7 years ago
emersion cda66e9a26
Automatically float xwayland windows
7 years ago
Ryan Dwyer 1c89f32533 Preserve buffers during transactions
7 years ago
Ryan Dwyer 645bf446fa Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
emersion 088cae45c8 Update for swaywm/wlroots#1060
7 years ago
frsfnrrg ca061ba8bf Fix keyboard shortcut handling inconsistencies
7 years ago
frsfnrrg b23cd827cf Sort binding key lists
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Drew DeVault 867fb6aedb
Merge pull request #2124 from emersion/drag-icons
7 years ago
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
emersion 88cd7616db
Fix compilation errors related to disabled outputs
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth e2b2fb0a0e Switch restore workspaces to a nested for-loop
7 years ago
Brian Ashworth 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
emersion acf71fe805
Merge pull request #2119 from martinetd/gcc-strtruncation
7 years ago
Dominique Martinet 720313e185 sway/criteria: gcc string truncation warning fix
7 years ago
Dominique Martinet d26a0a1a6e sway exec command: use waitpid instead of wait
7 years ago
Brian Ashworth 212e4ef395 Remove strip quoting and fix strncpy-overlap
7 years ago
emersion 07bee8cffe
Merge pull request #2084 from RedSoxFan/runtime-var-expansion
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a0bbe67076 Address emersions comments on output re-enabling
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Brian Ashworth 82b3b587dd Remove tab/stack check for focusing after a split
7 years ago
Brian Ashworth e7261e2917 Fix focusing after splitting tabs/stacks
7 years ago
Scott Leggett 609c420501 Initialise previous cursor position.
7 years ago
Tobias Blass d6d292897f Remove suspicious unconditional return
7 years ago
Brian Ashworth f4870d5432 Fix logic issue in do_var_replacement
7 years ago
Brian Ashworth 067fe9d047 Support runtime var expansion and set at runtime
7 years ago
emersion 0f71547032
Merge pull request #2095 from emersion/fullscreen-damage-only-visible
7 years ago
emersion 6b9ffbad20
Merge pull request #2103 from RyanDwyer/focus-fixes
7 years ago
Brian Ashworth 9aaac8b8c8 Fix movement crashes/issues
7 years ago
Ryan Dwyer 1206a60977 Don't restore focus if unmapping surface wasn't focused
7 years ago
Ryan Dwyer bcdb676abb Don't set focus to NULL when clicking a surface which has no container
7 years ago
Ryan Dwyer 9253278328 Restore focus when unmapping layer shell surfaces
7 years ago
Ryan Dwyer 74799937cf Restore focus when unmapping unmanaged xwayland surfaces
7 years ago
emersion 0549fd027b
Merge pull request #2087 from RedSoxFan/output-subcommand
7 years ago
emersion 6d0ad6a1ed
Merge pull request #2099 from RyanDwyer/fix-seat-get-active-child
7 years ago
Brian Ashworth 51fa988be9 Address review comments for output subcommands
7 years ago
Brian Ashworth 5ea4a4d3ee Refactor cmd_output to use config_subcommand
7 years ago
Ryan Dwyer d02e9aa4bc Fix initial workspace orientation on a rotated output
7 years ago
Ryan Dwyer 57e78414fa Fix seat_get_active_child
7 years ago
emersion ebe0b668c9
Merge pull request #2093 from emersion/damage-debug
7 years ago
emersion 8e3d19aad2
Merge pull request #2096 from kupospelov/fix-title-update
7 years ago
Ryan Dwyer 8289e30308 Fix potential crash when destroying workspace
7 years ago
Konstantin Pospelov e6baac4297 Fix view title update order
7 years ago
emersion 55b855d867
Add SWAY_DAMAGE_DEBUG
7 years ago
emersion 34bdf25bb5
Only send frame to visible surfaces when fullscreened
7 years ago
emersion 51eee3aecc
Schedule a frame even if damage is empty
7 years ago
Dominique Martinet 71ab13f1eb sway/config: fix use-after-free for end of block
7 years ago
Drew DeVault df204b65d8
Merge pull request #2089 from emersion/send-frame-done-visible
7 years ago
emersion 65845be802
Only send frame done to visible views
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 51bb9d8573 Support braces on next line for config blocks
7 years ago
Brian Ashworth 7c810dc344 Make command block implementation generic
7 years ago
emersion 2d480e754e
Merge pull request #2080 from frsfnrrg/keyboard-remodeling
7 years ago
Ryan Dwyer 3f1cfd547e Fix top border when a view is initially floating
7 years ago
frsfnrrg 78b7b46895 Style fix, redundant entry removal, fix extra keysym delete
7 years ago
frsfnrrg 480f0c593c Rename update_shortcut_model to update_shortcut_state
7 years ago
frsfnrrg 83d559dd03 Rename check_shortcut_model to get_active_binding
7 years ago
frsfnrrg c53e4e6cde Style fixed for keyboard.c
7 years ago
frsfnrrg eb00edc6e2 Style fixes for bind.c
7 years ago
frsfnrrg f2fe93d171 Remove almost-always redundant loop in key handling
7 years ago
frsfnrrg 705230a26c Fix binding bindcode flag initialization
7 years ago
frsfnrrg a056419ad7 Rewrite shortcut handling code to avoid hardcoded values
7 years ago
frsfnrrg f5ed65e633 Use XKB keycode numbering for bindcode
7 years ago
frsfnrrg d77681ea3d Share common code between bindsym and bindcode commands
7 years ago
Drew DeVault 96446fdbf7
Merge pull request #2027 from RyanDwyer/implement-floating
7 years ago
Brian Ashworth edf37f27e1 Fix cmd_workspace crash when a surface has focus
7 years ago
Ryan Dwyer 70c2c50445 Fix changing borders on floating views
7 years ago
Ryan Dwyer d466b8fa7b Don't auto float xdg views if their dimensions are not set
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer c9e3a313b4 Fix fullscreen position of xwayland views
7 years ago
Ryan Dwyer 00cac22038 Fix crash when using multiple outputs
7 years ago
Drew DeVault e605dc43bb Fix mouse warping interaction with layout coords
7 years ago
Ryan Dwyer c9f8d35ca9 Consider floating views when calculating title height
7 years ago
Ryan Dwyer 9119f87655 Fix floating position when view is floated when mapped
7 years ago
Ryan Dwyer f7cadf2333 Adjust move command to account for changed coordinate system
7 years ago
Ryan Dwyer f24087d104 Fix fullscreen position
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer 40af5d81a1 Fix getting adjacent output
7 years ago
Ryan Dwyer becceafa7f Remove unfinished wants_floating implementation for xwayland
7 years ago
Ryan Dwyer 5b1601c2e3 Don't let xwayland views set position unless unmanaged
7 years ago
Ryan Dwyer 02d385e06f Use swayc rather than wlr_output when rendering
7 years ago
Ryan Dwyer 3b1db30a5e Use surface size if xdg shell's geometry isn't set
7 years ago
Ryan Dwyer 4371c746e4 Implement wants_floating for xdg_shell and xdg_shell_v6
7 years ago
Ryan Dwyer d4ed204d4d Remove container_self_or_parent_floating
7 years ago
Ryan Dwyer 70f5d6fcf3 Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer 3281574fa3 Remove check for if floating view intersects output
7 years ago
Ryan Dwyer 7d2b33a458 Render floating views before top layer and unmanaged
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 00f6e179cd Add L_FLOATING back to debug tree
7 years ago
Ryan Dwyer 02de2a6f65 Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer 5d69a56209 Prevent splitting a floating view
7 years ago
Ryan Dwyer dc83b158e1 Fix issues with sticky containers and workspaces
7 years ago
Ryan Dwyer 13a4b0512e Fix unfullscreening a floating view
7 years ago
Ryan Dwyer 754cb7944c Respect view's border config for floating containers
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault 1132efe42e Send frame done to floating views
7 years ago
Drew DeVault 71db8de4be Render floating views
7 years ago
Drew DeVault f3ab895916 Implement `floating enable`
7 years ago
emersion c47d6cb1c4
Merge pull request #2081 from RedSoxFan/fix-2077
7 years ago
Brian Ashworth 8237d944d4 Fix move perpendicular segfault
7 years ago
Brian Ashworth cca587b21f Send reparent events in container_split
7 years ago
Brian Ashworth e13c94f2dd Fix typo
7 years ago
Brian Ashworth 633bee9019 Fix moving out of tab/stack when only child
7 years ago
Brian Ashworth 64225b1137 Send IPC layout of node itself
7 years ago
Brian Ashworth 3b90b55666 Notify of subtree change
7 years ago
Brian Ashworth f5e44d4b2c Fix layout in -t get_tree
7 years ago
Brian Ashworth 103a302fa4 Fix moving out of a tabbed/stacked workspace
7 years ago
Brian Ashworth a66fd74a54 Fix breaking out of tabs/stacks
7 years ago
Ryan Dwyer 6f4cb2b29d Add tree representation to IPC workspace description
7 years ago
Brian Ashworth d76729af22 Implement config parser for workspace_layout
7 years ago
Brian Ashworth 205a1732cf Force fullscreen views to be fully opaque
7 years ago
Brian Ashworth c81d0ef1e8 Support i3's legacy force_focus_wrapping command
7 years ago
emersion 1071785f56
Merge pull request #2060 from RedSoxFan/focus-wrapping
7 years ago
emersion 015878e5db
Merge pull request #2058 from RyanDwyer/refactor-parse-title-format
7 years ago
Brian Ashworth 46da1dc32b Implement focus_wrapping
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
Ryan Dwyer 9df1432f56 Refactor parse_title_format
7 years ago
Drew DeVault b2c0ba5b18
Merge pull request #2050 from smlx/focus-fix
7 years ago
Drew DeVault 53a3fc63c5
Merge pull request #2055 from RedSoxFan/output-destroy-workspace-ipc
7 years ago
frsfnrrg a78a5684ea Implement bindsym/bindcode --locked
7 years ago
Scott Leggett 4d8120ccf3 Improve comment.
7 years ago
Brian Ashworth fd137c4f05 Send workspace::move in container_output_destroy
7 years ago
Scott Leggett b57f88e7db Avoid assert on container type.
7 years ago
Scott Leggett 1b8de39287 Move previous cursor_position inline.
7 years ago
emersion 9c0cc98d07
Don't move empty workspaces when output is destroyed
7 years ago
Scott Leggett d1ebbebea0 Remove unused function.
7 years ago
Scott Leggett 0039f7a4fd Simplify logic, remove redundant variables.
7 years ago
Scott Leggett dd86444e59 Rely on view_is_visible rather thank walking the tree ourselves.
7 years ago
Scott Leggett 4cd304e4ba Store previous position in sway_cursor.
7 years ago
Ryan Dwyer 8fda41dab5
Merge branch 'master' into cmd-swap
7 years ago
Drew DeVault a372852c44
Merge branch 'master' into xdg-shell-tiled
7 years ago
emersion b350e8ec82
xdg-shell: make all toplevels tiled
7 years ago
Ryan Dwyer d3dd7e5bae Rename view_get_type to view_get_shell
7 years ago
Ryan Dwyer 484cc189e9 Add shell criteria token
7 years ago
Scott Leggett 06098bef98 Focus containers only on entry.
7 years ago
Ryan Dwyer 51865c00c8 Add %app_id to title_format
7 years ago
Brian Ashworth 569f4e0e4c Implement swap command
7 years ago
Drew DeVault fea654a6ce Replace oft-failing abort with if statement
7 years ago
Ivan Chebykin 464ec44b00
Check for next_focus before assert
7 years ago
Ivan Chebykin 6e6b0decd9
Fix usage of sway_assert
7 years ago
Ivan Chebykin 820a8c9c2d
Moved visibility check of of loop, added asserts
7 years ago
Ivan Chebykin 740234a4bc
Break after first tabbed/stacked layout
7 years ago
Ivan Chebykin 53516fa03f
Fix mouse focusing for horizontal/vertical views in tabbed containers
7 years ago
Ivan Chebykin f85d3e15ba
Fixed styling issues
7 years ago
Ivan Chebykin e19fe56e2f
Focus inactive container instead of checking cursor position
7 years ago
Ivan Chebykin 3b67253312
Skip all nested containers
7 years ago
Ivan Chebykin c62efbb5ce
Implement correct focusing for tabbed containers
7 years ago
Ivan Chebykin c1be4b0153
Fix focusing from other containers
7 years ago
Ivan Chebykin 87af08966a
Don't focus tabbed and stacked containers on mouseover
7 years ago
emersion 24832d8574
Update for swaywm/wlroots#1000
7 years ago
emersion 01abab8838
Merge pull request #2017 from emersion/wlroots-993
7 years ago
Drew DeVault ab74c95d56
Merge pull request #2036 from RyanDwyer/workspace-switch-on-map
7 years ago
Drew DeVault daf328d054
Merge pull request #2033 from RyanDwyer/arrange-after-flatten
7 years ago
Drew DeVault a268a0c2ae
Merge pull request #2034 from RyanDwyer/cleanup-container-titles
7 years ago
Ryan Dwyer f32a002401 Switch workspace if required when mapping a view
7 years ago
Ryan Dwyer e496cc99f8 Fix focus bug when moving between outputs
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
Ryan Dwyer 320703fdca Arrange views after flattening the parent
7 years ago
Ryan Dwyer c9630975da Fix crash in move workspace to output command
7 years ago
Ryan Dwyer cdbae9a5e9 Fix nested tabs
7 years ago
Brian Ashworth a6d43ff746 Implement IPC_GET_MARKS
7 years ago
Ryan Dwyer 5354988317 Implement clicking stacked title bars
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer 664169fbf1 Implement stacked layout
7 years ago
Drew DeVault 8bbf78fdd4 Fix focus follows mouse with no focus
7 years ago
emersion 708ff238f3
Update for swaywm/wlroots#993
7 years ago
Brian Ashworth 0273c6438c Fix hide_edge_borders smart for tabs and stacks
7 years ago
Ryan Dwyer 048b29527b Pre-multiply alpha for tab decorations
7 years ago
Ryan Dwyer 90607dc329 Add left/right borders to tabs
7 years ago
Ryan Dwyer 5ab4930185 Fix tab border issues
7 years ago
Ryan Dwyer 4672cb7ccf Use class or app_id in tree representation
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer bd79584f65 Add assertion in container_at_view
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Ryan Dwyer c4ea2b51f6 Fix hide_edge_borders constraints
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
Drew DeVault cf3ab1f45f
Merge pull request #2007 from swaywm/fix-focus-follows-mouse
7 years ago
Drew DeVault a3d3c819cf Fix focus_follows_mouse over swaybar
7 years ago
Brian Ashworth 750a497a8b Pre-multiply alpha for non-textures
7 years ago
Konstantin Pospelov fcc11f9771 Fix pixel bar below title
7 years ago
Ryan Dwyer 9fd28aea8c Rebuild textures if needed when moving a container
7 years ago
Ryan Dwyer f0212d66ee Update marks textures on output scale event
7 years ago
Ryan Dwyer ebb0d051db Fix many border opacity issues
7 years ago
Ryan Dwyer b1645fb352 Update show_marks documentation
7 years ago
Ryan Dwyer 69ac7f73e7 Destroy marks textures when view destroyed
7 years ago
Ryan Dwyer b351d0a64a Set textures to null when destroying
7 years ago
Ryan Dwyer 5384fdcbc6 Don't show marks which start with an underscore
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
Ryan Dwyer fc96f004d2 Don't steal focus when a view changes its title
7 years ago
Dominique Martinet 89ae1792b5 sway: run commands without waiting for Xwayland
7 years ago
emersion 79e970d86e
Correctly clip title texture if necessary
7 years ago
Ryan Dwyer 4d1edfcba9 Change unmark implemention to match i3's
7 years ago
Ryan Dwyer 22d38600d0 Implement marks
7 years ago
Brian Ashworth 9ba0dca7ba
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 77b42ec821 Always render top border for border normal
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Brian Ashworth 3488fbc859 Fix y and height for a hidden top normal border
7 years ago
Brian Ashworth 34b864fb17
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders
7 years ago
Ryan Dwyer 92b8497a0b Fix crash when launching programs from dmenu
7 years ago
Ryan Dwyer 8432d8a15e xdg_shell: Replace get_prop with get_string_prop
7 years ago
Ryan Dwyer 490f92255c Initialise error_arg to NULL in criteria_parse
7 years ago
Ryan Dwyer 39007fc30f Fix double free in criteria
7 years ago
Ryan Dwyer bffcb496cc Revert "Revert "Merge pull request #1953 from RyanDwyer/criteria-focused""
7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""
7 years ago
Drew DeVault 404d006a1c Enable lazy xwayland
7 years ago
Drew DeVault b2dec12368
Merge pull request #1970 from emersion/xdg-shell-stable
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago
Heghedus Razvan 789a877b37 Fix crash when using pango markup font
7 years ago
Drew DeVault 61aa0937a7
Merge pull request #1824 from snaggen/idle
7 years ago
Ryan Dwyer 90e6dfa268
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth 0f43eac5dc Fix recursion when counting descendants of a type
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
emersion 360e63b8a7
Don't destroy view child on xdg-popup unmap
7 years ago
Brian Ashworth 2adf23c2a3 Only count views for hide_edge_borders smart
7 years ago
Brian Ashworth ec60e24f75
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
Drew DeVault e2b8eac4bf
Merge branch 'master' into wlroots-970
7 years ago
Drew DeVault 2da685e913 Merge remote-tracking branch 'origin/master' into scdoc
7 years ago
Drew DeVault 51b0b25587
Merge pull request #1959 from RyanDwyer/ipc-get-seats
7 years ago
Drew DeVault a2d7079b26 Merge branch 'master' into scdoc
7 years ago
Drew DeVault da679a8051 Fix typos
7 years ago
emersion 50298dc901
Send pointer discrete axis values and source
7 years ago
Drew DeVault 32a572cecf Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
7 years ago
Drew DeVault ac0e62584f Revert "Merge pull request #1953 from RyanDwyer/criteria-focused"
7 years ago
Ryan Dwyer c72940837c Implement IPC get_seats command
7 years ago
Ryan Dwyer 4717c71da5
Merge branch 'master' into fix-crash-on-fullscreen
7 years ago
Ryan Dwyer 94e42f9857 Implement __focused__ criteria
7 years ago
Drew DeVault 7a964651fb Remove sway-security(7)
7 years ago
Drew DeVault d9a08b7a9d Add sway-input(5)
7 years ago
Drew DeVault 1813482266 Add sway-bar(5)
7 years ago
Drew DeVault 432256ad84 Add sway(5)
7 years ago
Drew DeVault c2a7d367af Wire up scdoc and rewrite sway(1)
7 years ago
Drew DeVault 3e1bf721c6
Merge pull request #1943 from RyanDwyer/criteria-improvements
7 years ago
Brian Ashworth 3db7fc2bb2 Implement hide_edge_borders
7 years ago
Dudemanguy911 935bda0f33 fix crash on fullscreen toggle
7 years ago
Drew DeVault 2217518bd5
Merge pull request #1956 from ggreer/move-focus
7 years ago
Geoff Greer 87fa84df13 cmd_move_container: Focus a window on the source workspace.
7 years ago
Geoff Greer 0a79983f94 Allow setting border widths for normal borders using default_border.
7 years ago
Ryan Dwyer 8595fc5a6f Update criteria documentation
7 years ago
Ryan Dwyer 0bf0a4fa40 Don't unescape \\ in criteria
7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation
7 years ago
Ryan Dwyer 83e314bf51 Highlight all child borders when using focus parent
7 years ago
emersion 44fcc06efd
Fix damage tracking on HiDPI
7 years ago
emersion 90614f3a63
Accumulate surface damage even if whole=true
7 years ago
emersion c0f5d740a5
Damage container when updating title
7 years ago
emersion 70b80b4698
Damage container on focus
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
emersion 98f7ee8f59
Render borders with damage
7 years ago
emersion c8a9ea3903
Implement full damage tracking
7 years ago
Drew DeVault 3bab37858a
Merge pull request #1932 from emersion/fix-layer-shell-exclusive
7 years ago
Ryan Dwyer 497793b5b7 Use reasonable default for font height
7 years ago
emersion 3d29e73e72
layer-shell: use usable_area when arranging non-exclusive layer surfaces
7 years ago
Dan Robertson 4ebd6f3507
Fix null deref in server_init
7 years ago
Ryan Dwyer 4922d269b8 Fix titles on rotated outputs
7 years ago
Vincent Vanlaer 95dac2a069 Update xwayland start for new API
7 years ago
Rostislav Pehlivanov b592351eef Revert "exec_always: Search for executables in /usr/lib/sway"
7 years ago
Rostislav Pehlivanov 2c0c3dc7cc Revert "Make the LIBDIR path configurable"
7 years ago
Rostislav Pehlivanov 0cdc47ab1e Revert "Meson: Replace option `instlibdir` with `libexecdir`"
7 years ago
Rostislav Pehlivanov cf602687c6 Revert "command/exec_always: Use wlr_log for logging errors in the child process"
7 years ago
Ryan Dwyer 556ff5f50e Implement pango support
7 years ago
Ryan Dwyer 1daf69477e Fix PATH setenv() in exec_always
7 years ago
emersion 786727d8bb
Merge branch 'master' into usr-lib
7 years ago
Nicolas Braud-Santoni 177c67e6b8 command/exec_always: Use wlr_log for logging errors in the child process
7 years ago
Nicolas Braud-Santoni 830c4ef74c Meson: Replace option `instlibdir` with `libexecdir`
7 years ago
Nicolas Braud-Santoni 1670b46bf6 Make the LIBDIR path configurable
7 years ago
Nicolas Braud-Santoni 7709340727 exec_always: Search for executables in /usr/lib/sway
7 years ago
Ryan Dwyer 936226845f Add extra check for view title being NULL
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer da7d6642d3 Refactor parse_title_format()
7 years ago
Ryan Dwyer d10a0a8c41 Fix memory leak in title_format command
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
Ryan Dwyer e83e5487be Use scissor to render title texture
7 years ago
Alex Xu (Hello71) 3202c45054 Check for NULL in container_update_title
7 years ago
Drew DeVault 029c9b1796
Merge pull request #1907 from emersion/backend-input-mapping
7 years ago
Drew DeVault d233e75eec Hide cursor on touch down
7 years ago
Drew DeVault 00e62c214d Fix alphabetization of command list
7 years ago
emersion 424006089e
Default to backend-wise input device mapping, if any
7 years ago
emersion 29224e7aec
Fix segfault when running the resize command without arguments
7 years ago
Ryan Dwyer ed0d606c2a Fix title texture width
7 years ago
Drew DeVault 85396b90fb Fix unfocused.text default
7 years ago
Drew DeVault 58a033d816 Convert border_colors.text to float[4]
7 years ago
Drew DeVault 8f06aa7598 Fix anti-aliasing
7 years ago
Ryan Dwyer 74d1367fac Update titles when surfaces are committed
7 years ago
Ryan Dwyer 89d1571041 Fix potential segfault when setting container title
7 years ago
Ryan Dwyer 55b307cddf Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Drew DeVault 52aa245b24 Implement basic touch support
7 years ago
Dillen Meijboom b45e2bd95e Fixed #1888 GCC cannot compile due to uninitialized variables (#1889)
7 years ago
Ryan Dwyer daab8e3503 Support alpha in border colours
7 years ago
db 22170bde77 Fix layer surface crash on output destroy
7 years ago
Ryan Dwyer cb07434913 Remove unnecessary pointers
7 years ago
Ryan Dwyer 51df1d4ff8 Update cursor when border is changed
7 years ago
Drew DeVault 7f574c538d Fix alphabetization of commands array
7 years ago
Ryan Dwyer 83952c5201 Restore view_update_position()
7 years ago
Ryan Dwyer 55577498c0 Allow clicking view decorations to focus view
7 years ago
Ryan Dwyer 700510b45e Implement indicator border
7 years ago
Ryan Dwyer ed9e2015b2 Scale borders according to output scale
7 years ago