4664 Commits (be840f730e747a24106c8366ecb89e6b982cfa38)

Author SHA1 Message Date
Victor Makarov 70d30ac72b
xkb_switch_layout: fix relative layout switches
3 years ago
kraftwerk28 acdb48a59c Chase wlroots X11 hints update
3 years ago
Thomas Hebb d726e50643 layer_shell: keep output non-NULL wherever possible
3 years ago
Daniel De Graaf cf413b9c0b Shuffle variables to satisfy -Werror=restrict
3 years ago
Daniel De Graaf 20181974c2 Avoid format-truncation warning
3 years ago
Manuel Stoeckl 8f036b6f78 sway/main: move constants off the stack
3 years ago
Leonardo Hernández Hernández 6c4c0387a2 sway/input: wlr_seat_keyboard() now takes wlr_keyboard
3 years ago
Leonardo Hernández Hernández ca016689a0 sway/input: fix bad position of wlr_drag
3 years ago
Simon Zeni 440d0bc22d sway/input: follow up wlroots input device events renaming
3 years ago
Simon Zeni 49b3ac9a2c sway/input/seat: take output name from specialized input device
3 years ago
Simon Zeni 0345148ea6 sway/input/cursor: take device mm size from wlr_tablet
3 years ago
Bill Li f167acce3a Updating criteria checking with PCRE2
3 years ago
ndren f614f35e73
Replace pcre with pcre2
3 years ago
Simon Ser 04676936e7 Remove WLR_SWITCH_STATE_TOGGLE usage
3 years ago
Nicolas Avrutin 9f98c38d3e commands/focus: fix segfault when no container is already focused.
3 years ago
Moon Sungjoon 3444ce7302 sway/input: destroy sway_switch properly
3 years ago
Alexander Gramiak d6f279902a sway/input: don't pass possibly invalid modifiers pointer
3 years ago
Thomas Hebb 0ee54a5243 Don't enter seatop_move_floating when fullscreen
3 years ago
Thomas Hebb b38b845c63 Remove some erroneous apostrophes in comments
3 years ago
Simon Zeni 85d1c98476 sway/input: use wlr_input_device from input device base
3 years ago
Simon Zeni f8990523b4 sway/commands: add missing wlr_keyboard interface include in xkb_switch_layout
3 years ago
Simon Ser f707f583e1 Remove all sprintf calls
3 years ago
Muhamed Hobi ac7892371c Fix snprintf compiler warning
3 years ago
Simon Ser 9a6687ee04 xdg-shell: use wlr_xdg_popup in sway_xdg_popup
3 years ago
Simon Ser f795aa1c95 xdg-shell: use wlr_xdg_toplevel in sway_view
3 years ago
Alexander Browne 36f5467993 Minor update to focus_on_window_activation
3 years ago
Kirill Primak 30d27b5996 Chase wlroots xdg-shell refactor
3 years ago
Kirill Primak ee7668c1f2 chore: chase wlr_output_layout_get_box() update
3 years ago
Tuomas Yrjölä 69b430201c xwayland: listen to `request_activate` event
3 years ago
Simon Ser 518e18a54b Use bools for CLI flags
3 years ago
Tudor Brindus 8ca2847b42 input/cursor: pass through pointer hold gestures
3 years ago
Ronan Pigott feea4b4410 cmd/swap: error on swapping a container with itself
3 years ago
Rouven Czerwinski e4909ab4a3 transaction: destroying nodes aren't hidden
3 years ago
Patrick Hilhorst b2ee964434 treat fullscreen windows as 'tiled' for commands/focus
3 years ago
Tudor Brindus 7d1ccafae5 input/cursor: treat swipe begin as idle activity too
3 years ago
Tudor Brindus fd53f80156 input/cursor: count pointer gestures as idle activity
3 years ago
Simon Ser 0ffd8178fe commands/focus: drop trailing whitespace
3 years ago
Simon Ser d6f8820a8b Upgrade for wlroots surface refactoring
3 years ago
Aleksei Bavshin aa443629b5 xdg-shell: use toplevel geometry to adjust the popup box
3 years ago
Kenny Levinsen e1db1f8218 Print deprecation notice when running SUID
3 years ago
Simon Ser e2b4c573d6 Destroy sub-surfaces with parent layer-shell surface
3 years ago
David96 1bf1d84b75 commands/move: Fix crash when pos_y is omitted
3 years ago
David Rosca f92329701b container: Fix crash when view unmaps + maps quickly
3 years ago
Thomas Hebb 921b0a8633 input/seat: unset has_focus when focus_stack becomes empty
3 years ago
Seth Barberee b8995ced8f [IPC] Add repeat delay/rate info to keyboard
3 years ago
Simon Ser 59aebaa5f9 Add cairo_image_surface_create error handling
3 years ago
Ronan Pigott 9ecbfe3665 output: emit node::destroy event
3 years ago
Ronan Pigott ebfe432ec3 output: change output::destroy to output::disable
3 years ago
RoastVeg f2b6d1ec29 Handle border width and height on minimum floating sizes
3 years ago
Simon Ser 4732325f59 Add support for linux-dmabuf surface hints
3 years ago
Alexander Orzechowski 8a3026337f view: Fix null dereference
3 years ago
Vsevolod f7725011ef
Add focused_tab_title
3 years ago
Simon Ser 3f58f12617 Fixup headless output names
3 years ago
Kirill Primak 03a29ed36d output: remove surface buffer damage check
3 years ago
Simon Zeni 0cd8efe0bb sway: replace noop_output by fallback_output
3 years ago
Simon Ser 729e18bff5 Replace wlr_headless_backend_create_with_renderer call
3 years ago
Aleksei Bavshin 94dc486f0e ipc: make `bar <bar_id> mode|hidden_state` behave as documented
3 years ago
Manuel Stoeckl a23cdbbea1 Add 'output render_bit_depth [8|10]' command
3 years ago
Simon Zeni 5865af75cf sway: create wlr_renderer and wlr_allocator
3 years ago
Kirill Primak cbecc5cbae container: fix surface_is_popup()
3 years ago
Eric Engestrom bb7bb3676d sway: allow IPCs on proprietary drivers
3 years ago
Simon Ser 38020d157d Bump RLIMIT_NOFILE
3 years ago
bR3iN 9969de9e00 Add smart_gaps inverse_outer command
3 years ago
Rasmus Moorats aaf68cf423 fix cursor input for layer-shell surfaces
3 years ago
siikamiika 21d2fdf74c view: add new container as a sibling of tiled view
3 years ago
siikamiika 197d0ab82f commands/focus: focus view inside container
3 years ago
David Rosca 215787e8b2 xwayland: Clear wlr_xwayland_surface in handle_destroy
3 years ago
Simon Ser b48cb6b0ec Remove --my-next-gpu-wont-be-nvidia
3 years ago
Birger Schacht ca8c6c3d18 Fix a couple of typos
3 years ago
Simon Ser 0c210a5e68 Handle present events with NULL timespec field
3 years ago
siikamiika f4db502d44 use node_is_view
3 years ago
Jari Ronkainen 624ffa4516 Improve built-in touchscreen detection
3 years ago
Tassilo Horn a47f8ef478 Fix compile after wlroots commit c3e54021f8bbf3ec1c1e5906459be0ae85f5fb8c
3 years ago
Bartel Sielski 8fa7b99859 idle_inhibit: Fix tree view after changes in commit 152a559e
3 years ago
Elyes HAOUAS 8aae6a8eab sway-input.5.scd: Fix spelling errors
3 years ago
Evgeniy Khramtsov ff468584ab commands: Remove unused code after 1d3681f521
3 years ago
Simon Ser c43f1fbf1c Chase wlr_xdg_surface breaking changes
3 years ago
Simon Ser 1bd8e3b469 Add support for DRM panel orientation
3 years ago
Kirill Primak 5fd5d6434e layer-shell: fix commit handler
3 years ago
Kirill Primak c11b5db4d6 layer-shell: check `committed` bitmask
3 years ago
Kirill Primak b7b3ef6dcf layer-shell: chase wlr layer surface refactor
3 years ago
Kirill Primak b1d41db6cf Revert "xdg_shell: schedule configure on maximize requests"
3 years ago
Kirill Primak eb03298b46 xdg-shell: chase wlr xdg toplevel refactor
3 years ago
Simon Ser 82d5f12914 Add -Dnoscanout debug option
3 years ago
Hugo Osvaldo Barrera a345180520 Drop hardcoded font metric values
3 years ago
Hugo Osvaldo Barrera c16b2a26ed Avoid unecessary font metric calculations
3 years ago
aajonusonline 49da73d4ac sway-ipc.7.scd: fix typo
3 years ago
Simon Ser 3f7a04df22 Rename pango_printf to render_text
3 years ago
Simon Zeni 30c28ff8f7 introduce wlr_drm_lease_v1
3 years ago
Kirill Primak e76e13ef85 view: fix child position calc
3 years ago
Kirill Primak 91d6d00414 render: fix -Ddamage=rerender
3 years ago
Kirill Primak ae80bdedf9 surface: chase wlr subsurface list/link change
3 years ago
Kirill Primak 72b0491ca0 view: fix saved buffer order
3 years ago
Daniel De Graaf 69a7b9215e Fix overly-wide mark textures
3 years ago
Ronan Pigott 00b10a93f1 commands: update split none command for a047b5ee4
3 years ago
Ronan Pigott de3c290427 command: implement split none
3 years ago
Simon Plakolb 4baf845a3a seatop_down: End if surface is destroyed or other seatop starts
3 years ago
Simon Plakolb 9e58425cb3 input: Use seatop_down on layer surface click
3 years ago
David Rosca 57d6f6f19e Add `output modeline` command
3 years ago
Tudor Brindus daaec72ac0 desktop/xwayland: restack surface upon activation
3 years ago
Hugo Osvaldo Barrera 9acb015755 Deduplicate code for rendering titlebar texts
3 years ago
Hugo Osvaldo Barrera 62d90a8e95 Use fixed titlebar heights
3 years ago
grumpey bb3fd0abc5 Update Pango font description URL in sway.5.scd
3 years ago
quinno d0c5c5a60b Fix typo in sway.5.scd
3 years ago
Simon Ser c9060bcc12 layer-shell: replace close() with destroy()
3 years ago
Eric Engestrom b17cf58a4d cmd_bind_or_unbind_switch: fix copy/paste typo error message
3 years ago
Simon Ser 4cdc4ac63a Fallback to other output modes if preferred mode fails
3 years ago
Ronan Pigott f67ed6772c layer_shell: damage previous area when a surface shrinks
3 years ago
Dudemanguy acf946fe4c xdg-decoration: let floating clients set borders
3 years ago
David Rosca d0fe721fbb seatop_down: Change type of sx, sy to double in begin_seatop_down
3 years ago
frogtile f4cda5157e
man: update Pango font description URL
3 years ago
Simon Ser 2e03a61262 Fix wl_pointer.frame not sent on touch emulation
3 years ago
Tobias Stoeckmann e7f4e50da0 Fix crash when starting without HOME
3 years ago
bR3iN c9458b9fb1 Add `gaps <type> <scope> toggle <px>` command
3 years ago
Simon Ser 7114030159 Add support for touch frame events
3 years ago
Simon Ser 4832fc937f Update wlr_box includes
3 years ago
Dudemanguy c41dc33590 container: ignore borders in fullscreen windows
3 years ago
Simon Ser 22226560e3 tree/container: fix indentation
3 years ago
Kenny Levinsen 80315217f7 input: Move get_current_time_msec in from util
3 years ago
Ragnar Groot Koerkamp c0c4e260c4 Revert "Add workspace {prev,next}_on_output --create"
3 years ago
novenary dbc326ba84 Don't apply hide_edge_borders to any floating container
3 years ago
Ragnar Groot Koerkamp d5c71231e5 Only call workspace_auto_back_and_forth when needed
3 years ago
Ragnar Groot Koerkamp 3080f1b9ce Move auto_back_and_forth logic out of workspace_switch
3 years ago
Ragnar Groot Koerkamp 771cff23fb Fix #6299 Disable auto_back_and_forth for next_on_output
3 years ago
Rahiel Kasim 75a4122f7a fix typo in sway-output.5.scd
4 years ago
Daniel Eklöf 3bf99198a6 sway: restore SIGPIPE handler before exec:ing swaybar
4 years ago
Daniel Eklöf 1dd6df6a5d sway: commands: exec: restore SIGPIPE before exec:ing
4 years ago
Daniel Otero b997147284 config: Fix swaybar pango_markup inconsistency
4 years ago
Bill Doyle cad6e59b93 Only defer seat attachment during initial startup
4 years ago
Simon Ser 3162766eef Iterate over subsurfaces below the parent surface
4 years ago
Simon Ser 9755684fb0 Implement xdg-activation-v1
4 years ago
Tobias Langendorf 12e223e797 remove usage of `wlr_texture_get_size`
4 years ago
Ronan Pigott 5a73dc1bc2 view: commit transactions for foreign toplevel requests
4 years ago
Manuel Stoeckl 31b4b96ebf commands/exec: stop truncating >4095-byte commands
4 years ago
Ronan Pigott 137dbf3e6d cmd_fullscreen: ignore fullscreen request on workspaces
4 years ago
Issam E. Maghni d45623c2db cairo: Replace <cairo/cairo.h> by <cairo.h>
4 years ago
tomKPZ f9a5c18c93 Add tab dragging functionality
4 years ago
Erik Reider d65e67face Added scroll_factor input variable to ipc output
4 years ago
Bartłomiej Burdukiewicz 7c74f01f0a main: removed vc4 detection code.
4 years ago
Rouven Czerwinski 30e400c0a3 view: handle case where map_ws is NULL
4 years ago
Ronan Pigott a6dc829ed0 xdg-shell: ignore unecessary fullscreen request ouput hints
4 years ago
Ronan Pigott c12169953a workspace: reap empty parents when adding tiles
4 years ago
Simon Ser fd36289faa Remove support for arbitrary rotations
4 years ago
Kenny Levinsen 4e6f515253 desktop/render: Pass explicit clip box to render
4 years ago
Kenny Levinsen 7ec9d07fc5 Remove usage of surface->sx|sy
4 years ago
Tudor Brindus 80128d23ba tree/view: don't give focus to views mapped under fullscreen views
4 years ago
Dominique Martinet 8529141150 view_destroy: fix use-after-free with subsurface_destroy
4 years ago
Simon Ser 31a2252e83 commands/exec_always: log error on execlp failure
4 years ago
Simon Ser 7beeb9e61b Use execlp("sh") instead of execl("/bin/sh")
4 years ago
Simon Ser e3e99d961d Avoid creating zero-sized textures for marks
4 years ago
Simon Ser 3173a4f353 Use cairo_image_surface_get_stride instead of guessing it
4 years ago
Simon Ser 6327f1b361 Avoid creating zero-sized textures for titlebars
4 years ago
Michael Weiser 730efbc89c Prevent use-after-free on first bar subcommand error
4 years ago
Ronan Pigott ecfd687977 cmd_fullscreen: allow fullscreen on fullscreen split containers
4 years ago
ash lea eb9e77f4ea container: don't set fullscreen on children
4 years ago
fwsmit 8106f01c17 desktop/layer_shell: fix centering for opposing anchors
4 years ago
Elyes HAOUAS b40c6448e6 desktop/layer_shell.c: Fix misspelled "exclusive"
4 years ago
Simon Ser 78fc9d0d2d Log wlroots version on startup
4 years ago
Ronan Pigott a558866f42 container: retain focus position on floating enable
4 years ago
Simon Ser 1a72049c04 Remove WLR_HAS_XDG_FOREIGN checks
4 years ago
Simon Ser 86b08e3257 desktop/render: remove unused wlr_gles2_texture_attribs
4 years ago
Ronan Pigott 62fbf33ce2 output: damage whole output when exiting scanout
4 years ago
columbarius 1d62d6bfa0
config: allow whitespaces in config path
4 years ago
Ivan Fedotov 346f5a9d14 Add toggle logic inside DPMS handler
4 years ago
Kenny Levinsen d79ea9a0db view: subsurface NULL check in view_from_wlr_surface
4 years ago
Kenny Levinsen 152a559e30 idle_inhibit: Store wlr inhibitor instead of view
4 years ago
Kenny Levinsen 70842f4e14 view: Handle NULL role object when role is set
4 years ago
xdavidwu e5913f8106
Implement input method keyboard grab
4 years ago
Simon Ser 585abdb357 xwayland: simplify override-redirect focus restoration
4 years ago
Vyivel ba6c0eb18b output: simplify layer surface iteration
4 years ago
Kenny Levinsen 2e06403548 container: Add view_container_content_at
4 years ago
Kenny Levinsen d358aab8d9 container: Limit tiled focus to container geometry
4 years ago
Kenny Levinsen a6544f5a64 render: Clip surfaces to container bounds
4 years ago
ftilde 1afedcb94c Fix for_window criteria and mouse button bindings
4 years ago
lbonn c6e7cf1ae5 focus: beyond fullscreen when focused explicitly
4 years ago
Simon Ser eea9c6331f Automatically map built-in touchscreens/tablets to built-in panels
4 years ago
Simon Ser 641b8719ad man: document `input XXX map_to_output *`
4 years ago
Quantum e01a3c85f6 render: handle containers without output when rendering titles
4 years ago
Tadeo Kondrak bb41b7b814 output: Reconfigure xcursor when applying output config
4 years ago
Tadeo Kondrak de471e67d3 build: Add dependency on libdrm
4 years ago
Kenny Levinsen 95901d906a shells: Update comment about size change on commit
4 years ago
Kenny Levinsen 1989b18ff2 transaction: Remove unused ready_immediately
4 years ago
Kenny Levinsen 35b9a41720 transaction: Note if instructions are server requests
4 years ago
Simon Ser 66343839b1 Fix wl_shm_format passed to wlr_texture_from_pixels
4 years ago
Dimitris Triantafyllidis aac1582ea9 Fix #5643, #5064: rounding issues in floating-point -> integer conversions
4 years ago
Kenny Levinsen 1a6471be17 view: Set parent for view_child subsurfaces on init
4 years ago
Kenny Levinsen 79e43b19d7 view: Mark subchildren as unmapped in view_child_destroy
4 years ago
Kenny Levinsen e7af5b6309 view: Recursively check mapped of view_child tree
4 years ago
Kenny Levinsen 2c917a8c34 container: Add container_is_current_floating
4 years ago
Quantum e0a94bee8d render: scale titlebars correctly when straddling outputs
4 years ago
Tadeo Kondrak f58f054c87 Fix incorrect damage being applied on popups
4 years ago
Kenny Levinsen 35342d89a9 render: Use current instead of pending fullscreen
4 years ago
Kenny Levinsen a047b5ee4a container: Move pending state to state struct
4 years ago
David96 28cadf5580 Add missing transaction commits to seatop_default
4 years ago
Tadeo Kondrak 42cbaf278c text_input: Add support for focusing layer-shell surfaces
4 years ago
Kenny Levinsen c8bf84c82d transactions: Amend pending transactions
4 years ago
Jan Palus b944735b47 Align ordering of core node properties with i3
4 years ago
Kenny Levinsen 37d7bc6998 transaction: Only wait for ack from visible views
4 years ago
Tadeo Kondrak c88f7ad1d0 text_input: Only send surrounding_text and content_type if supported
4 years ago
Tadeo Kondrak b0e8f4ade2 text_input: Ignore text_input disable from unfocused windows
4 years ago
Kenny Levinsen 31a01bb80d input: Commit transactions in seatop_default
4 years ago
Kenny Levinsen b5b628cb41 input: Only commit transactions when necessary
4 years ago
Kenny Levinsen 63a6635163 view: Read geometry directly in view_update_size
4 years ago
Kenny Levinsen 82b1019658 shells: Align geometry change commit handling
4 years ago
Kenny Levinsen 90fa6953ea shells: Only center tiled views on size change
4 years ago
Kenny Levinsen 50205ade9d transaction: Move centering to view_center_surface
4 years ago
Kenny Levinsen cf1e3be228 view: Save surface x and y on saved buffers
4 years ago
Manuel Stoeckl 169b90f90b Make command line option lists const
4 years ago
Manuel Stoeckl cb3c727632 Declare all struct cmd_handler arrays const
4 years ago
Aleksei Bavshin 89b4bc4bc7 xdg-foreign: add v1 and v2 implementations
4 years ago
Konstantin Pospelov 8b7008a296 Check the output state for recorded workspaces
4 years ago
Manuel Stoeckl f8c6fc1944 desktop/layer_shell: Fix allocation type mismatch
4 years ago
Kenny Levinsen 4d43f1dd99 desktop/output: Disable head if mode is NULL
4 years ago
fwsmit 241ce2af83 Implement foreign toplevel fullscreen output hints
4 years ago
BrassyPanache 62ec528c8c Adhere to ICCCM focus specification
4 years ago
Simon Ser 38571e6a0c Log when config file is not found
4 years ago
Simon Ser 43f82078cf Raise verbosity of error message in load_main_config
4 years ago
SpizzyCoder 7cf25d3b98 Changed fprintf(stdout,...) to printf(...) for more readable code
4 years ago
Ronan Pigott 915ba01ff1 config/output: correct refresh rate rounding error
4 years ago
Simon Ser 1c3cfd3bac Rename output_layer_for_each_surface_{toplevel,popup}
4 years ago
Simon Ser 5438cc158a Switch to wlr_xdg_surface_for_each_popup_surface
4 years ago
Simon Ser 661cdac2d6
desktop/xwayland: use index constants for atom array
4 years ago
Simon Ser cbd82b4117
man: update maintainer
4 years ago
Ronan Pigott d1bf3b8a86 cmd_move: update container representation in sibling swaps
4 years ago
Andri Yngvason 9ef5cc03f1 input/seat: Reset command handler context in seat_destroy()
4 years ago
Andri Yngvason e11bc058ac input/seat: Clean up focus_stack in seat_destroy()
4 years ago
Andri Yngvason 98eece53ad input: Clean up input_method_relay in seat_destoy()
4 years ago
Simon Ser 53f5197c26 Remove create_renderer_func argument
4 years ago
Ronan Pigott d1c4ed1867 container: set fullscreen mode before attempting focus
4 years ago
Ronan Pigott 5f1fe33d36 workspace: rework workspace prev|next like i3
4 years ago
Ronan Pigott 89ffeaae49 commands/move: reset geometry of promoted containers
4 years ago
Ronan Pigott 432c4df6e7 commands/move: squash workspace after directional con move
4 years ago
Ronan Pigott 8eb0c54693 introduce workspace_squash
4 years ago
Ronan Pigott e95c299f0a commands/move: rework container_move_in_direction
4 years ago
Ronan Pigott ece6a1d408 Change workspace_layout to match i3 behavior
4 years ago
Ronan Pigott b4850876dc Revert "commands/move: maintain workspace_layout when moving"
4 years ago
Tudor Brindus 971aa90ccc commands/move: don't flatten on move; reap empty former parent instead
4 years ago
Ronan Pigott d54c8e885b commands/layout: don't change the layout of workspaces with children
4 years ago
Ronan Pigott 2478f2f010 container: don't split single children
4 years ago
Simon Ser 33b64667ae Test output before direct scan-out
4 years ago
Simon Ser a68c6a00ca Route wlroots logs into Sway logging infrastructure
4 years ago
Simon Ser a1591c23d2
Handle secondary headless backend failures
4 years ago
Isaac Freund 5ad3990a6c Drop gtk-primary-selection support
4 years ago
Vlad Pănăzan 71725a8eae Add layer shell subsurfaces
4 years ago
Tudor Brindus cc2c0d5966 input/cursor: unhide cursor on synthetic input
4 years ago
Paul Riou b5cc11b226 criteria: fix crash when comparing NULL properties
4 years ago
Ronan Pigott 32b93ef6ea xdg_shell: allow views to change geometry anytime
4 years ago
Rex Hackbro f1afef5533 document parse_error
4 years ago
Simon Ser 83389da583
Log which output is using direct scan-out
4 years ago
Brian Ashworth 9d6787d10d input/keyboard: fix Group# bindings for keyboard groups
4 years ago
Tudor Brindus 07042486c3 tree/container: introduce `container_is_sticky[_or_child]` functions
4 years ago
Simon Ser a56098a24e
Add missing includes for wlr_input_device.h
4 years ago
Simon Ser bb342ac5e6
Replace wlr_key_state with wl_keyboard_key_state
4 years ago
Tudor Brindus 0df5753aed input/seatop_default: consider fullscreen views to have no edges
4 years ago
Tudor Brindus c523aa623b input: fully change focus when scrolling tabs/stacks
4 years ago
Tudor Brindus 60d95414d4 commands/focus: force container warp when fulfilling `focus mode_toggle`
4 years ago
Tudor Brindus 8c12e71a66 input: remove motion deltas from seatop callbacks
4 years ago
Tamir Zahavi-Brunner 96578aa91e hide_cursor: Add an option to hide when typing
4 years ago
mwenzkowski 4799cb0960 output: Revert implementation of evacuate_sticky()
4 years ago
Dimitris Triantafyllidis 39328ca4e4 In container_split, set a floating container's view to tiled
4 years ago
mwenzkowski 32788a93f2 output: evacuate sticky containers only if new output has a workspace
4 years ago
Dimitris Triantafyllidis 0cb9282aee Smart borders fix: always show borders for floating containers
4 years ago
mwenzkowski 13a67da614 container: Fix NULL pointer dereference
4 years ago
Ronan Pigott d06c1ac1e9 commands/move: fix crash when moving sphsc child
4 years ago
Daniel De Graaf 1be66c98f2 commands/resize: don't consider 1px resizes to be invalid
4 years ago
Ronan Pigott 9e272a7986 tiling_resize: abandon resize if a sibling con dies
4 years ago
Tudor Brindus cc8d318aa1 transaction: make transaction collapsing smarter with > 2 views
4 years ago
Tudor Brindus 8355884fbd transaction: validate X transaction completions by geometry, not size
4 years ago
Tudor Brindus 5bd6a5ce3f transaction: don't reconfigure X views unless integral coords changed
4 years ago
Ronan Pigott 33affb33d2 tiling_drag: emit window move ipc events
4 years ago
Tudor Brindus 181798c2fe xwayland: listen to `set_geometry` event
4 years ago
Ronan Pigott 5bcbc0b4a9 seat: use default output mapping if there is no input config
4 years ago
Tudor Brindus ed247c031c input/tablet: add tool_mode option to set tablet tools as relative input
4 years ago
Tudor Brindus 136add4e12 input/cursor: default tablet lens tool to relative motion
4 years ago
Tarmack 989123a2a5 Add support for workspace_min_width bar option.
4 years ago
Tobias Langendorf 657587964e xwayland: support views that change override-redirect status
4 years ago
Tudor Brindus 392d4808c3 commands/move: fix single-split escaping on move
4 years ago
Tudor Brindus bc239b2f6b desktop/render: show indicators for top-level split
4 years ago
David96 c150177a94 Make focus_follows_mouse work when hovering a layer-shell surface on another output
4 years ago
John Mako 4537c8b3d4 check parent surface before it is destroyed
4 years ago
Rouven Czerwinski 41999d7c9f cursor: update hide timer during config apply
4 years ago
Geoffrey Casper 65a751a21f server: Avoid using "wayland-0" as WAYLAND_DISPLAY
4 years ago
Rouven Czerwinski 299a159add cursor: arm cursor hide timer immediately
4 years ago
Tudor Brindus 2efecc14ef input/pointer: update cursor activity after updating button counts
4 years ago
Rouven Czerwinski afa890e8e9 input/cursor: reset event source after unhide
4 years ago
BrassyPanache 7ca9ef12f8 Re-focus on parent surface if it is available
4 years ago
Brian Ashworth 2ea5d2985a input/libinput: remove input type property bias
4 years ago
Simon Ser 2c76923282 Use wlr_output_event_commit
4 years ago
Konstantin Pospelov fd216b3a81 exec: fix validation during config reload
4 years ago
Simon Ser 6991ac8c70 Handle SIGINT
4 years ago
Ronan Pigott b7f28cd6b7 view: remove foreign toplevel listeners on destroy
4 years ago
Ronan Pigott f478f4cc66 view: implement foreign toplevel fullscreen request
4 years ago
Ronan Pigott a01573016a view: implement foreign toplevel fullscreen indicator
4 years ago
Rex Hackbro 8fb9f3b711 document force_display_urgency_hint
4 years ago
Rex Hackbro 12a9ae013e fix force_display_urgency_hint parsing
4 years ago
Rex Hackbro d25e308f9c fix typos
4 years ago
Antonin Décimo bbf7b92fe4 Fix incorrect format specifiers
4 years ago
Antonin Décimo a1c6052383 Log empty value if envvar is not defined
4 years ago
Antonin Décimo 2960b2c9b6 cmd/bar/colors: fix dereference of null pointer
4 years ago
Antonin Décimo 8033b575f7 ipc: fix aligment issue of data buffer
4 years ago
Thayne McCombs b20d52f71d Use wlr_output_layout_output_at to get output for move to cursor
4 years ago
Thayne McCombs cfa403fc58 Keep windows in bounds on move to position mouse
4 years ago
Ronan Pigott dae74057b3 commands: disallow runtime include
4 years ago
Ronan Pigott 3520fd2c19 view: display scratchpad hidden containers when activated by ftm
4 years ago
Tobias Langendorf 4f718e6c75 Fix X11 clients getting stuck minimized
4 years ago
Antonin Décimo 7c7afa3b29 Fix typos in man page.
4 years ago
Nils Schulte b513981378 added ppt unit to move position command
4 years ago
Nils Schulte 6898d1963f moved and renamed movement-unit parsing to common
4 years ago
Ronan Pigott 36c3c222d2 sway.5: add missing underscore
4 years ago
Andri Yngvason ab8ded626b desktop: output: Scale custom output refresh rate
4 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
4 years ago
Ronan Pigott 4dd46f06ac xdg_shell: schedule configure on maximize requests
4 years ago
Simon Ser 9bb70283e9 Assert output is found before removing from list
4 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
4 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
4 years ago
Geoffrey Casper ea3ba203cc Reload command now matches i3's implementation
4 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
4 years ago
Tudor Brindus b4a75a1ab2 commands/move: maintain workspace_layout when moving
4 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
4 years ago
Simon Ser b5a35c484f tree/view: fix segfault in view_update_title
4 years ago
Simon Ser eb4fa18308 Unset DISPLAY when wlr_xwayland fails
4 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
4 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
4 years ago
Tudor Brindus 92891fb1ed commands/move: unwrap workspace container on move to new workspace
4 years ago
Johan Bjäreholt 1f8dbb320a tree/view: Make foreign-toplevel app_id fallback to class
4 years ago
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
4 years ago
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
4 years ago
Kenny Levinsen d0f7e0f481 transaction: Mark client resize immediately ready
4 years ago
Tudor Brindus bb85b9070d tree/view: fix smart borders with tabbed/stacked ancestor
4 years ago
Tudor Brindus c822427091 input/pointer: correctly handle bindings for synthetic events
4 years ago
Drew DeVault 8d5e627bc9 Implement wlr-foreign-toplevel-management-v1
4 years ago
Tudor Brindus eeb90a7963 input_cmd_click_method: fix typo in error text
4 years ago
Tudor Brindus 2270b4c213 input/seat: don't notify keyboard grabs with NULL surface on shutdown
4 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
4 years ago
Tudor Brindus d328c2439c input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 82c439c4f1 input/cursor: send idle events based off device type, not input type
5 years ago
Simon Ser e19bd1e474 Add support for viewporter
5 years ago
Tudor Brindus 8fa74add82 input/pointer: don't trigger pointer bindings for emulated input
5 years ago
Tudor Brindus 20deb8ec16 input/tablet: focus appropriate node on tip down
5 years ago
Brian Ashworth 33aa59d4c6 input/keyboard: wlr_keyboard_group enter and leave
5 years ago
Jason Nader 45859be03f i3-compat: add GET_BINDING_STATE IPC command
5 years ago
Simon Ser f9361ae36c Remove view child surface_{map,unmap} listeners on destroy
5 years ago
Ronan Pigott 90d936d4ad view: fix surface_new_subsurface use-after-free
5 years ago
Simon Ser bf8d23a836 Log Sway version on startup
5 years ago
Tudor Brindus ed08f2f20c tree/view: fix smart gaps when ancestor container is tabbed or stacked
5 years ago
Tudor Brindus 14e887bc3d input: tweak resize behavior to not change tab focus on border click
5 years ago
Tudor Brindus ce494a5811 input/tablet: allow moving tiling tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 7dec1f8398 input/tablet: allow moving floating tablet v2 surfaces by pen input
5 years ago
Tudor Brindus 53dc83fb68 tree/container: introduce `container_toplevel_ancestor` helper
5 years ago
Tudor Brindus d7900c6e5e common/util: fix `get_current_time_msec` returning microseconds
5 years ago
Thomas Hebb 84ec8f92a6 Use new wlroots API for clearing keyboard/pointer focus during grabs
5 years ago
Kalyan Sriram e3e548a648
Save transform during transaction
5 years ago
Tudor Brindus f7e050c58f input/cursor: refactor tablet tool tip events into seatops
5 years ago
Kenny Levinsen f8dd7df1f5 shells: Resize on commit if geometry x/y changes
5 years ago
Kenny Levinsen 5a4a7bc0da container: Remove useless surface dimensions
5 years ago
Kenny Levinsen 7670f1a521 transaction: Improve transaction commentary
5 years ago
Kenny Levinsen 645cf76f8a transaction: Account for full size when centering content
5 years ago
Kenny Levinsen 4edd429053 view: update_size should only update pending size
5 years ago
Kenny Levinsen fcd0ab8f33 view: Save all buffers associated with view
5 years ago
Tudor Brindus 613abdda6f xwayland: pass focus to previous unmanaged surface on unmap
5 years ago
Tudor Brindus 83866558d3 tree/container: refactor `tiling_container_at` to check bounds
5 years ago
Damien Tardy-Panis 0cbd26f0da Add views idle inhibition status in get_tree output
5 years ago
Brian Ashworth 8cdcb77e12 seat_cmd_cursor: emit frame events
5 years ago
Tudor Brindus 6da1631090 input/cursor: rename `simulated_tool_tip_down` to be more accurate
5 years ago
Tudor Brindus 6f7b548589 ipc: invert output transformation when necessary
5 years ago
Tudor Brindus 6ea45395c7 input/pointer: send pointer enter event on confine warp
5 years ago
Tudor Brindus 704d675a36 Log Xwayland startup failures
5 years ago
Tudor Brindus d71fed95da input/cursor: keep reference to cursor in constraint
5 years ago
Tudor Brindus 34e0cad9ac input/cursor: fix heap-buffer overflow in constraint set_region
5 years ago
Tudor Brindus 5d13f647f9 input/tablet: add seatop_down entry for tablet input
5 years ago
lbonn 848a6fdb21 ipc: show marks of containers without view in tree
5 years ago
Érico Rolim 1d3681f521 Remove code related to the security features
5 years ago
Martin Michlmayr 06fc42359b Fix typos in comments
5 years ago
Tudor Brindus 6f0a0bd385 input/pointer: only warp cursor when the confine region has changed
5 years ago
Martin Michlmayr 2bf14cb747 sway.5: make formatting more consistent
5 years ago
Brian Ashworth 5c32a48453 input: fix reloading crash due to keyboard group configuring
5 years ago
Brian Ashworth 975b8a90ad input: reset keyboard groups keyboard on reset all
5 years ago
Michael Weiser 0f11aa037a commands: Add per-view shortcuts_inhibitor command
5 years ago
David96 2473cac32c Implement pointer simulation if client hasn't bound to touch
5 years ago
Adam Kürthy 7a294b2668 Really fix floating window border resize problems
5 years ago
Tudor Brindus 2262ae60f4 input/cursor: don't apply pointer constraint to emulated tablet input
5 years ago
Kenny Levinsen a8a6ed667d Simplify repaint scheduling documentation
5 years ago
Tudor Brindus 726d187d3c input/tablet: simplify parameter plumbing for tablet references
5 years ago
Tudor Brindus 7c37e9d01e input/keyboard: use wlr_keyboard_keymaps_match from wlroots
5 years ago
David96 e5fed6b246 Don't unhide cursor on touch events
5 years ago
Tudor Brindus 52bd6aecf2 input/cursor: remove erroneous cast for tablet tool button
5 years ago
Tudor Brindus e262f93d0a input: rename pointer handlers to be unambiguous
5 years ago
Tudor Brindus ae3ec745f8 input: refactor tablet motion into seatop handler
5 years ago
Tudor Brindus 9362003cba input/cursor: disambiguate cursor functions from pointer functions
5 years ago
Tudor Brindus 0dc1863dce input/cursor: make cursor rebasing cursor type-agnostic
5 years ago
Simon Ser 5e5e5f2ee5 Add a secondary headless backend
5 years ago
Simon Ser 6021fc4a08 Fix invisible cursor on startup
5 years ago
Simon Ser f55de073c2 Don't assert the cursor theme loads
5 years ago
Tudor Brindus 2913f39dcb input/cursor: release simulated tool tip button when over v2 surface
5 years ago
Nick Diego Yamane 091f580b7c input/seatop_default: properly notify pointer leave
5 years ago
jhalmen 99897a6ca0 fix typos in sway-input.5.scd
5 years ago
Ejez 017f7984c7 Correct typo in sway-output.5.scd
5 years ago
Thomas Hebb f18bcfcd69 Add each view's shell to JSON description
5 years ago
Simon Ser 58703e4f24 man: add note about sway-input and sway-output pages
5 years ago
Tudor Brindus a5c26e6a05 input/tablet: query tablet focused surface for cursor image check
5 years ago
Tudor Brindus c3c9737e8b config/output: reconfigure input devices after full output init
5 years ago
Tudor Brindus d77247117c input/cursor: correctly transfer focus when using tablet pen
5 years ago
Tudor Brindus 3de1a3958e config/output: reconfigure input devices on new output
5 years ago
Adam Kürthy 65302093cf Take window borders into account when resizing floating windows
5 years ago
Tudor Brindus 44b2d3ad81 input/cursor: fix hide cursor timeouts on tablets and touchscreens
5 years ago
Tudor Brindus c23182fd7a input/cursor: fix jerky resizing of non-tablet_v2 surfaces
5 years ago
Tudor Brindus d88460f716 input/cursor: correctly send tablet_v2 up event when over non-v2 surface
5 years ago
Simon Ser 83d769805c Restrict relative output transforms to runtime changes
5 years ago
Ihor Kalnytskyi 58eb0c4082 scdoc: unbindcode --input-device, not input-device
5 years ago
Ian Huang 276e0301e0 interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY
5 years ago
David96 2b15cf453e Don't transfer focus to NULL node on touch
5 years ago
Rouven Czerwinski 0efc28e2f5 input/seatop_default: release on empty workspace
5 years ago
Di Ma c0bce9138b Fix a use-after-free error in switch binding
5 years ago
Di Ma 2bece94b9b Fix a use-after-free error in switch binding
5 years ago
Di Ma c1c2fe04bb Fix a use-after-free error in switch binding
5 years ago
Di Ma a3e574f63f Fix a use-after-free error in switch binding
5 years ago
Simon Ser b300bace0f Implement create_output command for headless backend
5 years ago
Andri Yngvason b18d943442 input: keyboard: Never group virtual keyboards.
5 years ago
Andri Yngvason 46599df0a2 input: Mark virtual devices as such
5 years ago
roshal a1275055ea add dots to man
5 years ago
Aleksei Bavshin 525b48ede7 Adjust focus order to match rendering order of layer shell popups.
5 years ago
David96 8c62278207 Render layer shell popups over the top layer
5 years ago
Rouven Czerwinski ac0637708f output: remove damage listeners in damage destroy
5 years ago
Simon Ser 34dccd4224 Don't add disabled outputs back to output layout
5 years ago
Simon Ser 97a6524a5a Fix initial modeset
5 years ago
Simon Ser f03d50f54b Add test-only support to wlr-output-management-unstable-v1
5 years ago
Simon Ser 0cdcf66bbc Introduce test_output_config
5 years ago
Simon Ser 40e87fa98a Stop checking wlr_output_attach_buffer return value
5 years ago
Thomas Hebb 3078f23258 config: fix unfocused text color
5 years ago
Leo 3c96a1d374 im: Fix crash when im destorying and no focused surface exists
5 years ago
xdavidwu e6805ce6e9 im: remove listener on pending surface destoryed
5 years ago
xdavidwu 4e1e5e4e33 im: make text-input listeners per text-input
5 years ago
xdavidwu 9d455b48e4 input-method: avoid and log unneeded set_focus
5 years ago
xdavidwu 1241b42c88 input-method: remove surface listener before set
5 years ago
xdavidwu 5886187c6e Port input method and text input from rootston
5 years ago
Some Chinese Guy 7c44c76989 swapped hiding the cursor and sending a touch event as a more logical sequence
5 years ago
Tobi Fuhrimann ac3444295d Reference wev instead of xev
5 years ago
Simon Ser 3a5d9b3b32 Update for new wlr_buffer API
5 years ago
Leon Plickat dffc184a68 change apply_exclusive() to closer match layer shell protocol
5 years ago
Linus Heckemann df48c48123 add --no-repeat option for bindings
5 years ago
Simon Ser 5e41e6600b Change focus_on_window_activation default to urgent
5 years ago
Some Chinese Guy 63e45bf321 switched to setting focus with seat_set_focus
5 years ago
Some Chinese Guy 798fc24081 Added focus following for touch_down
5 years ago
rinpatch 214e3030e1 sway.5: fix missing background scaling mode in a block example
5 years ago
Josh Shone 82d02ce782 Fix hit test for floaters that cross outputs
5 years ago
r-c-f 854497b242
check for workspace command name arg
5 years ago
Leo 0b9feb6f39 Fix redundant call to seat_send_focus()
5 years ago
Simon Ser b34c198f0b Fix output mode usage
5 years ago
Jason Nader fcd524bb0d sway/input/cursor.c: fix undefined behaviour when event is NULL
5 years ago
Dennis Schridde 6498542b24 Document input selector precedence
5 years ago