4289 Commits (798e3c8858fdddb0e548d649cc61b6777565de98)

Author SHA1 Message Date
Josef Gajdusek ac87df23ea Update output manager on layout change
5 years ago
Sauyon Lee 9af0b4d2ea Make fullscreen check for fullscreen parents
5 years ago
Pedro Côrte-Real 95c444de33 Sanity check gaps on the outside of the workspace
5 years ago
Pedro Côrte-Real 99192a92f9 Avoid negative outer gaps
5 years ago
Pedro Côrte-Real 44c2fafa4f Sanity check gaps between tiled containers
5 years ago
Pedro Côrte-Real d0233af3b3 Rework gaps code to be simpler and correct
5 years ago
Pedro Côrte-Real e3a3917d3a Layout tiled using a width/height fraction
5 years ago
Pedro Côrte-Real 1312b5bb9f Layout correctly with several new windows
5 years ago
Brian Ashworth c312a10cc7 cmd_split: fix toggle split for non-split layouts
5 years ago
Brian Ashworth 5ffcea4c28 cmd_layout: toggle split for tabbed/stack default
5 years ago
Brian Ashworth 6096d31eed config/output: correctly set width/height in apply
5 years ago
Brian Ashworth 32265d9136 input/libinput: only reset supported options
5 years ago
Brian Ashworth 152e30c374 cmd_bindswitch: add option to execute on reload
5 years ago
Sebastian Parborg 538b36c0e2 Make mouse drag in tiled mode swap containers if no edge is selected
5 years ago
Sergei Dolgov c9cb5ced7f calibration_matrix: expect 6 individual values
5 years ago
Sergei Dolgov a5c6816095 calibration_matrix: add the current matrix to the IPC description for libinput devices
5 years ago
Sergei Dolgov bcceb61b43 Use isnan
5 years ago
Sergei Dolgov 01ec18e802 Add calibration_matrix config option
5 years ago
random human 0ba959f1ce tree: set correct border value before creating floater
5 years ago
Brian Ashworth a18d1c55ce ws-output-priority: fix logic issue in find_output
6 years ago
murray b59139c239 use surface coordinates for damaging buffers
6 years ago
Brian Ashworth d0d01810f3 cmd_mode: allow runtime creation and modification
6 years ago
Brian Ashworth fc3253cc35 cmd_seat: split action and config handlers
6 years ago
Brian Ashworth c346c020bf config: fix find_handler logic
6 years ago
Brian Ashworth 5069b53d6c config/xwayland: retain xwayland status on reload
6 years ago
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
6 years ago
Robert Sacks bdd4d69205 Add missing underscore in bindswitch documentation
6 years ago
Brian Ashworth 9670ccee68 bindings: defer while initiailizing
6 years ago
Matt Coffin 2b5bf78faf Fix segfaults caused by faulty command parsing
6 years ago
Simon Ser 3f77591b00 Add docs for new IPC keyboard properties
6 years ago
Simon Ser 3f2518edc1 Add missing docs for xkb_switch_layout
6 years ago
Simon Ser 2bccb387d8 Add a new xkb_switch_layout command
6 years ago
Simon Ser 84e4061bf4 ipc: add xkb_layout_names and xkb_active_layout_index
6 years ago
Brian Ashworth 5b1a8d62b9 config/input: validate xkb keymap before storing
6 years ago
Brian Ashworth be2d2a299a commands/input: perform basic keymap validation
6 years ago
Alex Maese 4d93b96b6e Unhide cursor on cursor activity after touch
6 years ago
Aidan Harris f17eae9043 Fix segfault with "xwayland false" (#4228)
6 years ago
Brian Ashworth f0f5de9a9e criteria: reset on semicolon separation
6 years ago
Daniel Eklöf 190546fd31 add seat sub command 'xcursor_theme'
6 years ago
Brian Ashworth 799f5a2cd5 cmd_hide_edge_borders: add missing arg count check
6 years ago
Rouven Czerwinski 5ff330e6bc desktop: output: fix use-after-free in destroy
6 years ago
Simon Ser 4105982169 Remove orbital gamma-control protocol
6 years ago
Kenny Levinsen 4925882920 Use parent get_root_coords in subsurfaces
6 years ago
Brian Ashworth c3532bc8a1 Add swaybar protocol documentation
6 years ago
Brian Ashworth 6afb392823 bindings: allow unlocked and locked bindings
6 years ago
Josef Gajdusek 2c6a10c4ba Provide current DPMS state in GET_OUTPUTS
6 years ago
Brian Ashworth de5cfa7232 input/switch: fix indentation of file
6 years ago
Josef Gajdusek 0e582f1a51 Update output manager config on all output events
6 years ago
Josef Gajdusek b3a5effef2 Implement wlr-output-management-v1
6 years ago
Brian Ashworth 00cffb8e20 commands/bar: fix mode and hidden_state at runtime
6 years ago
Alyssa Ross e4f1ffe601 commands/bar: improve error for invalid subcommand
6 years ago
Alyssa Ross 5fb5984e94 bar: fix segfault with missing or invalid bar id
6 years ago
Nomeji 578c1956ac Add infos to help using for_window to man 5
6 years ago
Brian Ashworth 23c64ab22d input/keyboard: attempt default keymap on failure
6 years ago
Moelf ed2e553b8d Implement output toggle
6 years ago
Brian Ashworth 18ce0eec60 Spawn swaybar as a wayland client
6 years ago
Brian Ashworth 8c8e6a6c90 config/output: fix typo in merge_id_on_name
6 years ago
Brian Ashworth 51c077798c Destroy swaybg client on reload
6 years ago
Simon Ser 32087ad77d Fix xdg-decoration unconfigured if set before first commit
6 years ago
Brian Ashworth c118618278 sway.5.scd: clarify workspace config commands
6 years ago
Brian Ashworth 13cbb3b7fc cmd_move: add support for output current
6 years ago
Alex Maese 3b3e0560be Fix a silly mistake
6 years ago
Alex Maese 5b454ac441 Don't send pointer motion when rebasing the cursor
6 years ago
Alex Maese 866a19b743 Clear pointer focus during move and resize seatops
6 years ago
Lane Surface 812651d53e Remove extra inclusion of stdio.h
6 years ago
Simon Ser 9aafef352b Don't submit too much damage
6 years ago
Konstantin Pospelov e6fbb3c6bb config: fix clang warning
6 years ago
Konstantin Pospelov c42497aca0 bindsym: change xkb_rule_names initialization
6 years ago
Konstantin Pospelov ddf63ffabe bindsym: consider xkb_rule_names for --to-code
6 years ago
Konstantin Pospelov d27a5e1cb0 bindsym: update the man page to include --to-code
6 years ago
Konstantin Pospelov 998de8fbc5 bindsym: change default keymap for --to-code
6 years ago
Konstantin Pospelov f1609abe4c config: simplify keysym translation fields
6 years ago
Konstantin Pospelov a09c144b8b Implement bindsym --to-code
6 years ago
Drew DeVault 236ca63419 swaybg: split into standalone project
6 years ago
Brian Ashworth 462ad4ea83 cmd_move: respect workspace layout when inserting
6 years ago
Simon Ser b6e55064fe Update for wlroots#1660
6 years ago
Scott Anderson e3d94cb83e Fix uninitialized read for wlr_surface_send_frame
6 years ago
Brian Ashworth 59d9a991b4 ipc: fix criteria for emitting bar_state_update
6 years ago
Brian Ashworth 09595da0bc cmd_move: allow for all i3 syntax options
6 years ago
mwenzkowski 5e925f06e0 hide_edge_borders.c: add missing case for --i3
6 years ago
Alex Maese 35ddd9aab3 Add unbindsym/unbindcode command for swaybar
6 years ago
Alex Maese 8d4f8aea46 Add unbindswitch command
6 years ago
Alex Maese 852f1f0b34 Create unbindsym and unbindcode commands
6 years ago
Ashkan Kiani aa4deef8a8 Fix the payload type returned by IPC
6 years ago
mwenzkowski 9ac2342a67 Don't apply hide_edge_borders to floating windows
6 years ago
mwenzkowski e9e1fbc501 view.c: refactor view_autoconfigure()
6 years ago
Ashkan Kiani 2f9eed659d Add documentation for rename workspace
6 years ago
Ranieri Althoff fd6903673b Send disabled output available modes on IPC get_outputs
6 years ago
Connor E b2cfcebef6 Add deprecation warnings for new_float, new_window, and force_focus_wrapping.
6 years ago
Benjamin Cheng bd3720585e Implement input type configs (#3784)
6 years ago
Benjamin Cheng 6737b90cb9 Add heuristics to differentiate touchpads
6 years ago
Brian Ashworth 6961bf2e4c Spawn swaynag as a wayland client
6 years ago
Brian Ashworth 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Ashkan Kiani 913445e112 Fix potential null accesses
6 years ago
Ashkan Kiani 27f51360b7 Fix scratchpad logic for floating windows
6 years ago
Martin Michlmayr 090e101581 sway-input.5: add xkeyboard-config(7) to "see also"
6 years ago
Brian Ashworth bd4c3957ba cmd_focus: raise floating for `<criteria> focus`
6 years ago
Brian Ashworth 195226120f Honor output for xdg_toplevel_set_fullscreen
6 years ago
Jan Beich e0324fc88c config/output: unbreak on 32-bit architectures
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
6 years ago
Brian Ashworth 0ad905f23c idle_inhibit: fix crash during view destruction
6 years ago
Brian Ashworth f0f20f96aa root_scratchpad_hide: fix crash when layer focused
6 years ago
Brian Ashworth 679c058fac scratchpad: set initial size
6 years ago
Brian Ashworth 0676ace97f floating: fix size of non-view containers
6 years ago
Brian Ashworth dd28e6a6d6 Fix xwayland configure request scratchpad crash
6 years ago
Ryan Dwyer 2cae0d5e3a Fix null pointer crash when doing tiling drag
6 years ago
Jan Pokorný bfdee1319f bindings: fix overwrite log argument mismatch
6 years ago
Ashkan Kiani 3a31889d7c Fix crash for floating command on scratchpad window
6 years ago
Brian Ashworth d9de5b8758 Implement inhibit_idle command
6 years ago
Philipe Goulet 8d2c982f3f Fix #3924
6 years ago
Geoff Greer 6e3046878d Add support for manually setting subpixel hinting on outputs.
6 years ago
mliszcz 200833caae Allow for workspace renaming during exec handling
6 years ago
Brian Ashworth cd8b4ace92 fix opening a floating view on the NOOP output
6 years ago
Brian Ashworth 7d2076cbff criteria: fix __focused__ when no focus or unset
6 years ago
Brian Ashworth 8cd7f0171a cmd_mode: allow cmd_set to be a subcommand
6 years ago
Ryan Dwyer cdcc2a5bb5 Support focus <direction> for floating containers
6 years ago
Ryan Walklin bdb402404c Support WLR_INPUT_DEVICE_SWITCH in sway
6 years ago
Ryan Dwyer bfa20e65d8 Clean up focus follows mouse logic
6 years ago
Ryan Dwyer e9a476244d Remove debug tree
6 years ago
Ryan Dwyer 38bd60c4b3 Document the title_format command
6 years ago
Brian Ashworth 0327c999d7 config/output: handle wildcard in get_output_config
6 years ago
Ryan Dwyer 7b9ae42331 Introduce default seatop
6 years ago
Ryan Dwyer fb3475e291 Replace seatup allows_events with button callback
6 years ago
Brian Ashworth 73605dac2a config/output: revamp identifier/name layering
6 years ago
Brian Ashworth 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
minus 264e213c08 Fix quoting of commands passed to for_window
6 years ago
Brian Ashworth e687e120e0 output_cmd_background: validate colors
6 years ago
Brian Ashworth d8f74e4706 Set prev_workspace_name based off of focus
6 years ago
Brian Ashworth acdb4ed7a3 xwayland: handle floating configure request size
6 years ago
Brian Ashworth 52a61671e9 criteria: change workspace to support regex
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
Brian Ashworth 1bab5a9553 get_deco_rect: fix floaters on tabbed/stacked ws
6 years ago
Ian Fan 055d662baa commands: allow tiled sticky containers to be moved
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Ryan Dwyer 783b3d6b37 Fix click behaviour
6 years ago
Ryan Dwyer d16845d5f0 Don't send button events to surfaces when dragging or resizing
6 years ago
Brian Ashworth 017a7c4da1 sway_view_child: add listener for view unmap
6 years ago
Brian Ashworth 20c4d242f6 detect_proprietary: use strncmp
6 years ago
Brian Ashworth a729bda17f fullscreen: init floating on disable without size
6 years ago
Ben Challenor 30931ad9e7
Make raw keysyms take precedence over translated
6 years ago
emersion 191305468c Fix crash in cmd_workspace when layer surface has focus
6 years ago
Drew DeVault 83b68b2154 Update language in sway.desktop & sway(1)
6 years ago
Brian Ashworth 9a75f0010f arrange: use int not size_t for title offsets
6 years ago
Brian Ashworth c02d2a0128 damage: remove output_damage_view
6 years ago
Brian Ashworth 7580718d12 output_damage_whole_container: damage subsurfaces
6 years ago
Jeff Peeler a73e8f1328 fix "directive argument is null" errors
6 years ago
minus 5fab8a2ad4 Fix crash when moving window to scratchpad
6 years ago
Brian Ashworth 7f700e08ac ipc: describe libinput device configuration
6 years ago
Brian Ashworth 0df76ed96a ipc: fix fullscreen deco_rect
6 years ago
Brian Ashworth 8ada2daba5 ipc: fix rect for stacked children
6 years ago
emersion 8b6bd106aa Fix container_parent_layout for scratchpad windows
6 years ago
Brian Ashworth 19df2e5906 ipc: change {,deco_}rect to match i3
6 years ago
emersion a6711740bc Set DISPLAY after initializing Xwayland
6 years ago
Ryan Dwyer bdac0df4f8 Allow concurrent clicks
6 years ago
Brian Ashworth a053823f39 sway.1.scd: document environment vars set by sway
6 years ago
Brian Ashworth 23f075e71d render_floating: skip fullscreen floaters
6 years ago
Noam Preil 1c329f2fe6 Fixes crash in spawn_swaybg (closes #3733)
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
hugbubby 37f0e1f1a2 Minor fix of code duplication.
6 years ago
emersion 88b283c557 seat: don't send button release when not pressed
6 years ago
Brian Ashworth 56217bfbc0 sway-ipc.7: clarify window_rect omits decorations
6 years ago
emersion 4431ae68fc Add output dpms to manpage
6 years ago
Drew DeVault 9f58b27d86
Merge pull request #3766 from RedSoxFan/sway-ipc-scdoc
6 years ago
Brian Ashworth f876009c7f Add sway-ipc.7.scd to document IPC protocol
6 years ago
Rouven Czerwinski d016848bce config: remove double assignement to result in get_output_config
6 years ago
Rouven Czerwinski 4e028dba47 cursor: intitialize sx and sy to zero
6 years ago
Rouven Czerwinski 35d610a43c cursor: remove unused node assignement
6 years ago
Brian Ashworth efe370ba12 execute_command: do not strip qoutes for cmd_mode
6 years ago
Carlo Abelli b00b0fb9d3 fix smart_borders description in manual
6 years ago
Connor E 9032be4f08 Allow 0 degree transform (normal transform).
6 years ago
Milkey Mouse 2f7247e08a swaybar: add overlay mode (fix #1620)
6 years ago
db 2510e3df38 add --i3 flag to hide_edge_borders
6 years ago
Connor E d4b1e71b91 Make load_include_configs void. Fix some cases where WD would not be restored.
6 years ago
minus 713883f04c Fix crash exiting fullscreened floating container
6 years ago
Caleb Bassi f84ac3f114 ipc: add missing fields to disabled outputs
6 years ago
emersion 656541bcc4
Update for swaywm/wlroots#1517
6 years ago
Brian Ashworth 9350a52c0e handle_seat_node_destroy: update seat->workspace
6 years ago
Brian Ashworth bcec866c6b handle_layer_shell_surface: do not use noop output
6 years ago
Rouven Czerwinski 3ead287064 view: set xdg_decoration->view to NULL, check decoration destroy
6 years ago
Brian Ashworth f078a1ccb8 input/cursor: allow whole-window bindings on ws
6 years ago
Ian Fan 923cd865f5
Merge pull request #3740 from Emantor/fix/ipc_allocs
6 years ago
Brian Ashworth 7252ca09a7 move scratchpad: hide visible scratchpad container
6 years ago
Rouven Czerwinski 16ddd00102 commands/move: reintroduce wrongly removed NULL check
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Brian Ashworth 03dfdb1edb output_get_active_workspace: check workspaces length
6 years ago
Rouven Czerwinski aa4ccd845c run_as_ipc_client: free response after running the IPC command
6 years ago
Rouven Czerwinski a968a650e2 ipc-client: free payload after sending it over the socket
6 years ago
Brian Ashworth 546b976baa output_evacuate: call workspace_consider_destroy
6 years ago
emersion 444e00662c
Add wp-primary-selection-unstable-v1
6 years ago
Eric Drechsel 9bbf10bdfc layout cmd: always operate on parent container, like i3Fixes #3724
6 years ago
emersion b799a30962 Don't use SOCK_CLOEXEC
6 years ago
Drew DeVault c939453bea
Merge pull request #3714 from emersion/fix-drag-icon-map-listener
6 years ago
Yorick van Pelt fc397f52bb
Add 'visible' key to view json response
6 years ago
emersion 59f2056022
Fix drag icon map listener not removed
6 years ago
Drew DeVault a1e171080d
Merge pull request #3712 from RedSoxFan/fix-typo-seat-cursor
6 years ago
Brian Ashworth 041594d2ab Use container under cursor for mouse bindings
6 years ago
Brian Ashworth 73c8e63438 seat_cmd_cursor: fix typo in expected syntax
6 years ago
Brian Ashworth faf15ee733 workspace_next_name: fallback to next available number
6 years ago
Drew DeVault 487c83f0de Add workspace {prev,next}_on_output --create
6 years ago
Drew DeVault cd10e755c1 Remove refs to unimplemented debuglog command
6 years ago
emersion 7baaa3a0f8 Disconnect swaybg instead of killing it
6 years ago
Brian Ashworth f7f5b172a0 sway-input.5: document wildcard and identifier troubleshooting
6 years ago
emersion 8ab64d3fcc Remove unused header include/sway/tree/output.h
6 years ago
Brian Ashworth 272ca06171 Fix reload freeze when not modsetting current mode
6 years ago
Vincent Vanlaer cfacf85755 Check layout before getting pointer surface coords
6 years ago
Brian Ashworth 96de2b539c apply_output_config: dpms on before modeset
6 years ago
Brian Ashworth e8c472aee9 seatop_move_tiling: do not move to descendant
6 years ago
Brian Ashworth ab42874f71 seat: allow tree focus changes while layer focused
6 years ago
Brian Ashworth 9b8249c350 seatop_move_tiling: use tab/stack parent not self
6 years ago
Brian Ashworth d168d65f2c subsurface_get_root_coords: break on NULL
6 years ago
Brian Ashworth 1bccde68a4 cursor: relative-pointer-v1 time is usec
6 years ago
athrungithub 98b40d31c1 Don't remove from scratchpad on move to workspace
6 years ago
emersion 97c89b24b8
Rebase cursor when a layer surface maps
6 years ago
Brian Ashworth fb4f29289f workspace_get_initial_output: handle focused layer
6 years ago
Brian Ashworth 2540e8ea79 Abort early when XDG_RUNTIME_DIR is not set
6 years ago
Brian Ashworth d2c896ed84 fix misc memory leaks
6 years ago
Brian Ashworth a64a3ee6bb ipc: handle unnamed xkb_active_layout_name
6 years ago
Brian Ashworth 418c19fe52 view: remove pointer constraints on unmap
6 years ago
Brian Ashworth 3952d4f4f3 input/keyboard: respect solo repeat_{rate,delay}
6 years ago
Rouven Czerwinski 605e515a93 fix double free for mode toggle if bar was invisible
6 years ago
Brian Ashworth 995b6edab6 container_at_stacked: skip titles when zero pixels
6 years ago
Brian Ashworth f5190d1f79 bar_cmd_modifier: add support for none
6 years ago
Drew DeVault 82d7a70b03 Revert "Return false if config could not be loaded."
6 years ago
Drew DeVault 385cf330ae Revert "Restore CWD if returning early."
6 years ago
Brian Ashworth ec5da0ca5b seat_configure_tablet_tool: configure xcursor
6 years ago
Brian Ashworth 5a32a74b2d load_main_config: use given path, store realpath
6 years ago
Brian Ashworth ee56428b64 Clarify error for options and positional args
6 years ago
Connor E 921e42c6c0 Restore CWD if returning early.
6 years ago
Connor E 855368b67e Return false if config could not be loaded.
6 years ago
Daniel Eklöf d3b3eb019a ipc_has_event_listeners: fix inverted check of subscribed_events
6 years ago
Brian Ashworth c65057ef8b load_main_config: add realpath to config_chain
6 years ago
emersion 9b1905acf9 Fix close_popups for xdg-shell
6 years ago
Brian Ashworth 89afb761ba output_cmd_background: fix no file + valid mode
6 years ago
Connor E e1b8190d2c Initialize server so input manager is available.
6 years ago
Connor E 886789c197 If validating the config, do it as early as possible.
6 years ago
Drew DeVault fb73f84d0e
Merge pull request #3579 from RedSoxFan/fix-workspace-gaps-double-free
6 years ago
Brian Ashworth f2abe0570f cmd_workspace_gaps: fix double free on bad amount
6 years ago
Brian Ashworth 288e35f99e IPC_COMMAND: split on newline
6 years ago
emersion 478b128c26 Fix quote stripping
6 years ago
Brian Ashworth 1e65cc1ea6 execute_command: dont strip quotes for exec_always
6 years ago
Brian Ashworth 920c64f569 load_include_configs: fix wordexp fail condition
6 years ago
Drew DeVault a1a99421a1
Merge pull request #3562 from vilhalmer/focus_follows_mouse-workspace-last-inactive
6 years ago
Brian Ashworth 7299b9a6ca seat_cmd_cursor: do not create non-existing seat
6 years ago
vilhalmer f8a9117149
Fall back to wildcard in sway_cursor_constrain
6 years ago
vilhalmer 907595b10d
Skip constraining cursor if no seat config
6 years ago
vilhalmer da59ffa8a0
Skip wildcard seat config in destroy_removed_seats
6 years ago
vilhalmer a3332c70bf
Focus ws inactive node with focus_follows_mouse
6 years ago
Drew DeVault bbfe13a248
Merge pull request #3551 from c-edw/RevertDoubleFrees
6 years ago
Brian Ashworth f425e81fbe cmd_seat: allow - to be used as alias for current
6 years ago
Brian Ashworth 1bd7400c4d seat_cmd_attach: defer while reading
6 years ago
Connor E 2f2a887377 Revert "More frees."
6 years ago
Connor E 49b667272b Revert "Add some missing frees."
6 years ago
Drew DeVault de76c4e071
Merge pull request #3543 from emersion/relative-pointer-usec
6 years ago
Brian Ashworth ebe5399ed6 pointer_constraint: change to a seat subcommand
6 years ago
Drew DeVault 82461c4165 Updates for scdoc 1.8.1
6 years ago
Ashkan Kiani aee9942145 Add details on `--whole-window` for bindsym
6 years ago
emersion dde9fc19de
relative-pointer-v1: time is in usec, not msec
6 years ago
Drew DeVault 0c975af1fb Send pointer frames on tool events
6 years ago
Drew DeVault 4b87edeba4 Missed a spot in pointer constraints
6 years ago
Drew DeVault a6d41254c9 Add pointer_constraint command
6 years ago
absrd ee4b8a3938 Add relative pointer
6 years ago
Las cedde21c96 Implement pointer-constraints-unstable-v1
6 years ago
athrungithub 5cb3d4769c criteria & scratchpad verify if show in another workspace (#3522)
6 years ago
Brian Ashworth f0fd6119cf Cleanup config reading failure error logs
6 years ago
Peter Grayson f49ad5977e Document cursor moving between adjacent outputs
6 years ago
Ryan Dwyer 8995694a2f Remove bad assertion in container_handle_fullscreen_reparent
6 years ago
emersion 7c72327ab5
Cleanup log_env
6 years ago
mwenzkowski 7c27d73b02 Check xdg_surface's role before using its toplevel
6 years ago
Ryan Dwyer 6b8bf10941 Introduce container_is_scratchpad_hidden
6 years ago
Ryan Dwyer 0a9ff774ad Center surface inside container when it's too small
6 years ago
Drew DeVault 783fadab28
Merge pull request #3423 from RyanDwyer/fullscreen-global
6 years ago
Drew DeVault 897250c65f
Merge pull request #3519 from emersion/pointer-frame
6 years ago
Drew DeVault cd22d555e8 Remove unnecessary underscores in man pages
6 years ago
emersion a452f8f822
Update for swaywm/wlroots#1503
6 years ago
Ryan Dwyer 20aa8ee67d Implement fullscreen global
6 years ago
Ian Fan 5d6f906bd7 Use sway_log_errno instead of strerror
6 years ago
emersion 75406bb93b Update for swaywm/wlroots#1402
6 years ago
Jan Beich ba96983bf0 Make json-c include respect pkg-config --cflags
6 years ago
M Stoeckl 0af5b26e41 Fix dead stores found by scan-build
6 years ago
Drew DeVault 71a37ad186
Merge pull request #3494 from ianyfan/commands
6 years ago
Brian Ashworth 8ce57f0a77 root_scratchpad_remove_container: do not show
6 years ago
Ian Fan de9a357de8 util.c: remove numlen function
6 years ago
Ian Fan ec0013b9f5 commands: allow setting floating on scratchpad containers
6 years ago
Ian Fan 34dea3d9d2 commands: allow tiled containers to be stickied
6 years ago
Ryan Dwyer 42f8a038c9 Remove assumption that noop output will be called NOOP-1
6 years ago
Ryan Dwyer 7f8ea60e71 Don't allow noop output to be configured
6 years ago
Ryan Dwyer e815e48cee Hide noop output in IPC
6 years ago
Ryan Dwyer 75e7ce82f5 Prevent noop output from being enabled
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
Brian Ashworth ab0248a545 seat_create: set initial focus for added seats
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
Drew DeVault cddb057343
Merge pull request #3480 from RedSoxFan/input-modes-improved-toggle
6 years ago
emersion e134da3023
Fix one remaining wlr_log call
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
Brian Ashworth 5c834d36e1 Log libinput_config_status errors
6 years ago
Brian Ashworth 91c1f44956 input_cmd_events: allow toggle modes to be listed
6 years ago
Drew DeVault a3d3504072
Merge pull request #3468 from emersion/fix-output-gain-crtc
6 years ago
Brian Ashworth afac6ced6e apply_output_config: remove output_i
6 years ago
emersion 0bf3252d8b
Fix re-enabling outputs gaining a CRTC
6 years ago
emersion 2ae2d09c4c Prevent crashes in handle_transform and handle_scale too
6 years ago
emersion 3b7a7462a2 Fix crash in cursor_rebase with multiple screens
6 years ago
Drew DeVault 639b66b676
Merge pull request #3452 from emersion/meson-features
6 years ago
emersion 6ff54d0640
Fix segfault in output_enable
6 years ago
Drew DeVault dd4a6586b2
Merge pull request #3457 from emersion/swaybg-no-escape
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
6 years ago
emersion d803861504
Don't escape swaybg arguments anymore
6 years ago
emersion bb2f007ad3
meson: remove rpath options
6 years ago
emersion 08a5b304e4
Use Meson feature options
6 years ago
emersion fe3f4882ed
Don't use sh when spawning swaybg
6 years ago
emersion 000b313985
swaybg: use output names instead of output indexes
6 years ago
Connor E de6f5b3453 Use static arrays where possible.
6 years ago
Connor E aa9d7d8ca1 Remove usage of VLAs.
6 years ago
Brian Ashworth 02bbefda20 bar_cmd_tray_bind: Use mouse button helpers
6 years ago
Brian Ashworth 247817f68c layer_shell: do not SIGABRT sway on zero outputs
6 years ago
Brian Ashworth 81e595e6e8 cmd_resize: allow resizing hidden scratchpad by px
6 years ago
Brian Ashworth 638b04b3e0 seatop_begin_down: raise floating
6 years ago
Brian Ashworth 686b853047 Do not send ipc_event_shutdown from ipc client
6 years ago
Rouven Czerwinski f7309778a7 cursor: send clear_focus on hide and enter event on unhide
6 years ago
Connor E 023c92423e Remove wlr_xdg_surface_send_close.
6 years ago
Brian Ashworth a68bc5f449 Do not damage view child when container is NULL
6 years ago
Brian Ashworth 3087942c35 Handle hidden scratchpad containers in commands
6 years ago
Ryan Dwyer 289130430f Fix invalid pointers when using resize grow width on first/last siblings
6 years ago
Ryan Dwyer 2024f1da72 Resize only current and immediate siblings rather than all siblings
6 years ago
Brian Ashworth 2573606b60 Disarm key repeat on reload
6 years ago
M Stoeckl 2a684cad5f Remove now-unused "input" argument of cmd_results_new
6 years ago
M Stoeckl 6d392150a7 Remove 'input' field of IPC command return json
6 years ago
Ryan Dwyer b322432eff Use uint32_t where resize axis might contain a bitfield
6 years ago
Ryan Dwyer 22ac1c121a Replace resize_axis with wlr_edges
6 years ago
Drew DeVault 4879d40695
Merge pull request #3144 from emersion/cmd-xwayland
6 years ago
Drew DeVault 81bb675274
Merge pull request #3344 from RedSoxFan/bar-mouse-bindings-improved
6 years ago
Drew DeVault 9f9ef76175
Merge pull request #3343 from RedSoxFan/seat-cursor-buttons-improved
6 years ago
Drew DeVault db1631b67d
Merge pull request #3342 from RedSoxFan/scroll-buttons-improved
6 years ago
Drew DeVault 23ab56bbf7
Merge pull request #3402 from RyanDwyer/refactor-seatops
6 years ago
Drew DeVault 08569aab36
Merge pull request #3388 from RedSoxFan/reset-inputs-on-reload
6 years ago
Drew DeVault fc93cd20dc
Merge pull request #3397 from RedSoxFan/fix-swaybar-height
6 years ago
Drew DeVault 4eb0767414
Merge pull request #3398 from RedSoxFan/toggle-input-events
6 years ago
Drew DeVault 9ce4d53e78
Merge pull request #3408 from RedSoxFan/bar-padding
6 years ago
Brian Ashworth b43345a1a3 config: fix line number with continued lines
6 years ago
Brian Ashworth 39975ccfb5 config: do not reset pos when braces found
6 years ago
Brian Ashworth ca0a75d540 swaybar: add status_edge_padding command
6 years ago
Brian Ashworth c0f92cb2fb swaybar: add status_padding command
6 years ago
Brian Ashworth 4e6bd53abf input_cmd_scroll_button: utilize mouse btn helpers
6 years ago
Brian Ashworth 3d6440ec26 bar_cmd_bind: utilize mouse button helpers
6 years ago
Brian Ashworth aa1c838f97 seat_cmd_cursor: utilize mouse button helpers
6 years ago
emersion 212baf2f75
Merge pull request #3400 from ianyfan/config-brace
6 years ago
Ryan Dwyer ed5aafd90b Refactor seat operations to use an interface
6 years ago
Ian Fan 00f8d0209f config.c: fix brace detection at end of file
6 years ago
Ian Fan 15ac580b28
Merge pull request #3341 from RedSoxFan/mouse-bindings-improved
6 years ago
emersion 9abac85888
Merge pull request #3399 from RedSoxFan/fix-output-destruction-segfaults
6 years ago
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
6 years ago
Brian Ashworth 4dba42555f get_inputs: add libinput send events mode
6 years ago
Brian Ashworth 55e1d599a2 input_cmd_events: implement toggle
6 years ago
Brian Ashworth 124085eba9 swaybar: obey height if given
6 years ago
Brian Ashworth a8b3ae9284 cursor: allow scrolling tabs/stack on title border
6 years ago
Brian Ashworth eefa6b1ad3 bind{code,sym}: utilize mouse button helpers
6 years ago
Brian Ashworth 6f6a9af60e Add helpers for improved mouse button parsing
6 years ago
Brian Ashworth 4696f49ecc reload: reset input configs
6 years ago
Ryan Dwyer 14cab78612 Reset container dimensions when moving into workspace from direction
6 years ago
Jan Beich 0a4c4f3e52 Simplify evdev includes on FreeBSD by relying on up-to-date package
6 years ago
emersion d06782c5e7
Merge pull request #3386 from RedSoxFan/seat-reload-wait
6 years ago
emersion 8daea2bfec
Merge pull request #3390 from RedSoxFan/execute-seat
6 years ago
emersion 51bc466e2b
Merge pull request #3389 from RedSoxFan/swap-context-seat
6 years ago
Brian Ashworth fdc262d402 cmd_bind: pass the seat to execute_command
6 years ago
Brian Ashworth c4122e3975 cmd_swap: use handler context seat
6 years ago
Brian Ashworth 1feb2ce064 keyboard: update repeat timer before execution
6 years ago
Brian Ashworth f33969358c reload: apply seat cfgs after reading entire cfg
6 years ago
Drew DeVault da8f24de1d
Merge pull request #3385 from robertgzr/reset_output_mapping
6 years ago
Robert Günzler 145ac2c571 cursor: allow mapping to all outputs
6 years ago
emersion 140bc2dd5b
Merge pull request #3275 from ianyfan/remove-readline
6 years ago
emersion 353d9ed74f
Merge pull request #3337 from RedSoxFan/fix-seat-cmd-cursor
6 years ago
emersion 327236a7ab Add data-control-v1
6 years ago
Rouven Czerwinski cc858e605a seat: unhide the cursor if it is warped to focus
6 years ago
Rouven Czerwinski 0b18560952 view: use seat_consider_warp_to_focus in view_unmap
6 years ago
Rouven Czerwinski fde900861a cursor: move unhide and timeout retrieval into separate functions
6 years ago
Jan Beich 4a11d0e470 Use %z for printing size_t
6 years ago
Ryan Dwyer 0cc56ebe94 Fix urgency documentation
6 years ago
PlusMinus0 d87cded568 Fixed formulations.
6 years ago
PlusMinus0 1b341834a6 Update sway-output.5.scd
6 years ago
David96 ee50134634 Apply tiling_drag_threshold to all containers
6 years ago
Brian Ashworth 5bf4daf263 Implement tiling_drag_threshold
6 years ago
Mack Straight a96e86744f Fix fullscreen view rendering crash
6 years ago
Ian Fan bd35879e1c fixup! config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a9c5158a77 config.c: re-enable backslash continuation in config file
6 years ago
Ian Fan a82b8a3c14 Remove readline.c
6 years ago
Ian Fan 967566e37f stringop.c: rewrite strip_whitespace
6 years ago
Ian Fan f33b5c5223 swaybar: do not create tray if hidden
6 years ago
Ian Fan 6b03c68775 swaybar: implement tray config
6 years ago
Brian Ashworth 4a3ada303b Apply implicit fallback seat config
6 years ago
John Chen 54d0f3a40e Set font options when computing text width.
6 years ago
emersion 72f8d0ff59
Undocument SWAY_CURSOR_THEME and SWAY_CURSOR_SIZE
6 years ago
Brian Ashworth 4d88c95790 hide_cursor: change to a seat subcommand
6 years ago
Brian Ashworth 09bb71f650 Verify seat fallback settings on reload
6 years ago
Brian Ashworth 6ec2983d96 seat_cmd_cursor: work on seat name provided
6 years ago
Brian Ashworth 3e8f548d1d Revamp seat configs
6 years ago
Brian Ashworth 4503ad2d19 sway-output(5): doc scaling consideration for pos
6 years ago
Brian Ashworth ae8937b11a Add failure reply on IPC_SYNC
6 years ago
Brian Ashworth 0dbf2673a1 Remove button from state on release during op
6 years ago
Drew DeVault c54258f323
Merge pull request #3346 from ermo/sway-bar_focused_statusline_colour-render-fix
6 years ago
Rune Morling 612702591c swaybar: fix focused_statusline color parsing.
6 years ago
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
6 years ago
NokiDev 9bf1b7a029 added fullscreen_mode to get_tree output
6 years ago
Brian Ashworth 3248c823ed Split image_surface handling into own function
6 years ago
Brian Ashworth 5fca74a1f1 Implement hide_cursor <timeout> command
6 years ago
Brian Ashworth a223030b70 Change mouse buttons to x11 map and libevdev names
6 years ago
Brian Ashworth 00d97cb195 sway(5): document tiling_drag
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
6 years ago
Drew DeVault 788b715776 Fixes per wlroots#1441
6 years ago
Aidan Harris 0d3cf36c85 IPC_SUBSCRIBE ensure request object is an array
6 years ago
Brian Ashworth 88d96bc41f Combine output_by_name and output_by_identifier
6 years ago
Brian Ashworth 477bca5e28 Terminate swaybg in output_disable
6 years ago
Ryan Dwyer 3a4f4f5d66 Return success when renaming a workspace to itself
6 years ago
Brian Ashworth 0ea54833d4 Focus node before tiling drag if on titlebar
6 years ago
Brian Ashworth 4e2cfe0526 cmd_split: add null checks in do_split
6 years ago
Brian Ashworth 5f25541022 Allow output ids and wildcard for workspace output
6 years ago
Brian Ashworth 8d7ebc258a Allow tiling views to be dragged by the titlebar
6 years ago
Rostislav Pehlivanov 1442d4e688 Update for swaywm/wlroots#1377
6 years ago
Brian Ashworth c2499772b9 Fix focusing on non-visible workspace
6 years ago
Brian Ashworth 1897edabba Rework default output configs
6 years ago
mwenzkowski 01420193ef Fix criteria execution in view_map
6 years ago
Brian Ashworth bc981b2bbb Keep focus when destroying containers on nonvis ws
6 years ago
Brian Ashworth 6acbe84fdd Call wlr_output_enable for disabled new outputs
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan c8776fac42 Cleanup list code
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Brian Ashworth 7b23a1a0d8 cmd_split: flatten when possible
6 years ago
mwenzkowski cf6edaf26a Fix command list execution
6 years ago
Ian Fan bca21ee0cf config: do not set $XDG_CONFIG_HOME if unset or empty
6 years ago
Ian Fan de66ed4beb config: set $XDG_CONFIG_HOME if empty
6 years ago
Brian Ashworth 9b41db32ec Fix identifier output configs on reload
6 years ago
Brian Ashworth 2942bbbc60 cmd_focus: show scratchpad if hidden
6 years ago
Alex Maese 1a1a2d96cb Add option to bindsym/bindcode to suppress warning on override
6 years ago
bschacht bf11a77884 fix typo
6 years ago
Drew DeVault 974a3fbc59
Merge pull request #3227 from emersion/swap-buffers-damage-coords
6 years ago
emersion ed7bd683a7
Update for swaywm/wlroots#1403
6 years ago
mwenzkowski 68668c22e5 sway.5: Improve documentation
6 years ago
mwenzkowski b5c92e5d3b Fix the error result of the fullscreen command
6 years ago
John Axel Eriksson aef52154ec
Fix json object ipc return
6 years ago
emersion 9d18d81d48
Merge pull request #3216 from RedSoxFan/fix-empty-titlebars
6 years ago
Brian Ashworth 14cb39c772 Fix titlebar when no title or marks
6 years ago
Brian Ashworth 71ae08530a Fix default_orientation auto
6 years ago
emersion 9924d72ab2
Merge pull request #3213 from RedSoxFan/fix-3203
6 years ago
Brian Ashworth f52277f66e Fix scratchpad segfault - NULL focused workspace
6 years ago
emersion 67c7cc53ae
Merge pull request #3206 from RedSoxFan/ipc-subscribe
6 years ago
Brian Ashworth 1bd8463481 Implement bar gaps
6 years ago
Brian Ashworth bf9a52bab0 Implement support for swaymsg -t SUBSCRIBE [-m]
6 years ago
Brian Ashworth 5341e034df
Merge pull request #3212 from martinetd/move_floating
6 years ago
Brian Ashworth e5f90f25d7 Introduce a way to show config warnings in swaynag
6 years ago
Dominique Martinet 2543834172 move to workspace: fix moving floating container to non-empty workspace
6 years ago
emersion b98563d2d7
Fix segfault when destroying unmapped child view
6 years ago
Ryan Dwyer f737854e30
Merge pull request #3199 from emersion/handle-subsurface-destroy
6 years ago
emersion 048b96a56d
Merge pull request #3204 from RedSoxFan/cmd-res-list
6 years ago
Brian Ashworth 315bca176c Do not strip quotes for cmd_mode
6 years ago
Brian Ashworth 5c6f3d7266 Change execute_command to return a list of results
6 years ago
emersion 1d30b7c0f6
Damage view child when destroyed
6 years ago
emersion fc79b7c2d2
Handle destroyed subsurfaces
6 years ago
Drew DeVault dbf8e1cead
Merge pull request #3175 from emersion/rename-gtk-primary-selection
6 years ago
Brian Ashworth a22e7b13ad
Merge pull request #3168 from mihaicmn/scratchpad-events
6 years ago
Ryan Dwyer af7a97623b
Merge pull request #3185 from emersion/remove-xopen-source
6 years ago
Mihai Coman 39db9b855d IPC: Use consistent function names across ipc-json
6 years ago
Mihai Coman 65c32e41d4 IPC: Add scratchpad containers to get_tree reply
6 years ago
Mihai Coman 6aafdd2321 IPC: Trigger move events for scratchpad containers
6 years ago
emersion c2921b2e61
Merge pull request #3169 from RedSoxFan/title-align
6 years ago
Brian Ashworth 0e6e5af983
Merge pull request #3183 from emersion/fix-escape-pango
6 years ago
Brian Ashworth e6562c8cd2 Implement title alignment
6 years ago
emersion 91bbb2a7dd
Merge pull request #3184 from kupospelov/fix-resize
6 years ago
emersion 3a310f92ab
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
6 years ago
Konstantin Pospelov f9bde0030d resize set: add assertion for an invalid unit
6 years ago
Konstantin Pospelov a7b9e63cbc resize set: fix units for floating containers
6 years ago
emersion b84bf3585c
Fix pango title escaping
6 years ago
emersion 827e5513e0
Merge pull request #3179 from baloo/baloo/title_format-pango_markup
6 years ago
Arthur Gautier caee2dff03 fixes pango_markup support with title_format
6 years ago
emersion cc28f9712e
Update for swaywm/wlroots#1387
6 years ago
Florent de Lamotte 7555c7efdc Adding commands for configuring titlebar borders and padding
6 years ago
emersion 77554f545e
Merge pull request #3158 from emersion/get-outputs-focused
6 years ago
emersion 2f1050796c
ipc: fix focused in get_outputs reply
6 years ago
emersion bf7af9c690
Merge pull request #3083 from c-edw/feature/StripWorkspaceName
6 years ago
emersion 311c7db7e3
Add xwayland command
6 years ago
Spencer Michaels 70bc4c3ab6 Add scroll factor config option.
6 years ago
emersion cad851805b
Use #if instead of #ifdef
6 years ago
Connor E 4bd46fb079 Implement strip_workspace_name.
6 years ago
Drew DeVault eda3bfeed5
Merge pull request #3142 from RyanDwyer/move-view-properties
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
Cole Mickens fb6ef83b16 commands/resize: fix grow vars uninitialized
6 years ago
Ryan Dwyer cb63321de6
Merge pull request #3132 from emersion/dispatch-cursor-btn-segfault
6 years ago
Trevor Slocum f4ccc51da0 resize set: convert ppt to px for floating containers
6 years ago
emersion 4ce18d2744
Fix segfault in dispatch_cursor_button
6 years ago
Ryan Dwyer 4e8bf5b328 Fix double free of mode
6 years ago
Ryan Dwyer 2115ebe39d Fix double free when unmapping any view
6 years ago
Drew DeVault 932d6ee0d4
Merge pull request #3126 from emersion/swap-unused-function
6 years ago
Drew DeVault 484bf591be
Merge pull request #3121 from c-edw/feature/MissingFrees
6 years ago
emersion 98a953a872
Fix unused function in swap command
6 years ago
Drew DeVault 47cca240e2
Merge pull request #3102 from emersion/render-software-cursors
6 years ago
Connor E eda1bf769f More frees.
6 years ago
Connor E b5d95f264d Add some missing frees.
6 years ago
emersion 2afd930914
Use #if instead of #ifdef for WLR_HAS_*
6 years ago
emersion 3b8d4a9212
Merge pull request #3116 from harishkrupo/master
6 years ago
Harish Krupo d8ad429e39 IPC: Send keyboard layout info in IPC_GET_INPUTS
6 years ago
Drew DeVault 2e43f02427
Merge pull request #2979 from RedSoxFan/config-var-repl
6 years ago
Brian Ashworth 62d69e9f14 cmd_ws_auto_back_and_forth: fix negation
6 years ago
Brian Ashworth 12876932a9 Allow multiple outputs for workspace output
6 years ago
Brian Ashworth b277000601 Alter config variable replacement process
6 years ago
emersion 528f129c98
Render software cursors with wlr_output_render_software_cursors
6 years ago
Connor E b865dabeba Use parse_boolean where possible.
6 years ago
Drew DeVault 7fa7f4f48d
Merge pull request #3085 from 7415963987456321/master
6 years ago
7415963987456321 965abe077a Remove extra line
6 years ago
Connor E 78d07f5be4 Update documentation for focus_follows_mouse.
6 years ago
Brian Ashworth c248e96b84 resize set: implement width and height keywords
6 years ago
sghctoma 7ead20bfcf Fix building with clang
6 years ago
Ryan Dwyer aad2f444f0
Merge pull request #3087 from RedSoxFan/side-gaps
6 years ago
Brian Ashworth 9e8aa39530 Implement per side and per direction outer gaps
6 years ago
Brian Ashworth 6a42643784 gaps: remove duplicate inner gaps
6 years ago
Connor E 4a21981855 Add focus_follows_mouse always. (#3081)
6 years ago
Ryan Walklin 5032acb7a5 Add relative output transform
6 years ago
Drew DeVault 25bea8f6a5
Merge branch 'master' into effective-damage
6 years ago
Rouven Czerwinski f54287eaf3 config: mention that reload message is also printed on validation
6 years ago
Rouven Czerwinski 5fdffea99a commands/exec_always: defer command on config validation
6 years ago
Brian Ashworth c8c1ecaf25 Fix focus_wrapping yes
6 years ago
emersion d0bb450681
Merge pull request #3066 from mwenzkowski/fix-gaps
6 years ago
emersion 0e85b92250
Use wlr_surface_get_effective_damage
6 years ago
mwenzkowski 67866dc378 gaps: Improve error reporting
6 years ago
mwenzkowski 60df5cc9f8 Correct manpage regarding gaps command
6 years ago
madblobfish 7d8ed7a3a7 added space after table in sway.5 manpage
6 years ago
madblobfish 417a10f477 removed unneeded code fragment
6 years ago
Cole Mickens ef888321ba ipc: move refresh from output to output->current_mode
6 years ago
Cole Mickens 71686ed0e7 fix: restore refresh to the modes_array
6 years ago
Drew DeVault c18cd9dd03
Merge pull request #3021 from Snaipe/singlekey-binding-trigger
6 years ago
Cole Mickens d05aeb77a0 sway-ipc: includes current_mode for each output
6 years ago
emersion f90ff1210b
Teardown compositor when failing to drop permissions
6 years ago
emersion 9dae68eba5
Make it clear that being able to restore root is a failure
6 years ago
mwenzkowski cd0bae80b6 Fix #2992
6 years ago
Ryan Dwyer 9fc736f4e1 Move view marks properties to container struct
6 years ago
Drew DeVault 480b03b734
Merge pull request #3040 from RyanDwyer/border-props-to-container
6 years ago
Ryan Dwyer bf19f63a79 Wrap to fartherest output when running focus output
6 years ago
Ryan Dwyer 528c7495bb Move view border properties to container struct
6 years ago
Drew DeVault e21a23348b
Merge pull request #3031 from atomnuker/master
6 years ago
Ryan Dwyer 7be309710d Remove enum movement_direction
6 years ago
Rostislav Pehlivanov b0fb2846fe Revert "Respect border settings when rendering lone tabbed/stacked child"
6 years ago
Rostislav Pehlivanov a67e1b5873 Revert "tree/view.c: fix uninitialized variables warning"
6 years ago
Franklin "Snaipe" Mathieu f8e83ee20a binding: match single-key bindings if no multi-key binding matched
6 years ago
mwenzkowski 66ae58d62a cursor: fix uninitialized pointer in cursor_rebase
6 years ago
Drew DeVault 09f3f7b75f
Merge pull request #3011 from Emantor/fix/2922
6 years ago
Drew DeVault aa21d1b867
Merge pull request #3010 from Emantor/fix/cursor_warping_view_map
6 years ago
Rouven Czerwinski e4df675840 output: initialize layers and signal before using functions
6 years ago
Rouven Czerwinski 6f87d0c2cf input-manager: consider cursor warping on input_manager_set_focus
6 years ago
Drew DeVault 2ccf511cba
Merge pull request #3006 from Snaipe/remove-class
6 years ago
emersion e3a0e3322b
Merge pull request #3000 from Robinhuett/workspace_address_output_by_name
6 years ago
Konstantin Kharlamov cd3c2f4553 seat: don't traverse the list to check if it's empty
6 years ago
Franklin "Snaipe" Mathieu 03ca8596d6 ipc: make class, instance, and title window properties optional
6 years ago
Franklin "Snaipe" Mathieu 259fe1e76f ipc: remove class key from view json
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Drew DeVault 5a98dfee02 Revert "Fix #2992"
6 years ago
Ryan Dwyer d0dca7f35e Don't reset cursor during mouse operations
6 years ago
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