Commit Graph

837 Commits (d41f11e6bd8cef80f02dda4c66d4a31611aed753)

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 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
Drew DeVault 06c214a800
Merge pull request from RyanDwyer/csd-border 6 years ago
Brian Ashworth bb25194844 Handle border options for gaps 6 years ago
Brian Ashworth 742d1764a6 Fix smart gaps 6 years ago
Drew DeVault f1dbdce0b2
Merge pull request from RyanDwyer/overhaul-gaps 6 years ago
Drew DeVault e518c5dbaf
Merge pull request from RedSoxFan/move-sticky-on-evac 6 years ago
Arkadiusz Hiler 1e70f7b19e Turn funcs() into funcs(void) 6 years ago
Ryan Dwyer 24bcb507ec Fix hotplugging down to zero outputs 6 years ago
Brian Ashworth 8f09ba7885 Move sticky containers in output_evacuate 6 years ago
Ryan Dwyer 415a48ac63 Make gaps implementation consistent with i3-gaps 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
Ryan Dwyer 22412f57b0 Fix floating views in tabbed/stacked workspaces not getting frame events 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 7b138e5ef0 Add CSD to border modes 6 years ago
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly 6 years ago
Ryan Dwyer b1a0e95e8e Fix crash when disconnecting output 6 years ago
emersion 4bc327a021
Merge pull request from RyanDwyer/fix-sticky-jumping-on-switch 6 years ago
emersion 1af4d314d1
Merge pull request from RyanDwyer/tab-scrolling 6 years ago
Ryan Dwyer 64445f4214 Prevent sticky containers from jumping on workspace switch 6 years ago
Drew DeVault 68395f34f6
Merge pull request from RyanDwyer/exec-commands-without-focus 6 years ago
Ryan Dwyer cb66bbea42 Allow running commands on containers without focusing them 6 years ago
Ian Fan d101f3d357 commands: remove obselete code for sticky windows when switching workspace 6 years ago
Geoff Greer c495164f60 swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 6 years ago
emersion eae42606e2
Merge pull request from RyanDwyer/fix-scratchpad-iteration 6 years ago
Ryan Dwyer 10ef118e09 Fix pango escaping and refactor escape_markup_text 6 years ago
Ryan Dwyer bf5933c501 Implement tab cycling using mouse wheel 6 years ago
emersion 82f1393cbb swaybar: handle hotplugging 6 years ago
Ian Fan 81f3fda6fa ipc: add pid information for views in layout tree 6 years ago
Ryan Dwyer c6ff1f67f1 Fix double iteration of scratchpad containers 6 years ago
Ryan Dwyer f6e218a643 Rename seat_get_active_child to seat_get_active_tiling_child 6 years ago
Ryan Dwyer 09733e233f Fix crash when unmapping last child of a tabbed workspace 6 years ago
Ian Fan 34dbbb1314 ipc: handle NULL cases for node_get_output 6 years ago
Ian Fan 25ba80057d Remove redundant container creation in view initialization 6 years ago
Drew DeVault d8a96c9e4d
Merge pull request from emersion/fix-unmap-segfault 6 years ago
Ryan Dwyer 679c7eb08c Minor fixes to tiling drag implementation 6 years ago
emersion 8b263429cf Don't use handler_context in view_unmap 6 years ago
Ryan Dwyer df95c61044 Fix crash in workspace_wrap_children 6 years ago
Ryan Dwyer 8bb40c24c7 Implement tiling drag 6 years ago
William Wold 097ed03647 Minor fix 6 years ago
William Wold 22c5dd8a02 Minor fix 6 years ago
William Wold 9a08019267 Prevent stacked layout from crashing 6 years ago
William Wold e787a1581c Give windows pointer focus immediately when they are switched to 6 years ago
Ryan Dwyer 9215ca0f01 Align titles to baseline 6 years ago
Ryan Dwyer 635ae9557c Second attempt at restoring focus when closing a fullscreen view 6 years ago
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace 6 years ago
Ryan Dwyer c6368febc8 Adjust container box 6 years ago
Brian Ashworth c246cf84c8 Call wlr_output_enable on enable/disable if needed 6 years ago
Ryan Dwyer dbf4aa3e33 Allow marked containers to be moved out of the scratchpad via move command 6 years ago
Ryan Dwyer 3cc7de3fb4 Fix crash when view in scratchpad becomes urgent 6 years ago
Ryan Dwyer c0da364865 Fix floating view moving to 0,0 when splitting 6 years ago
Ryan Dwyer 4e0452fce3 Fix scratchpad related crashes 6 years ago
Ryan Dwyer 93ff7879f1 Fix output position issue 6 years ago
Ryan Dwyer 26204441b4 Apply default config to output 6 years ago
Ryan Dwyer 06d9693829 Remove offset argument to container_add_sibling 6 years ago
Ryan Dwyer acc2628c79 Don't use wlr_output properties 6 years ago
Ryan Dwyer 7586f150c0 Implement type safe arguments and demote sway_container 6 years ago
sghctoma 073dcb3a86 Change _XOPEN_SOURCE defines to _POSIX_C_SOURCE 6 years ago
sghctoma df730a8891 Merge remote-tracking branch 'upstream/master' into fix-freebsd-build 6 years ago
Ryan Dwyer 6fb03817c9 Rename fowa enum and use switch in view_request_activate 6 years ago
Ryan Dwyer f057a0195e Implement focus_on_window_activation 6 years ago
sghctoma cc16948c85 Fix feature macros for FreeBSD 6 years ago
Ryan Dwyer 2438f5f050 Fix crash when reaping a workspace 6 years ago
Ryan Dwyer 126a82f14f Fix gaps issues 6 years ago
Ryan Dwyer f5b9815128 Prepare arrange code for type safe arguments 6 years ago
Drew DeVault 98ef29c228
Merge pull request from RedSoxFan/fix-floating-drag-outputs 7 years ago
Drew DeVault 82423b88b8
Merge pull request from RyanDwyer/fix-overflowing-subsurfaces 7 years ago
Brian Ashworth 11c1619f30 Stop floaters from snapping on move to new output 7 years ago
Brian Ashworth 148b113b8d Destroy empty workspaces in output_evacuate 7 years ago
Ian Fan 6ae2e3a4a8 ipc: clean-up container_create_notify function 7 years ago
Ian Fan e7c94708f2 ipc: emit window close event earlier, before destroying 7 years ago
Drew DeVault 10c2c09cf6
Merge pull request from RyanDwyer/rename-root-outputs 7 years ago
Ryan Dwyer 5dbbab7bdc Remove layout.c 7 years ago
Ryan Dwyer 8bed4be1f3 Make separate gaps functions per container type 7 years ago
Ryan Dwyer 2e7401772e Rename sway_root.outputs to sway_root.all_outputs 7 years ago
Ryan Dwyer f4bc25bcc6 Relocate container_move, container_move_to and container_get_in_direction 7 years ago
Ryan Dwyer b6058703fa Refactor destroy functions and save workspaces when there's no outputs 7 years ago
Ryan Dwyer e1d5dc0804 Translate floating containers when a workspace is moved 7 years ago
Ryan Dwyer e81c26fab9 Fix sending fullscreen event to view 7 years ago
Ryan Dwyer f129b1b89f Replace enum resize_edge with wlr_edges 7 years ago
minus 471533be0a Improve new workspace name selection 7 years ago
Ryan Dwyer 771ad7bffa Fix jumping views 7 years ago
Ryan Dwyer e1955c5c08 Fix crash when adding output 7 years ago
Ryan Dwyer a49e4b13bf Clean up tracked outputs when an output is destroyed 7 years ago
Ryan Dwyer 0f6d212629 Send output enter/leave events correctly 7 years ago
Ryan Dwyer 4afb2e3f24 Allow subsurfaces which overflow the container to be interacted with 7 years ago
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list 7 years ago
Ryan Dwyer 7f22fab389
Merge branch 'master' into commands 7 years ago
Drew DeVault d0a24465d7
Merge pull request from RyanDwyer/geometry 7 years ago
Ian Fan 1be75fe740 Fix double iterating in container_for_each_child 7 years ago
Ian Fan 23601a8771 commands: complete assign command 7 years ago
Ian Fan e81cc8a575 commands: saner workspace number handling 7 years ago
Ryan Dwyer d6cd79c342 Implement iterators per container type 7 years ago
Ryan Dwyer 16c663ed49 Rename container_sort_workspaces and container_wrap_children 7 years ago
Ryan Dwyer b0a5f3a25f Store geometry in the view and handle any floating view resizing 7 years ago
Ryan Dwyer 8af4e2e3e6 Handle xwayland views sending new sizes in their commits 7 years ago
Ryan Dwyer 982a2d0c99 Fix geometry 7 years ago
emersion b3ee9af0c8 Add view_get_geometry 7 years ago
Ryan Dwyer 6a26b499a4 Attempt to reap old tiling parent when floating a container 7 years ago
Donnie West a9433cbded
When the workspace is focused, return it instead of checking parent 7 years ago
Drew DeVault 98ed05225e
Merge pull request from RyanDwyer/cleanup-transactions 7 years ago
Ryan Dwyer 701fcafc70 Use list_find in more places and refactor/fix workspace prev_next functions 7 years ago
Ryan Dwyer c3ef36d6b5 Simplify transactions 7 years ago
minus 18e425eda6 Use assigned workspace name for output 7 years ago
Ryan Dwyer 5f3757c927 Fix container_has_ancestor crash 7 years ago
Drew DeVault 2aa6d98c5a
Merge pull request from RyanDwyer/remove-bfs 7 years ago
Ryan Dwyer 4ad1ccc9dc Remove container_for_each_descendant_bfs 7 years ago
Ryan Dwyer 31844bf42b Remove container_has_child 7 years ago
Brian Ashworth 3c26536267
Merge branch 'master' into master 7 years ago
Ryan Dwyer a0ece6f956 Rename container_at_view to surface_at_view and make it return void 7 years ago
Ryan Dwyer 1e984fec05 Fix focus when clicking floating decorations 7 years ago
Ryan Dwyer 5653fc754b Deny moving a sticky container to workspace if it's the same output 7 years ago
Ryan Dwyer a0649190de Fix edge cases when moving floating container to new workspace 7 years ago
Ryan Dwyer 36281609ea Implement move to workspace on a floating container 7 years ago
Ryan Dwyer 50f3a7ff5c Fix infinite loop when focusing sticky containers via workspace command 7 years ago
Brian Ashworth 639f3368e1
Merge branch 'master' into workspace-move-to-output 7 years ago
Ryan Dwyer f57a3919cf Move workspace moving code out of container_move_to 7 years ago
Ian Fan f7c21451df commands: fix workspace edge cases 7 years ago
Ian Fan 667b8dcb67 commands: check for special workspaces in workspace & move commands 7 years ago
Ian Fan 85ae121caa commands: complete workspace implementation 7 years ago
Ian Fan 356063b6c0 commands: fix layout implementation (also better name for previous split layout) 7 years ago
Ian Fan 69e1a421fc commands: complete move implementation 7 years ago
Mariusz Bialonczyk 776b9b7e1f Fix segv when sway is terminating 7 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c 7 years ago
Ryan Dwyer 04489ff420 Separate root-related code 7 years ago
Brian Ashworth ad2a7c2618 Check correct ws for sticky and fix floating iter 7 years ago
emersion b49904dd7e
Merge pull request from RyanDwyer/fix-inactive-fullscreen-crash 7 years ago
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container 7 years ago
Ryan Dwyer 854c5fbec8 Fix crash when fullscreen view closes on inactive workspace 7 years ago
emersion b336564511 Fix pointer events for fullscreen views 7 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups"" 7 years ago
Drew DeVault 9aa258d33a Revert "Fix popups" 7 years ago
Ryan Dwyer 9339026a31 Fix focus related crashes 7 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle 7 years ago
Drew DeVault 9564c73c0d
Merge pull request from RyanDwyer/fix-popups-v2 7 years ago
Ian Fan 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output 7 years ago
Ian Fan b2ac234569 ipc: fix workspace::focus event behaviour 7 years ago
Ian Fan e0e638281e ipc: add window::move events 7 years ago
Ian Fan 4bf253855f ipc: fix workspace::move calls argument order 7 years ago
Ian Fan 07101a5707 ipc: only emit window::create event for views 7 years ago
Ian Fan 317217f2c8 ipc: add window::mark event 7 years ago
Ian Fan 686c084cec ipc: add workspace::empty event 7 years ago
Ian Fan 4f8f363dda ipc: add window::title event 7 years ago
Ian Fan f0310933c8 ipc: add window::close event 7 years ago
Ian Fan 87ccf18964 ipc: add workspace::init event 7 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions 7 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus 7 years ago
Ryan Dwyer de86d65627 Fix popups 7 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change 7 years ago
Drew DeVault 53069f1403
Merge pull request from RyanDwyer/floating-containers 7 years ago
Ryan Dwyer 84cd22c8cb Fix crash when a deferred command destroys a workspace 7 years ago
Ryan Dwyer debb8e85b2 Fix crash when unfloating child of container into empty workspace 7 years ago
Ryan Dwyer 538e083f61 Fix focus mode_toggle from a child of a floating container 7 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container 7 years ago
Ryan Dwyer 902a1402ba Fix crash when a child of a floating container is in the scratchpad 7 years ago
Ryan Dwyer 08cfba2192 Allow containers to float 7 years ago
Mihai Coman d37c94d1b6 Preserve workspace name 7 years ago
Ryan Dwyer 6ceb1d33fd Fix assign to workspace 7 years ago
Ryan Dwyer a90f2dbde9 Refactor view_map 7 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen 7 years ago
Cédric Cabessa 445a09575c fix : "move workspace to output up" crashes 7 years ago
Pascal Pascher 384c55c0b4 more style fixes, reorder config.h include 7 years ago