1205 Commits (8c8e6a6c9089d70c3b970b03c3f783eafd16f825)

Author SHA1 Message Date
Ryan Dwyer 528c7495bb Move view border properties to container struct
6 years ago
madblobfish 1f23ec2d05 Revert "Add resolve_path() to utils"
6 years ago
Ryan Dwyer 7be309710d Remove enum movement_direction
6 years ago
Franklin "Snaipe" Mathieu f8e83ee20a binding: match single-key bindings if no multi-key binding matched
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Drew DeVault ea2497d35c
Merge pull request #2950 from emersion/presentation-time
6 years ago
Drew DeVault 46fc4ba4e3
Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map
6 years ago
Ryan Dwyer 17bb39cd49 Add multiseat support to swaylock
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Drew DeVault bdb176863c
Merge pull request #2933 from Snaipe/xwayland-window-properties
6 years ago
emersion a654ac1bd6
Implement the presentation-time protocol
6 years ago
Franklin "Snaipe" Mathieu 8fc9328334 xwayland: populate window_properties in json for views
6 years ago
Ian Fan 9227cb7d67 commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST
6 years ago
Ian Fan 5364255f26 commands: remove EXPECTED_MORE_THAN
6 years ago
Ryan Dwyer 6deb726873 Fix crash when quitting a QT app on the wayland backend using menu
6 years ago
Christian 989bddc765 Parse missing i3 window types
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
Ryan Dwyer b9b1b0e566 Remove raise_floating directive
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Ryan Dwyer 4d743b64d0 Fix logic used for mouse_warping output
6 years ago
Drew DeVault 96e3686ae8
Merge pull request #2875 from RedSoxFan/input-device-bindings
6 years ago
Ryan Dwyer a2fdac2c4b Consider cursor warp when switching workspaces
6 years ago
Brian Ashworth 2e637b7368 cmd_bind{sym,code}: Implement per-device bindings
6 years ago
Ian Fan 499150a91b swaybar: separate input code to new file
6 years ago
Ryan Dwyer 24a90e5d86 Remove cursor warping from seat_set_focus
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Rouven Czerwinski 0969bf758b cursor: functions to warp cursor to container and workspace
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Ryan Dwyer c6f153d8f9 Event loop: Fix memmove and remove extraneous declaration
6 years ago
Ryan Dwyer 6921fdc6d6 Remove timerfd from loop implementation
6 years ago
Ryan Dwyer f98f351a52 swaylock: Don't wait too long for surface damage before verifying
6 years ago
Ryan Dwyer fa11b7f701 swaylock: clear password after 10 seconds
6 years ago
Ryan Dwyer c242712262 swaylock: Remove indicator after 3 seconds
6 years ago
Ryan Dwyer 9c833c661a swaylock: Use common event loop
6 years ago
Ryan Dwyer 4056c09e13 Move swaybar's event loop to common directory and refactor
6 years ago
Ian Fan a29ee77411 swaybar: send signal to status when hiding or showing bar
6 years ago
Ian Fan f6f72cb949 swaybar: show hidden bar on urgency
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Ian Fan bcc61e5147 swaybar: handle mode/hidden_state changes
6 years ago
Ian Fan fed11d1c7b swaybar: move mode & mode_pango_markup to bar struct
6 years ago
Ian Fan 19f0bf3864 swaybar: add free_hotspots helper function
6 years ago
Ian Fan 18eaf45224 swaybar: annotate wl_list properties in definitions
6 years ago
Ian Fan d0b54e932b swaybar: save id upon startup
6 years ago
Drew DeVault abde9d6627
Merge pull request #2808 from RedSoxFan/bar-subcommands
6 years ago
Tarmack 36d9037f2c fix_edge_gaps: Allow negative values for outer gaps.
6 years ago
Brian Ashworth 00745d6280 Fix bar subcommand handler structs and selection
6 years ago
Ian Fan cd6917d4a8
Merge branch 'master' into bar-bindsym
6 years ago
Rouven Czerwinski 41991542ca Add mouse_warping container
6 years ago
Ryan Dwyer 61699a1146 resize: Determine if anything changed using before/after check
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
Drew DeVault 4bebee620f
Merge pull request #2772 from RyanDwyer/improve-popup-damage
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 82423991a8 Reload config using idle event
6 years ago
Drew DeVault 92e1fc00fd Shim client.background and client.placeholder
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ryan Dwyer b0393ae34b swaylock: Support keyboard and pointer disconnects and reconnects
6 years ago
Ian Fan e2dc6dfcd8 Remove obsolete base64.c file
6 years ago
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago
Jonathan Buch 298ccb539c
Add configuration for raising containers on focus
6 years ago
Drew DeVault 06c214a800
Merge pull request #2703 from RyanDwyer/csd-border
6 years ago
Ian Fan 65593f49bc swaybar: add leading comma to click event JSON
6 years ago
Brian Ashworth bb25194844 Handle border options for gaps
6 years ago
Brian Ashworth 742d1764a6 Fix smart gaps
6 years ago
Drew DeVault f1dbdce0b2
Merge pull request #2726 from RyanDwyer/overhaul-gaps
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 d8200012fb Remove declarations that do no have definitions
6 years ago
Ian Fan 02dfeea54c swaybar: synchronize rendering to output frames
6 years ago
PP ae2b70f59e add tap-and-drag setting to sway-input
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Ian Fan 751bb4a376 swaybar: move i3bar definitions into separate file
6 years ago
Ian Fan bcd2a8fe12 swaybar: remove unused focused_output property
6 years ago
Ian Fan 312d009f65 swaybar: fail if bar id is invalid
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Drew DeVault c977349120 Add support for building swaylock without PAM
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 7b138e5ef0 Add CSD to border modes
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
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
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
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
Ryan Dwyer db28459634 Introduce create_output command (for developer use)
6 years ago
Ian Fan 7882ac66ef swaybar: rewrite i3bar protocol handling
6 years ago
Ian Fan 70245c2cd5 swaybar: rewrite text protocol handling
6 years ago
Ian Fan 9932c6a1f1 swaybar: fix empty function prototypes
6 years ago
emersion 012df55be5 swaybar: use output names instead of output indexes
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Ian Fan 2eaef80206 i3bar: count references to blocks
6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation
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
Ryan Dwyer 9215ca0f01 Align titles to baseline
6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
6 years ago
Scott Anderson bcde223129 Remove __PRETTY_FUNCTION__
6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling
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
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
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
Drew DeVault 89a045835f
Merge pull request #2547 from RyanDwyer/fix-reload-crash
6 years ago
Ryan Dwyer f4ec308376 Implement window_type criteria token
6 years ago
Ryan Dwyer 7e81e58e7d Allow reload command to exist anywhere in the command string
6 years ago
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments
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
Ryan Dwyer 1e024b91fa Add comment for sway_root.all_outputs
6 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs
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
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges
6 years ago
Brian Ashworth f0d21c46dd Fix bad-free in swaynag
6 years ago
Ryan Dwyer e1955c5c08 Fix crash when adding output
6 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly
6 years ago
Drew DeVault 9f913614ca
Merge pull request #2478 from RyanDwyer/standardise-debug
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 23601a8771 commands: complete assign command
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 b0a5f3a25f Store geometry in the view and handle any floating view resizing
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
Ryan Dwyer 1801b725e2 Add using_csd variable to transaction state
6 years ago
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
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
Ryan Dwyer b4a0363d17 Implement resizing tiled containers via cursor
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
Brian Ashworth 43d1ffc9dd Allow a fallback color to be specified for swaybg
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 d8b65193c4
Merge pull request #2268 from emersion/server-decoration-borders
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
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 69e1a421fc commands: complete move implementation
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
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
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container
6 years ago
emersion b336564511 Fix pointer events for fullscreen views
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
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Brian Ashworth 4f5cf330c8 swaynag: address some more of sircmpwn's comments
6 years ago
Brian Ashworth 0ef3988438 swaynag: fix hidpi
6 years ago
Brian Ashworth e01acb6097 swaynag: allow more config options
6 years ago
Brian Ashworth a6145914c6 swaynag: refactor {sway_,}nagbar to swaynag
6 years ago
Brian Ashworth 6124d0f9a2 swaynag: split config into own file and fix optind
6 years ago
Brian Ashworth 8463a2896a swaynag: implement config file support
6 years ago
Brian Ashworth a4f7bf23b2 Address first round review for swaynag
6 years ago
Brian Ashworth 72db10c2f1 Support a detailed message in swaynagbar
6 years ago
Brian Ashworth 88bc4b528e Implements swaynagbar
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 3edaf2ce2a ipc: add tick event
6 years ago
Ian Fan 6865b8aae9 ipc: add binding event
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan e8b179e313 ipc: add shutdown event
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
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