3236 Commits (15ac580b28a2906d799fd709e83cb75e0efc3f45)

Author SHA1 Message Date
Cole Mickens 6414b5d288 tree/view.c: fix uninitialized variables warning
6 years ago
Ryan Dwyer 65328ef60c Respect border settings when rendering lone tabbed/stacked child
6 years ago
mwenzkowski 94985146ea Fix #2992
6 years ago
Ryan Dwyer 63d076dc2a Fix focus after a non-visible workspace's last container is destroyed
6 years ago
Drew DeVault b29beb1aa0
Merge pull request #2985 from mihaicmn/fix-retiling
6 years ago
Mihai Coman 5323551a7f Fix re-tiling for floating containers
6 years ago
Ferdinand Bachmann 6409a109f6 sway-ipc: don't log errno if unneeded and add more descriptive errors
6 years ago
Tom Warnke 1670eafd7b protect newline
6 years ago
ppascher 2123dfa15f
Update workspace.c
6 years ago
ppascher db61d581a3
Update workspace.c
6 years ago
Drew DeVault 51ad2676d0
Merge pull request #2975 from RyanDwyer/deny-commands-when-no-outputs
6 years ago
Ryan Dwyer 885963f11f Deny several commands when there's no outputs connected
6 years ago
Ryan Dwyer 60a1d79de7 Rebase the cursor after applying transactions
6 years ago
Drew DeVault ea2497d35c
Merge pull request #2950 from emersion/presentation-time
6 years ago
emersion b1c49038a6
Merge pull request #2971 from RyanDwyer/document-output-identifiers
6 years ago
Ryan Dwyer ea097631af Document how to identify outputs by make, model and serial
6 years ago
Ryan Dwyer f7aed5c7e5 Fix containers not being resized when entering scratchpad
6 years ago
Ryan Dwyer 641fbe576e When scrolling on a tab titlebar, set focus_inactive if not focused
6 years ago
Drew DeVault 46fc4ba4e3
Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map
6 years ago
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
6 years ago
Ryan Dwyer 3c7fd145d5 Rebase the cursor after focusing in a direction
6 years ago
Drew DeVault bdb176863c
Merge pull request #2933 from Snaipe/xwayland-window-properties
6 years ago
emersion a654ac1bd6
Implement the presentation-time protocol
6 years ago
Franklin "Snaipe" Mathieu 8fc9328334 xwayland: populate window_properties in json for views
6 years ago
Ryan Dwyer 9c965ec58c seat_update_capabilities: Set cursor image while we have the capability
6 years ago
Ryan Dwyer 450a0661d7 Fix dormant cursor when using multiple seats
6 years ago
Ian Fan 9227cb7d67 commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST
6 years ago
Ian Fan 000d96e525 commands: clean-up checkarg function
6 years ago
Ian Fan 5364255f26 commands: remove EXPECTED_MORE_THAN
6 years ago
Ian Fan a9fdd5dd2a commands: print correct command on error for exec and opacity
6 years ago
Brian Ashworth 6a9930f451 cmd_swaynag_command: fix typo in variable
6 years ago
Drew DeVault 5c6240a906
Merge pull request #2935 from mteyssier/ref-output-docs
6 years ago
mteyssier f530ac6459 Add references to sway-output(5) in sway(5)
6 years ago
Brian Ashworth 31f82830b2 config: remove peeked + expanded line log entries
6 years ago
Brian Ashworth bb06a57a71
Merge branch 'master' into fix-scratchpad-resize
6 years ago
Drew DeVault d9ed9445de
Merge pull request #2926 from RyanDwyer/fix-xwayland-floating-logic
6 years ago
Ryan Dwyer 662466e8db Fix crash when resizing container hidden in the scratchpad
6 years ago
Drew DeVault cdbfc3338b
Merge pull request #2924 from RyanDwyer/fix-qt-menu-crash
6 years ago
Drew DeVault ef532154c3
Merge pull request #2923 from RyanDwyer/fix-move-to-fullscreen-crash
6 years ago
Ryan Dwyer 16ef702645 Fix xwayland wants_floating logic
6 years ago
Ryan Dwyer 6deb726873 Fix crash when quitting a QT app on the wayland backend using menu
6 years ago
Ryan Dwyer f04b8f0061 Fix crash when moving a container to a fullscreen workspace
6 years ago
Brian Ashworth 80e8be71a3 cmd_reload: recalc font sizing + rebuild textures
6 years ago
Christian 989bddc765 Parse missing i3 window types
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
Ryan Dwyer ebeb759873 Abort if proprietary drivers are in use
6 years ago
Drew DeVault 64534d2fd1
Merge pull request #2895 from RyanDwyer/fix-popup-damage
6 years ago
Drew DeVault 551e05ba90
Merge pull request #2888 from RyanDwyer/remove-raise-floating
6 years ago
Ryan Dwyer 93ec1af4d9 Fix popup damage issues when toplevel and/or popup uses geometry
6 years ago
Mihai Coman 3daf963d4d Fix crash when defaut seat is not created
6 years ago
Ryan Dwyer b9b1b0e566 Remove raise_floating directive
6 years ago
emersion 75ea19c71b
Merge pull request #2870 from RyanDwyer/refactor-input-manager
6 years ago
emersion fe6aea1d02
Merge pull request #2886 from RyanDwyer/fix-headless-unmap-crash
6 years ago
emersion 4bde0eb911
Merge pull request #2879 from Emantor/fix/swaybar_position
6 years ago
Rouven Czerwinski 17fb3b6994 commands/bar: remove left and right from allowed positions
6 years ago
Ryan Dwyer c006717910 Minor refactor of input manager
6 years ago
Ryan Dwyer ed771a6a6e Fix crash when view unmaps while no outputs connected
6 years ago
Drew DeVault 5b8257b88f
Merge pull request #2872 from RyanDwyer/cursor-rebase
6 years ago
Ryan Dwyer 9b828939e5 Fix crash when ending tiling drag
6 years ago
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Ryan Dwyer 4d743b64d0 Fix logic used for mouse_warping output
6 years ago
Drew DeVault 96e3686ae8
Merge pull request #2875 from RedSoxFan/input-device-bindings
6 years ago
Ryan Dwyer a2fdac2c4b Consider cursor warp when switching workspaces
6 years ago
Brian Ashworth 2e637b7368 cmd_bind{sym,code}: Implement per-device bindings
6 years ago
Ryan Dwyer 24a90e5d86 Remove cursor warping from seat_set_focus
6 years ago
emersion fd9198a3a4 Export XCURSOR_SIZE and XCURSOR_THEME
6 years ago
Drew DeVault 10d07478ad
Merge pull request #2858 from RyanDwyer/fix-move-to-floating-ws
6 years ago
Drew DeVault e46c3ffbc9
Merge pull request #2861 from RyanDwyer/fix-empty-workspace-crashes
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Ryan Dwyer 17014c34e2 Fix crashes when running certain commands on an empty workspace
6 years ago
Ryan Dwyer 799f285cd1 Fix moving tiled containers to workspaces which only have floating views
6 years ago
Rouven Czerwinski 1f0aeae335 view: rewarp cursor during view_unmap
6 years ago
Rouven Czerwinski d69cf4c23c seat: use new warping functions for cursor warping during focus warp
6 years ago
Rouven Czerwinski 0969bf758b cursor: functions to warp cursor to container and workspace
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer d0974d5c50 Fix crash when using workspace back_and_forth with no previous
6 years ago
Ian Fan ac20690945
Merge branch 'master' into set-set-raw-focus
6 years ago
Ryan Dwyer 05284b65db Prevent duplicate workspace::focus events
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Ryan Dwyer fe803b89a7 Fix crash in swap command
6 years ago
Drew DeVault b69060fc58 Establish sway-output(5)
6 years ago
Drew DeVault 7f2e6d812a Document `border csd`
6 years ago
Ian Fan 85dd36e92b swaybar: add documentation for hide/hidden_state subcommands
6 years ago
Ian Fan 2f1fd80726 swaybar: show hidden bar on key event
6 years ago
Ian Fan 1f90f92f45 commands: fix sending bar mode/hidden_state updates to all bars
6 years ago
Drew DeVault abde9d6627
Merge pull request #2808 from RedSoxFan/bar-subcommands
6 years ago
Drew DeVault 71aaa7e130 Remove unnecessary comment
6 years ago
Brian Ashworth 02aeb0f0be
Merge branch 'master' into fix_edge_gaps
6 years ago
Brian Ashworth 2a0c7ebd43 cmd_bar: simplify logic
6 years ago
Brian Ashworth 84b28dc593 cmd_bar: fix bar id issues
6 years ago
Tarmack 36d9037f2c fix_edge_gaps: Allow negative values for outer gaps.
6 years ago
Brian Ashworth 2340b14eba bar_cmd_status_command: only reload current bar
6 years ago
Brian Ashworth 00745d6280 Fix bar subcommand handler structs and selection
6 years ago
Ryan Dwyer 9190735947 Fix crash when view maps while locked
6 years ago
Ryan Dwyer c699a86e47 Fix pixel leaks when using fractional scaling
6 years ago
Ryan Dwyer 27fb146121
Merge branch 'master' into master
6 years ago
meak 9e96ce4a46 fix: cmd_sticky crash sway with empty container
6 years ago
chtison 5ab7755649 Fix documentation of output
6 years ago
Thiago Mendes 8e147b3f1d
Add libinput send_events config for touch
6 years ago
Drew DeVault 5d19906556
Merge pull request #2806 from v-gu/add-libinput-support-for-keyboard
6 years ago
Ian Fan cd6917d4a8
Merge branch 'master' into bar-bindsym
6 years ago
Ryan Dwyer ed33d95b6a
Merge branch 'master' into mouse-warping-container
6 years ago
Rouven Czerwinski 41991542ca Add mouse_warping container
6 years ago
Ryan Dwyer 416bb7a214 Fix floating click events
6 years ago
Ryan Dwyer 8c98bde20d Fix back_and_forth documentation
6 years ago
mwenzkowski fd645a2a88 Fix undesirable height change of floating views
6 years ago
Vincent Gu 073aa4149f add libinput config for keyboard
6 years ago
Drew DeVault 43875c437b
Merge pull request #2805 from RyanDwyer/fix-resize-return-value
6 years ago
Drew DeVault 53164c4aa2
Merge pull request #2803 from RedSoxFan/fix-2802
6 years ago
Ryan Dwyer 61699a1146 resize: Determine if anything changed using before/after check
6 years ago
Brian Ashworth d3f0e52784 bar-bindsym: address ianyfan's comments
6 years ago
Brian Ashworth 1c969e86f5 Implement bar bindsym
6 years ago
Rouven Czerwinski 1eb0dc2922 config: remove double free of config->swaynag_command
6 years ago
Brian Ashworth 5e9c61ac23 Only consider tiling views for gaps outer
6 years ago
Drew DeVault 4bebee620f
Merge pull request #2772 from RyanDwyer/improve-popup-damage
6 years ago
Brian Ashworth 3f328b6276
Merge branch 'master' into popup-during-fullscreen
6 years ago
Ian Fan efb123899f commands: when setting urgency, check container is not null
6 years ago
Brian Ashworth 09c3c33081 Allow swaynag to be disabled
6 years ago
emersion 45f2cd0c73
Merge pull request #2793 from emersion/disable-swaybg
6 years ago
Ryan Dwyer d21d2c8665 Remove duplicate code
6 years ago
Ryan Dwyer b8002fc0c4 Look for any ancestor when checking for fullscreen exit
6 years ago
Ryan Dwyer 88317b59ce Use current state when rendering transient containers
6 years ago
emersion ab3a397d58 Fix memory leak in status_command handler
6 years ago
John Axel Eriksson 08139daaa4
Check if there is a current container before setting it's opacity
6 years ago
emersion c988b03d85 Allow swaybg to be disabled
6 years ago
Ryan Dwyer f23588de3c Introduce container_is_transient_for
6 years ago
Ryan Dwyer 832ebc8966 Implement popup_during_fullscreen
6 years ago
Ryan Dwyer 5e1983660d Allow status_command to be disabled via IPC
6 years ago
Ryan Dwyer 41bfd8c790 swaybar: allow null status_command
6 years ago
Ryan Dwyer e168e8f0ff Don't apply seat config when validating
6 years ago
Ryan Dwyer 88a5e26c6e Remove unneeded variable
6 years ago
Ryan Dwyer 82423991a8 Reload config using idle event
6 years ago
Drew DeVault 92e1fc00fd Shim client.background and client.placeholder
6 years ago
Ryan Dwyer caed15af82 Handle subsurfaces in view_child_damage
6 years ago
Ryan Dwyer 59ba528bd9 Use wlr_xdg_popup_get_toplevel_coords
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ian Fan 2cda0b1fe1 ipc: set "type" of floating containers to "floating_con"
6 years ago
Ryan Dwyer c620f76bea Move sticky containers when switching workspace via criteria
6 years ago
Ryan Dwyer 44b550298e Fix crash when flattening container after moving
6 years ago
Ian Fan e2dc6dfcd8 Remove obsolete base64.c file
6 years ago
Drew DeVault eecebcafc6 Fix #2763
6 years ago
emersion 0d5c2f75b5
Merge pull request #2760 from RyanDwyer/swaylock-handle-output-disconnect
6 years ago
Ryan Dwyer 4feedbf7cf Ignore unrelated cursor buttons while doing seat operations
6 years ago
Ryan Dwyer 32cb631143 Give focus to another swaylock surface when output is disconnected
6 years ago
emersion 681ed1826d
Merge pull request #2759 from minus7/fix-view-container-null
6 years ago
minus 95d7d5f4ee Fix crash if view has no container
6 years ago
Jonathan Buch 426c33f4dc
Reenable popup-handling for determining focus
6 years ago
Jonathan Buch 7e978d7a4c
Use "raycasting" for determining focus for floating windows
6 years ago
Jonathan Buch 7727d54faf
Fix focusing topmost floating windows
6 years ago
Jonathan Buch 8bec0c90c7
Add manpage documentatioon for raise_floating
6 years ago
Jonathan Buch ec713125c6
Simplify raising a container in seat
6 years ago
Jonathan Buch 298ccb539c
Add configuration for raising containers on focus
6 years ago
Ryan Dwyer 5dd535b67a Add sanity check for empty focus stack
6 years ago
Drew DeVault e60ad3f677 Fix some missing commands in sway-input(5)
6 years ago
Drew DeVault 06c214a800
Merge pull request #2703 from RyanDwyer/csd-border
6 years ago
Ryan Dwyer a519fb6fde Fix tiling criteria
6 years ago
Ryan Dwyer 677e112733 Set focus_inactive on a sibling when a container closes in an inactive workspace
6 years ago
Brian Ashworth bb25194844 Handle border options for gaps
6 years ago
Ryan Dwyer 82559c16c7
Merge branch 'master' into fix-2653
6 years ago
Drew DeVault 9956a1a9ab
Merge pull request #2735 from RedSoxFan/fix-quotes
6 years ago
Brian Ashworth 742d1764a6 Fix smart gaps
6 years ago
Drew DeVault 51f68e10ad
Merge pull request #2737 from Ragnis/criteria-floating
6 years ago
Ragnis Armus 1bd695ffd2 Parse floating criteria
6 years ago
Brian Ashworth a125575eb5 Do not strip quotes for cmd_set
6 years ago
Brian Ashworth 87a70b3591 Do not strip quotes for exec or bind commands
6 years ago
Arkadiusz Hiler eed0bc3ebd Add support for installing binaries with DT_RPATH
6 years ago
Drew DeVault f1dbdce0b2
Merge pull request #2726 from RyanDwyer/overhaul-gaps
6 years ago
Drew DeVault e518c5dbaf
Merge pull request #2728 from RedSoxFan/move-sticky-on-evac
6 years ago
Drew DeVault 8f6aca2166
Merge pull request #2725 from PumbaPe/add-tap-and-drag
6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void)
6 years ago
Arkadiusz Hiler 00dfb76832 Remove libcap/prctl artifacts
6 years ago
Ryan Dwyer 24bcb507ec Fix hotplugging down to zero outputs
6 years ago
emersion a53171669a
Merge pull request #2698 from ianyfan/hide-cursor
6 years ago
PP ae2b70f59e add tap-and-drag setting to sway-input
6 years ago
emersion 351e722b6e
Merge pull request #2729 from RyanDwyer/resize-return-false
6 years ago
Ryan Dwyer 42f1fdf015 Return an error when resizing is a no op
6 years ago
Brian Ashworth 8f09ba7885 Move sticky containers in output_evacuate
6 years ago
Brian Ashworth 0a0cf4540a Fix quote handling for commands
6 years ago
Brian Ashworth af45ee2d8b Handle shell special characters in bg file path
6 years ago
Ryan Dwyer 7661c71b33 Update gaps documentation
6 years ago
Ryan Dwyer bb708d0f82 Don't allow negative gaps
6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps
6 years ago
Brian Ashworth a9d9944e76 sway{,bar,input}.5: changes for generic blocks
6 years ago
Brian Ashworth cc6544c538 sway.5: update set command information
6 years ago
Ian Fan 98576b9dda swaybar: fix setting binding mode indicator
6 years ago
Ryan Dwyer 56e9f31b2f Check for NULL output in workspace_valid_on_output
6 years ago
Ryan Dwyer 138d10d5d6 Rename workspace_outputs to workspace_configs and fix memory leak
6 years ago
Ian Fan 0dfcadc1cf transaction: do not use pointers for state
6 years ago
Ryan Dwyer 22412f57b0 Fix floating views in tabbed/stacked workspaces not getting frame events
6 years ago
Ryan Dwyer f16529e258 Remove server-decoration assumption if view supports xdg-decoration
6 years ago
Ryan Dwyer 21ff87d72b Improve CSD logic
6 years ago
Ryan Dwyer 6d0442c0c2 Rename view_set_csd_from_client to view_update_csd_from_client
6 years ago
Ryan Dwyer efcfe57b10 Remove CSD from toggle list if client doesn't support it
6 years ago
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
6 years ago
Ian Fan a6c5628fa7 input config: merge left_handed option
6 years ago
Drew DeVault 5912be46c3
Merge pull request #2704 from ianyfan/tablet-config
6 years ago
sghctoma 2f258eff6f Make sway/ipc-server.c POSIX 2001 compliant
6 years ago
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly
6 years ago
Alexander Bakker d129108cdd Add a missing null check for moving tiling containers
6 years ago
Ryan Dwyer b1a0e95e8e Fix crash when disconnecting output
6 years ago
Ian Fan 6194a445d3 input: enable configuring tablets with libinput
6 years ago
Ian Fan a10fef9ae8 cursor: allow cursor_set_image to accept a NULL image to hide cursor
6 years ago
Ian Fan dafb0526d7 seat: only show cursor if pointer configured
6 years ago
Brian Ashworth baeb28ea62 Implement support for input wildcard
6 years ago
Ryan Dwyer 271b24ddfb Fix GtkMenuBar always opening first item
6 years ago
Drew DeVault c2c257b884
Merge pull request #2695 from RyanDwyer/remove-moveoutoftabsstacks
6 years ago
emersion 4bc327a021
Merge pull request #2694 from RyanDwyer/fix-sticky-jumping-on-switch
6 years ago
emersion 1af4d314d1
Merge pull request #2686 from RyanDwyer/tab-scrolling
6 years ago
Ryan Dwyer 9753e52d6b Flatten container in workspace_rejigger
6 years ago
Ryan Dwyer 0b7fb6943e Fix some bugs as a result of removing move_out_of_tabs_stacks
6 years ago
Ryan Dwyer 93624599b3 Remove move_out_of_tabs_stacks
6 years ago
Ryan Dwyer 64445f4214 Prevent sticky containers from jumping on workspace switch
6 years ago
Drew DeVault 68395f34f6
Merge pull request #2688 from RyanDwyer/exec-commands-without-focus
6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them
6 years ago
Ian Fan d101f3d357 commands: remove obselete code for sticky windows when switching workspace
6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available).
6 years ago
emersion eae42606e2
Merge pull request #2660 from RyanDwyer/fix-scratchpad-iteration
6 years ago
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text
6 years ago
emersion fe7e66407c
Merge pull request #2678 from RyanDwyer/reconfigure-on-reposition
6 years ago
Ryan Dwyer bf5933c501 Implement tab cycling using mouse wheel
6 years ago
Brian Ashworth 04862e2121
Merge branch 'master' into swaybar-hotplug
6 years ago
Ryan Dwyer ae2f53a477 Reconfigure xwayland views when repositioned
6 years ago
Marien Zwart 37e51a20cc Fix compilation against wlroots without X11 backend
6 years ago
Ryan Dwyer 0798fadff2
Merge branch 'master' into render-output-segfault
6 years ago
emersion 82f1393cbb swaybar: handle hotplugging
6 years ago
emersion fa4308c5ab
Merge pull request #2671 from emersion/output-execute-no-focus
6 years ago
Drew DeVault 6ec3626228
Merge pull request #2676 from ianyfan/ipc
6 years ago
Ian Fan 81f3fda6fa ipc: add pid information for views in layout tree
6 years ago
emersion efc08ec888 Fix segfault when executing command without focus
6 years ago
emersion a2090d4222
Merge branch 'master' into create-output-command
6 years ago
Ian Fan 8e8a5ca217 config: free strings fields when freeing input config
6 years ago
Ryan Dwyer db28459634 Introduce create_output command (for developer use)
6 years ago
emersion 4289343e17 Fix segfault in output_render
6 years ago
Ryan Dwyer c6ff1f67f1 Fix double iteration of scratchpad containers
6 years ago
William Wold f48999dd24 Fix crash moving out of tab container
6 years ago
Drew DeVault 456b91600d
Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigans
6 years ago
Marien Zwart ffd1308bbc Fix crash when destroying an idle-inhibiting client
6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child
6 years ago
Ryan Dwyer 48bc15e758 Make seat_get_active_child ignore floating children
6 years ago
Ryan Dwyer 09733e233f Fix crash when unmapping last child of a tabbed workspace
6 years ago
Ian Fan 34dbbb1314 ipc: handle NULL cases for node_get_output
6 years ago
Ian Fan 1c292fd43a ipc: add focus information to root node
6 years ago
Drew DeVault 64d567be9b
Merge branch 'master' into wlroots-1243
6 years ago
Drew DeVault 3b92d5bb6d Additional fix for xdg-output
6 years ago
Drew DeVault b4d60da856
Merge branch 'master' into wlroots-1243
6 years ago
Drew DeVault 73aab86b6d Postfix xdg-output headers
6 years ago
Ian Fan 25ba80057d Remove redundant container creation in view initialization
6 years ago
emersion 7699c5444c Update for swaywm/wlroots#1243
6 years ago
Brian Ashworth 17fe8924f2 Address ianyfan's comments
6 years ago
Brian Ashworth 1cf737489d Escape spaces in background file path
6 years ago