903 Commits (af0d4a048a38847769fda4898a07a72401ee40be)

Author SHA1 Message Date
Hugo Osvaldo Barrera 9acb015755 Deduplicate code for rendering titlebar texts
3 years ago
Hugo Osvaldo Barrera 62d90a8e95 Use fixed titlebar heights
3 years ago
Dudemanguy acf946fe4c xdg-decoration: let floating clients set borders
3 years ago
Dudemanguy c41dc33590 container: ignore borders in fullscreen windows
3 years ago
Simon Ser 22226560e3 tree/container: fix indentation
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
Simon Ser 3162766eef Iterate over subsurfaces below the parent surface
4 years ago
Ronan Pigott 5a73dc1bc2 view: commit transactions for foreign toplevel requests
4 years ago
Issam E. Maghni d45623c2db cairo: Replace <cairo/cairo.h> by <cairo.h>
4 years ago
Rouven Czerwinski 30e400c0a3 view: handle case where map_ws is NULL
4 years ago
Ronan Pigott c12169953a workspace: reap empty parents when adding tiles
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 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
ash lea eb9e77f4ea container: don't set fullscreen on children
4 years ago
Ronan Pigott a558866f42 container: retain focus position on floating enable
4 years ago
Kenny Levinsen d79ea9a0db view: subsurface NULL check in view_from_wlr_surface
4 years ago
Kenny Levinsen 70842f4e14 view: Handle NULL role object when role is set
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
lbonn c6e7cf1ae5 focus: beyond fullscreen when focused explicitly
4 years ago
Simon Ser 66343839b1 Fix wl_shm_format passed to wlr_texture_from_pixels
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
Kenny Levinsen a047b5ee4a container: Move pending state to state struct
4 years ago
Kenny Levinsen 63a6635163 view: Read geometry directly in view_update_size
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
Konstantin Pospelov 8b7008a296 Check the output state for recorded workspaces
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 5438cc158a Switch to wlr_xdg_surface_for_each_popup_surface
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 8eb0c54693 introduce workspace_squash
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
Ronan Pigott 2478f2f010 container: don't split single children
4 years ago
Tudor Brindus 07042486c3 tree/container: introduce `container_is_sticky[_or_child]` functions
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 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