903 Commits (023f6b0a50dd4fe17a29d7f02922e18ef37df857)

Author SHA1 Message Date
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 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
Ronan Pigott 3520fd2c19 view: display scratchpad hidden containers when activated by ftm
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
Tudor Brindus b4a75a1ab2 commands/move: maintain workspace_layout when moving
4 years ago
Simon Ser b5a35c484f tree/view: fix segfault in view_update_title
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
Tudor Brindus bb85b9070d tree/view: fix smart borders with tabbed/stacked ancestor
4 years ago
Drew DeVault 8d5e627bc9 Implement wlr-foreign-toplevel-management-v1
4 years ago
Tudor Brindus b3f08597cd input: disable events for map_to_output devices when output not present
5 years ago
Simon Ser e19bd1e474 Add support for viewporter
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
Tudor Brindus ed08f2f20c tree/view: fix smart gaps when ancestor container is tabbed or stacked
5 years ago
Tudor Brindus 53dc83fb68 tree/container: introduce `container_toplevel_ancestor` helper
5 years ago
Kalyan Sriram e3e548a648
Save transform during transaction
5 years ago
Kenny Levinsen 5a4a7bc0da container: Remove useless surface dimensions
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 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
Michael Weiser 0f11aa037a commands: Add per-view shortcuts_inhibitor command
5 years ago
Ian Huang 276e0301e0 interpret "subpixel none" as CAIRO_ANTIALIAS_GRAY
5 years ago
Simon Ser 3a5d9b3b32 Update for new wlr_buffer API
5 years ago
Josh Shone 82d02ce782 Fix hit test for floaters that cross outputs
5 years ago
Simon Ser 9d0aa0cb83 Use wlr_client_buffer
5 years ago
Brian Ashworth 0c23525d47 tree/view: do not attempt enter on hidden child
5 years ago
Brian Ashworth 8b593677d2 output: fix updating output manager config
5 years ago
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
5 years ago
Brian Ashworth 0b709702c1 container_at_{tabbed,stacked}: check x-axis bounds
5 years ago
Ronan Pigott d88d4bbd9d Fix crash when showing scratchpad hidden split containers
5 years ago
Brian Ashworth a4e4e21edf container: add inactive fullscreen to focus stack
5 years ago
Brian Ashworth c99d423ad9 view: remove workspace pid mapping for assigns
5 years ago
Pedro Côrte-Real bd1fb76e0f Make sure we don't calculate fractional pixel gaps
5 years ago
Pedro Côrte-Real 8008344762 Avoid numerical instability in resize
5 years ago
Brian Ashworth 0278c4db6f root_scratchpad_hide: disable fullscreen descendants
5 years ago
Ronan Pigott f645f8efd6 Fix lingering workspace with scratchpad show
5 years ago
Ronan Pigott 6968fb3123 add scale_filter output config option
5 years ago
Ivan Molodetskikh 022df2542b output: add max_render_time
5 years ago
Ronan Pigott 3975ca28c2 smart_borders: separate smartness from edge types
5 years ago
Simon Ser ec14a00e8c Fix segfault in wlr_output_manager_v1_set_configuration
5 years ago
Simon Ser 58a40ce07b Fix apply_output_config return value when enabling output
5 years ago
Ronan Pigott ec66bb987a view: create container before selecting workspace
5 years ago
Brian Ashworth da0ad4c39e view: always populate pid
5 years ago
lbonn 7baa3ffece Allow moving a container hidden in scratchpad
5 years ago
Simon Ser 7488d33d42 Remove xdg-shell v6 support
5 years ago
Brian Ashworth f36240208c workspace_split: focus middle if workspace focused
5 years ago
Brian Ashworth 75a7b02529 container_replace: copy {width,height}_fraction
5 years ago
Brian Ashworth acd3db4fe1 workspace: do not destroy if any seat is focusing
5 years ago
Brian Ashworth 804aacb8c7 workspace: prefer identifiers for output priority
5 years ago
Antonin Décimo 0570eb19e5 view_update_size: fix surface_width/height mismatch
5 years ago
Simon Ser f984f21b6a Remove all wayland-server.h includes
5 years ago
Brian Ashworth 17c9a0e84f arrange: remove gaps for workspace location deltas
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
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
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
6 years ago
Matt Coffin 2b5bf78faf Fix segfaults caused by faulty command parsing
6 years ago
Kenny Levinsen 4925882920 Use parent get_root_coords in subsurfaces
6 years ago
Brian Ashworth 462ad4ea83 cmd_move: respect workspace layout when inserting
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
Brian Ashworth 69a1a0ff99 Fix scratchpad fullscreen behavior and crash
6 years ago
Ashkan Kiani 27f51360b7 Fix scratchpad logic for floating windows
6 years ago
Brian Ashworth 195226120f Honor output for xdg_toplevel_set_fullscreen
6 years ago
Brian Ashworth 75e7bd24cc swaybg: one instance for all outputs
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
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 3106ef23a7 Fix output config retrieval for new outputs
6 years ago
Brian Ashworth d8f74e4706 Set prev_workspace_name based off of focus
6 years ago
Brian Ashworth 3330faded5 Handle seat_get_focused_workspace returning NULL
6 years ago
emersion 076257a978 Stop using wlr_output->{lx,ly}
6 years ago
Brian Ashworth 017a7c4da1 sway_view_child: add listener for view unmap
6 years ago
Brian Ashworth a729bda17f fullscreen: init floating on disable without size
6 years ago
Brian Ashworth 9a75f0010f arrange: use int not size_t for title offsets
6 years ago
emersion 8b6bd106aa Fix container_parent_layout for scratchpad windows
6 years ago
Brian Ashworth 430359519c floating_maximum_size: change default behavior
6 years ago
db 2510e3df38 add --i3 flag to hide_edge_borders
6 years ago
minus 713883f04c Fix crash exiting fullscreened floating container
6 years ago
Brian Ashworth d3d7956576 Handle NULL from output_get_active_workspace
6 years ago
Brian Ashworth 546b976baa output_evacuate: call workspace_consider_destroy
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
emersion 7baaa3a0f8 Disconnect swaybg instead of killing it
6 years ago
emersion 8ab64d3fcc Remove unused header include/sway/tree/output.h
6 years ago
Brian Ashworth ab42874f71 seat: allow tree focus changes while layer focused
6 years ago
Brian Ashworth d168d65f2c subsurface_get_root_coords: break on NULL
6 years ago
Brian Ashworth fb4f29289f workspace_get_initial_output: handle focused layer
6 years ago
Brian Ashworth 418c19fe52 view: remove pointer constraints on unmap
6 years ago
Brian Ashworth 995b6edab6 container_at_stacked: skip titles when zero pixels
6 years ago
Ryan Dwyer 8995694a2f Remove bad assertion in container_handle_fullscreen_reparent
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
Ryan Dwyer 20aa8ee67d Implement fullscreen global
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 34dea3d9d2 commands: allow tiled containers to be stickied
6 years ago
Ryan Dwyer 2301349ad5 Use noop output when there's no outputs connected
6 years ago
M Stoeckl d7ff776552 Move sway-specific functions in common/util.c into sway/
6 years ago
M Stoeckl 1211a81aad Replace wlr_log with sway_log
6 years ago
emersion 6ff54d0640
Fix segfault in output_enable
6 years ago
emersion a737d7ecc4
Better handle outputs without CRTC
6 years ago
emersion dc1eac0cf1 output: remove output_add_listeners
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 ed5aafd90b Refactor seat operations to use an interface
6 years ago
Brian Ashworth 8fd3f32c79 Fix segfaults on output destruction
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
John Chen 54d0f3a40e Set font options when computing text width.
6 years ago
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
6 years ago
Brian Ashworth cf7c77e56a Fix wlr_box_intersection args for wlroots 1441
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
Brian Ashworth 5f25541022 Allow output ids and wildcard for workspace output
6 years ago
mwenzkowski 01420193ef Fix criteria execution in view_map
6 years ago
Ian Fan 98c1e19466 list.c: rename free_flat_list to list_free_items_and_destroy
6 years ago
Ian Fan 19e831ed3d list.c: Remove list_foreach
6 years ago
Brian Ashworth 71ae08530a Fix default_orientation auto
6 years ago
Brian Ashworth f52277f66e Fix scratchpad segfault - NULL focused 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
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
Mihai Coman 6aafdd2321 IPC: Trigger move events for scratchpad 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
Florent de Lamotte 7555c7efdc Adding commands for configuring titlebar borders and padding
6 years ago
emersion cad851805b
Use #if instead of #ifdef
6 years ago
Ryan Dwyer be9348d25c Move view {x,y,width,height} into container struct
6 years ago
Brian Ashworth 12876932a9 Allow multiple outputs for workspace output
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
mwenzkowski cd0bae80b6 Fix #2992
6 years ago
Ryan Dwyer 9fc736f4e1 Move view marks properties to container struct
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
Drew DeVault 09f3f7b75f
Merge pull request #3011 from Emantor/fix/2922
6 years ago
Rouven Czerwinski e4df675840 output: initialize layers and signal before using functions
6 years ago
Robinhuett 0a4cf4748d Use output identifier for workspace config
6 years ago
Drew DeVault 5a98dfee02 Revert "Fix #2992"
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
Mihai Coman 5323551a7f Fix re-tiling for floating containers
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
Ryan Dwyer f7aed5c7e5 Fix containers not being resized when entering scratchpad
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 662466e8db Fix crash when resizing container hidden in the scratchpad
6 years ago
Ryan Dwyer 6deb726873 Fix crash when quitting a QT app on the wayland backend using menu
6 years ago
Ryan Dwyer c5a6c37275 Make workspace back_and_forth seat-specific
6 years ago
emersion 75ea19c71b
Merge pull request #2870 from RyanDwyer/refactor-input-manager
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
Ryan Dwyer 9ea71f292b Introduce cursor_rebase
6 years ago
Drew DeVault 765c80e5f7
Merge pull request #2820 from Emantor/fix-mouse-warping-container
6 years ago
Rouven Czerwinski 1f0aeae335 view: rewarp cursor during view_unmap
6 years ago
Rouven Czerwinski 892446a0b6 view: move arrange_workspace into view_map
6 years ago
Ryan Dwyer 26278b694c Introduce seat_set_raw_focus and remove notify argument from seat_set_focus_warp
6 years ago
Brian Ashworth 02aeb0f0be
Merge branch 'master' into fix_edge_gaps
6 years ago
Tarmack 36d9037f2c fix_edge_gaps: Allow negative values for outer gaps.
6 years ago
Ryan Dwyer 9190735947 Fix crash when view maps while locked
6 years ago
Ryan Dwyer 416bb7a214 Fix floating click events
6 years ago
mwenzkowski fd645a2a88 Fix undesirable height change of floating views
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
Ryan Dwyer d21d2c8665 Remove duplicate code
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 caed15af82 Handle subsurfaces in view_child_damage
6 years ago
Ryan Dwyer 1059e173f4 Only damage popups when popups have damage
6 years ago
Ryan Dwyer c620f76bea Move sticky containers when switching workspace via criteria
6 years ago
emersion 681ed1826d
Merge pull request #2759 from minus7/fix-view-container-null
6 years ago