2332 Commits (f4edf84b4f2f052bbdc9d23d620ceac8a7f1653a)

Author SHA1 Message Date
Dominique Martinet 9c9ee3e4ef find prev/next output/workspace: add NULL check
6 years ago
Dominique Martinet ab18740529 output commands: move !argc checks after argc gets decremented
6 years ago
Dominique Martinet 557a14a6fe config_commands_command: make alloc failure check more permanent
6 years ago
Dominique Martinet 5690bea227 input_config: free new_input_config on error
6 years ago
Dominique Martinet ebe69583c7 ipc-server: fix more use-after-frees on ipc_send_reply error
6 years ago
Dominique Martinet 0ab04b7434 ipc-server: minor code cleanup
6 years ago
Dominique Martinet 546ddbcd5b ipc-server: fix double-free on send error in ipc_send_event
6 years ago
Dominique Martinet 9c8fb7d025 invoke_swaybar: fix message length header size
6 years ago
Dominique Martinet 1b7f554474 log_kernel: s/fclose/pclose/ (for popen'd FILE)
6 years ago
emersion 7abb4d63e2
Init screencopy manager
6 years ago
Dominique Martinet ce17788533 exec_always: fix leaks
6 years ago
Dominique Martinet bc1e99305a xdg_shell: listen to fullscreen request on map
6 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
6 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Rostislav Pehlivanov 0cc24dd9c8 Fix crash with stacking layout after f42bf0ad4
6 years ago
Ryan Dwyer fc6fde7d90 Fix compile error
6 years ago
Rostislav Pehlivanov f42bf0ad4a container_at_view: don't offset the view by the window geometry
6 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
6 years ago
emersion 4de28bba68
Fix floating views not receiving frame events
6 years ago
Ryan Dwyer 96c8c02483 Fix flash of background when xwayland views are mapped
6 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions
6 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
6 years ago
Ryan Dwyer d7169ee7ff Replace list_empty with a simple alternative
6 years ago
Ryan Dwyer e8fb6b3325 Fix crash when moving last child of a container to workspace or output
6 years ago
Armin Preiml 1eede432fc fix handling key modifiers if not pressed at first
7 years ago
Armin Preiml c4b900c1e0 fix accidently removing borders on XCB_CONFIGURE_REQUEST
7 years ago
Thomas Plaçais 9a3c6d2dbe Check if command input has at least 2 arguments
7 years ago
Ryan Dwyer 9652529cc1 Allow views to skip configures
7 years ago
Ryan Dwyer e6829c5991 Move unsetting of view->surface into view_unmap
7 years ago
Ryan Dwyer 8773ed3970 Fix memleak in container_get_box
7 years ago
Ryan Dwyer be86d3aba6 Remove transaction_add_damage
7 years ago
Ryan Dwyer 61c1187685 Fix nitpicks
7 years ago
Ryan Dwyer bf38081382
Merge branch 'master' into xwayland-wants-float
7 years ago
emersion ecd748d240
Merge branch 'master' into float_xdg_shell
7 years ago
ael-code a4578815f1
cleanup output-background subcommand handling
7 years ago
ael-code 4550cb2b3e
fix memleak on background cmd error
7 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output
7 years ago
Dominique Martinet 08800c8ee2 layer_shell: cleanup output link on output destroy
7 years ago
Ryan Dwyer a7b3f29292 Remove incorrect assertion and supporting code
7 years ago
Ryan Dwyer 93696b78ec Fix crash when closing output window from outer session
7 years ago
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
7 years ago
Ryan Dwyer 0085f64ac0 Remove timer when transaction destroys
7 years ago
Ryan Dwyer e8001e6fbe Damage output when views toggle fullscreen
7 years ago
Ryan Dwyer 50190bc760 Rename view's free callback to destroy
7 years ago
Ryan Dwyer 7a922c65aa Damage output when a fullscreen view unmaps
7 years ago
Dominique Martinet c9be014557 xdg_shell: make view floating if a parent has been set
7 years ago
Ryan Dwyer beacd4d9f9 Rename progress_queue to transaction_progress_queue
7 years ago
Ryan Dwyer 9b15e81cff Fix potential crash when fullscreen view unmaps
7 years ago
Tony Crisci e9ad10c2d6 dont focus-follow-mouse when keyboard grab
7 years ago
Ryan Dwyer c371ff3de8 Implement per-configure debug timings
7 years ago
Ryan Dwyer 289d696adc Implement transaction timings debug
7 years ago
emersion eeb38d65cb
xwayland: accept configure requests from floating views
7 years ago
Ryan Dwyer a3976e2659 Fix another crash when moving out of stacks or tabs
7 years ago
Ryan Dwyer 1549fb719a Implement atomic layout updates for xwayland views
7 years ago
Ryan Dwyer b6a238c7b7 Fix crash when running move <direction> in an empty workspace
7 years ago
Ryan Dwyer b864ac0149 Fix crash when unmapping a view with reapable parents
7 years ago
Ryan Dwyer 33e03cb277 Fix crash related to stacks and tabs
7 years ago
Ryan Dwyer f08a30d6d0 Force transactions to complete in order
7 years ago
Ryan Dwyer 32b865e610 Fix crash when deleting last child in a tabbed or stacked container
7 years ago
Ryan Dwyer b11c9199a6 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 38398e2d77 Implement atomic layout updates for tree operations
7 years ago
Drew DeVault 5222e14555
Merge pull request #2155 from ael-code/fix_output_command_failure
7 years ago
ael-code ad085c1332
bugfix: avoid access after free
7 years ago
Drew DeVault e8fbda4d21
Merge pull request #2146 from tobiasblass/prepare_server_before_dropping_privileges
7 years ago
Rostislav Pehlivanov aa9f058e3e Init the dmabuf exporting protocol in wlroots
7 years ago
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
7 years ago
emersion cda66e9a26
Automatically float xwayland windows
7 years ago
Ryan Dwyer 1c89f32533 Preserve buffers during transactions
7 years ago
Ryan Dwyer 645bf446fa Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
emersion 088cae45c8 Update for swaywm/wlroots#1060
7 years ago
frsfnrrg ca061ba8bf Fix keyboard shortcut handling inconsistencies
7 years ago
frsfnrrg b23cd827cf Sort binding key lists
7 years ago
Ryan Dwyer 9e96cfd310 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Drew DeVault 867fb6aedb
Merge pull request #2124 from emersion/drag-icons
7 years ago
Nate Symer 6a910b9ba5 Implement gaps (PR #2047)
7 years ago
emersion cfd02918c0
Render drag icons
7 years ago
emersion 88cd7616db
Fix compilation errors related to disabled outputs
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Ryan Dwyer f9e6d703d2 Make main properties be the pending state
7 years ago
Ryan Dwyer 59c9488701 WIP: Atomic layout updates ground work
7 years ago
Brian Ashworth e2b2fb0a0e Switch restore workspaces to a nested for-loop
7 years ago
Brian Ashworth 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
emersion acf71fe805
Merge pull request #2119 from martinetd/gcc-strtruncation
7 years ago
Dominique Martinet 720313e185 sway/criteria: gcc string truncation warning fix
7 years ago
Dominique Martinet d26a0a1a6e sway exec command: use waitpid instead of wait
7 years ago
Brian Ashworth 212e4ef395 Remove strip quoting and fix strncpy-overlap
7 years ago
emersion 07bee8cffe
Merge pull request #2084 from RedSoxFan/runtime-var-expansion
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a0bbe67076 Address emersions comments on output re-enabling
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Brian Ashworth 82b3b587dd Remove tab/stack check for focusing after a split
7 years ago
Brian Ashworth e7261e2917 Fix focusing after splitting tabs/stacks
7 years ago
Scott Leggett 609c420501 Initialise previous cursor position.
7 years ago
Tobias Blass d6d292897f Remove suspicious unconditional return
7 years ago
Brian Ashworth f4870d5432 Fix logic issue in do_var_replacement
7 years ago
Brian Ashworth 067fe9d047 Support runtime var expansion and set at runtime
7 years ago
emersion 0f71547032
Merge pull request #2095 from emersion/fullscreen-damage-only-visible
7 years ago
emersion 6b9ffbad20
Merge pull request #2103 from RyanDwyer/focus-fixes
7 years ago
Brian Ashworth 9aaac8b8c8 Fix movement crashes/issues
7 years ago
Ryan Dwyer 1206a60977 Don't restore focus if unmapping surface wasn't focused
7 years ago
Ryan Dwyer bcdb676abb Don't set focus to NULL when clicking a surface which has no container
7 years ago
Ryan Dwyer 9253278328 Restore focus when unmapping layer shell surfaces
7 years ago
Ryan Dwyer 74799937cf Restore focus when unmapping unmanaged xwayland surfaces
7 years ago
emersion 0549fd027b
Merge pull request #2087 from RedSoxFan/output-subcommand
7 years ago
emersion 6d0ad6a1ed
Merge pull request #2099 from RyanDwyer/fix-seat-get-active-child
7 years ago
Brian Ashworth 51fa988be9 Address review comments for output subcommands
7 years ago
Brian Ashworth 5ea4a4d3ee Refactor cmd_output to use config_subcommand
7 years ago
Ryan Dwyer d02e9aa4bc Fix initial workspace orientation on a rotated output
7 years ago
Ryan Dwyer 57e78414fa Fix seat_get_active_child
7 years ago
emersion ebe0b668c9
Merge pull request #2093 from emersion/damage-debug
7 years ago
emersion 8e3d19aad2
Merge pull request #2096 from kupospelov/fix-title-update
7 years ago
Ryan Dwyer 8289e30308 Fix potential crash when destroying workspace
7 years ago
Konstantin Pospelov e6baac4297 Fix view title update order
7 years ago
emersion 55b855d867
Add SWAY_DAMAGE_DEBUG
7 years ago
emersion 34bdf25bb5
Only send frame to visible surfaces when fullscreened
7 years ago
emersion 51eee3aecc
Schedule a frame even if damage is empty
7 years ago
Dominique Martinet 71ab13f1eb sway/config: fix use-after-free for end of block
7 years ago
Drew DeVault df204b65d8
Merge pull request #2089 from emersion/send-frame-done-visible
7 years ago
emersion 65845be802
Only send frame done to visible views
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 51bb9d8573 Support braces on next line for config blocks
7 years ago
Brian Ashworth 7c810dc344 Make command block implementation generic
7 years ago
emersion 2d480e754e
Merge pull request #2080 from frsfnrrg/keyboard-remodeling
7 years ago
Ryan Dwyer 3f1cfd547e Fix top border when a view is initially floating
7 years ago
frsfnrrg 78b7b46895 Style fix, redundant entry removal, fix extra keysym delete
7 years ago
frsfnrrg 480f0c593c Rename update_shortcut_model to update_shortcut_state
7 years ago
frsfnrrg 83d559dd03 Rename check_shortcut_model to get_active_binding
7 years ago
frsfnrrg c53e4e6cde Style fixed for keyboard.c
7 years ago
frsfnrrg eb00edc6e2 Style fixes for bind.c
7 years ago
frsfnrrg f2fe93d171 Remove almost-always redundant loop in key handling
7 years ago
frsfnrrg 705230a26c Fix binding bindcode flag initialization
7 years ago
frsfnrrg a056419ad7 Rewrite shortcut handling code to avoid hardcoded values
7 years ago
frsfnrrg f5ed65e633 Use XKB keycode numbering for bindcode
7 years ago
frsfnrrg d77681ea3d Share common code between bindsym and bindcode commands
7 years ago
Drew DeVault 96446fdbf7
Merge pull request #2027 from RyanDwyer/implement-floating
7 years ago
Brian Ashworth edf37f27e1 Fix cmd_workspace crash when a surface has focus
7 years ago
Ryan Dwyer 70c2c50445 Fix changing borders on floating views
7 years ago
Ryan Dwyer d466b8fa7b Don't auto float xdg views if their dimensions are not set
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer c9e3a313b4 Fix fullscreen position of xwayland views
7 years ago
Ryan Dwyer 00cac22038 Fix crash when using multiple outputs
7 years ago
Drew DeVault e605dc43bb Fix mouse warping interaction with layout coords
7 years ago
Ryan Dwyer c9f8d35ca9 Consider floating views when calculating title height
7 years ago
Ryan Dwyer 9119f87655 Fix floating position when view is floated when mapped
7 years ago
Ryan Dwyer f7cadf2333 Adjust move command to account for changed coordinate system
7 years ago
Ryan Dwyer f24087d104 Fix fullscreen position
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer 40af5d81a1 Fix getting adjacent output
7 years ago
Ryan Dwyer becceafa7f Remove unfinished wants_floating implementation for xwayland
7 years ago
Ryan Dwyer 5b1601c2e3 Don't let xwayland views set position unless unmanaged
7 years ago