4292 Commits (e98b97a45b38f93339c7e17c012b7f49b310e335)

Author SHA1 Message Date
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
5 years ago
Tudor Brindus 6b9a9b6246 input/cursor: don't send wl_pointer.motion event on pointer unlock warp
5 years ago
Ronan Pigott 4dd46f06ac xdg_shell: schedule configure on maximize requests
5 years ago
Simon Ser 9bb70283e9 Assert output is found before removing from list
5 years ago
Ronan Pigott 39d677af15 input: implement xdg_toplevel interactive resize hints
5 years ago
Simon Ser 5432f00adf config/output: don't change output state before commit
5 years ago
Geoffrey Casper ea3ba203cc Reload command now matches i3's implementation
5 years ago
Nick Diego Yamane e5954f321f seat/dnd: support null drag icon surfaces
5 years ago
Tudor Brindus b4a75a1ab2 commands/move: maintain workspace_layout when moving
5 years ago
wb9688 17ff13fc84 Replace unprintable characters in input device id
5 years ago
Simon Ser b5a35c484f tree/view: fix segfault in view_update_title
5 years ago
Simon Ser eb4fa18308 Unset DISPLAY when wlr_xwayland fails
5 years ago
Simon Ser dfccd2a4c4 Don't set xwayland cursor when wlr_xwayland failed
5 years ago
Simon Ser 1bfbf262cc seat: fix segfault in sway_input_method_relay_set_focus
5 years ago
Tudor Brindus 92891fb1ed commands/move: unwrap workspace container on move to new workspace
5 years ago
Johan Bjäreholt 1f8dbb320a tree/view: Make foreign-toplevel app_id fallback to class
5 years ago
Isaac Freund 76adcc3fd3 output: simplify loop over layer surfaces
5 years ago
Kenny Levinsen 492267a5d6 seat: Refocus seat when wlr_drag is destroyed
5 years ago
Kenny Levinsen d0f7e0f481 transaction: Mark client resize immediately ready
5 years ago
Tudor Brindus bb85b9070d tree/view: fix smart borders with tabbed/stacked ancestor
5 years ago
Tudor Brindus c822427091 input/pointer: correctly handle bindings for synthetic events
5 years ago
Drew DeVault 8d5e627bc9 Implement wlr-foreign-toplevel-management-v1
5 years ago
Tudor Brindus eeb90a7963 input_cmd_click_method: fix typo in error text
5 years ago
Tudor Brindus 2270b4c213 input/seat: don't notify keyboard grabs with NULL surface on shutdown
5 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
5 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