2505 Commits (33433c64347eb0bfd7c1465a3b60579fa88ef724)

Author SHA1 Message Date
Ryan Dwyer af5f736277 Render containers as urgent if they have an urgent child
6 years ago
Ryan Dwyer 9ca5cb7faf Fix tab split focus bug
6 years ago
Ryan Dwyer be28c18ad5 Mark containers as urgent in IPC if they have urgent views
6 years ago
Ryan Dwyer 5f0a4bb6a4 Update workspace urgent state when views close or move workspaces
6 years ago
Ryan Dwyer 560627437b Make container_for_each_descendant_dfs descend into floating views
6 years ago
Ryan Dwyer 64e3bc3ab0 Fix crash in ipc_json_describe_view
6 years ago
Ryan Dwyer a211daf9e6 Add documentation for urgent command
6 years ago
Ryan Dwyer e3f90f00fe Implement xwayland urgency hint
6 years ago
Ryan Dwyer f86087d78f Fix urgency IPC events
6 years ago
Ryan Dwyer 315d5311b2 Implement urgency base functionality
6 years ago
Ian Fan 9559e3e2af config output: free command string if unused
6 years ago
Ian Fan 92450883d7 config: free include path on successful load
6 years ago
Ian Fan ba8981e44b bar: free old position when changing
6 years ago
Ian Fan 011d43746f Add error handling for getting config file size
6 years ago
Ian Fan e6209afcd6 Fix config buffer overflow and logic
6 years ago
Ryan Dwyer a120d4c79f Make focus part of transactions
6 years ago
Drew DeVault 53e3f35ba3
Merge pull request #2272 from RyanDwyer/simplify-transactions
6 years ago
Drew DeVault 806c06fdfb
Merge pull request #2266 from emersion/remove-orbital-screenshooter
6 years ago
Drew DeVault b1afcc69fa Add extended debugging flags
6 years ago
Ryan Dwyer 6b2dc7e63b Set signature to void
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Brian Ashworth 13c6627ddb Implement tap_button_map for input devices
6 years ago
Ryan Dwyer 0584ecec0a Force min/max size when resizing floating containers
6 years ago
Ryan Dwyer 5940682f40 Implement resize grow|shrink <direction> <amount> or <amount>
6 years ago
Ryan Dwyer 558ca9fc28 Implement resize command for floating views
6 years ago
emersion efda33b285 Simplify popup_unconstrain
6 years ago
emersion 82c978d34b Remove orbital screenshooter
6 years ago
emersion d88f1d2196 Fix output_has_opaque_lockscreen
6 years ago
Drew DeVault bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
6 years ago
Robert Kubosz f8bc928b2d
add error handling for scroll button out of range
6 years ago
Ryan Dwyer 53133fdefb
Merge branch 'master' into xwayland-floating-borders
6 years ago
Robert Kubosz 89db5b5716
expanded error detection for scroll button option
6 years ago
Drew DeVault da8149c066
Merge pull request #2253 from Hello71/issue2249
6 years ago
emersion a96f1c22fe Add xdg-positioner support
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
Alex Xu fbecfc2d35 config.c: fix current_config uninit warning (#2249)
6 years ago
Robert Kubosz 094edcbea2
rm constraint for max value of button identifier
6 years ago
Robert Kubosz 20d6c7c2e4
add paragraph to sway-input man page
6 years ago
Robert Kubosz 08edaf4e76
increase maximum value of button identifier
6 years ago
Ryan Dwyer ee0e1b170e Fix crash in seat code
6 years ago
emersion 60fdb71a1f Updates for swaywm/wlroots#1116
6 years ago
Drew DeVault 2bc18d8cf7
Merge pull request #2248 from Dudemanguy911/fix_crash_on_floating_windows
6 years ago
Robert Kubosz 41b80c28df
add scroll button option
6 years ago
dudemanguy 600c126150 fix crash on floating windows
6 years ago
Ryan Dwyer f2d1cf3ceb Implement floating_minimum_size and floating_maximum_size
6 years ago
emersion 73084c5fa6
Merge pull request #2243 from RyanDwyer/use-fullscreen-saved-buffer
6 years ago
Ryan Dwyer 3b50a2a3af Use saved buffer when fullscreen view is in a transaction
6 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
6 years ago
russ morris 6ae1004cd1 removed unnecessary parens
6 years ago
russ morris c06266e12d fix line lengths
6 years ago
russ morris b9d8ecc548 tabs instead of spaces
6 years ago
russ morris 89c25dd149 fix tabbed titlebar widths
6 years ago
Ian Fan 23c1c26c3f Add get_config message type to ipc
6 years ago
Ian Fan 5fd36164a0 Add get_binding_modes message type to ipc
6 years ago
Ryan Dwyer 56ad148403
Merge branch 'master' into fix-stacked-layout
6 years ago
Drew DeVault 6fd9a2bfd6
Merge branch 'master' into focus-mode-toggle
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Konstantin Pospelov 9dd54f934e Fix titlebar rendering for nested stacked containers
6 years ago
emersion b755639ca8
Document `focus floating|tiling`
6 years ago
emersion 48c98b676f
Implement `focus mode_toggle`
6 years ago
emersion ebcdce457a
Merge pull request #2223 from RyanDwyer/floating-move
6 years ago
Ryan Dwyer b0fc7e9850 Remove duplicate function declaration and add assertion
6 years ago
Ryan Dwyer ab8a86369c Implement some floating move commands
6 years ago
vilhalmer 4e7ef1dd39
No need to walk to workspace, recursive will
6 years ago
vilhalmer 47c20f8ea4
Regroup signal
6 years ago
vilhalmer ce626a0708
Replace empty workspace with moved workspace
6 years ago
vilhalmer 621d2666b1
Destroy empty workspace when destroying its output
6 years ago
emersion f9625d1d56
Split renderer
6 years ago
Ryan Dwyer 0046eed969 Fix titles when container titles contain UTF-8 characters
6 years ago
emersion 9a9d9116be
Make view_update_* update live props as well
6 years ago
emersion 47d56306c3
Fix xwayland floating views unclickable
6 years ago
Drew DeVault 817e847749
Merge pull request #2206 from martinetd/leaks
6 years ago
emersion b3c55dd909
Merge branch 'master' into leaks
6 years ago
Ryan Dwyer 464d4d5889 Translate surface by its geo when doing opaque box check
6 years ago
Ryan Dwyer 9480781229 Don't clear when using opaque lockscreen
6 years ago
Ryan Dwyer 3b842f4eed Detect opaque lockscreen when using a solid color
6 years ago
Ryan Dwyer f1fadef923 Use pixman_region32_contains_rectangle
6 years ago
Ryan Dwyer 839c3a5500 Use opaque region to determine if frame done should be sent
6 years ago
Ryan Dwyer 58befcf2cd Don't send frame done to surfaces behind lockscreen
6 years ago
Drew DeVault 3d2595b102
Merge branch 'master' into remove-input-fix
6 years ago
Ian Fan f63b209d51 Attach destroy handler earlier
6 years ago
Drew DeVault a06d45a14d
Merge pull request #2217 from RedSoxFan/fix-663
6 years ago
Brian Ashworth c833ae64bc Fix pointer button events for layer surfaces
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
emersion 84109431f7
Merge pull request #2185 from swaywm/update-wlroots-1076
6 years ago
Thomas Plaçais ab5c8c31a0 Escape underscore in sway-input(5) man page to avoid invalid colors
6 years ago
Dominique Martinet 7ef08ffbe6 pango/cairo: set default font map to NULL to free it
6 years ago
Dominique Martinet fe72e3b349 cmd_results_to_json: return copied string and properly free the json
6 years ago
emersion 51b215ad5c
Use wlr_surface.buffer_damage
6 years ago
Drew DeVault d43500831a
Updates per wlroots#1076
6 years ago
Dominique Martinet 9314c45c41 workspace_next_name: free targets later than these already found in order
6 years ago
Dominique Martinet 785ed4383b view_map: free criterias as the list it is
6 years ago
Dominique Martinet ffbe91c245 container_free: free formatted title
6 years ago
Dominique Martinet ffe9de6e24 ipc-server: free clients at destroy
6 years ago
Dominique Martinet 9f5d539657 config: add a couple of forgotten frees
6 years ago
Dominique Martinet 8a771785ad keyboard: free xkb keymap on destroy
6 years ago
Ryan Dwyer fc826b921f Call view_set_tiled for mapping non-floating views
6 years ago
Drew DeVault eed0b5614f
Merge pull request #2205 from RyanDwyer/fix-border-weirdness
6 years ago
Ryan Dwyer 50b401677b Fix use after free in transaction code
6 years ago
Ryan Dwyer 4cb6c368a7 Fix boolean
6 years ago
Ryan Dwyer f156a25e64 Only call view_set_tiled when switching floating mode
6 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
6 years ago
emersion 4afa18a0c0
Merge pull request #2202 from RyanDwyer/fix-focus-damage
6 years ago
Ryan Dwyer 0bd41a0dae Fix focus related damage
6 years ago
Dominique Martinet c092f1fe6a startup: move setenv WAYLAND_DISPLAY before config execs
6 years ago
emersion 8cc26130a6
Merge pull request #2194 from RyanDwyer/fix-incorrect-render
6 years ago
Ryan Dwyer 1e4807efa0 Don't return pending children in seat_get_active_current_child
6 years ago
Ryan Dwyer d467452e5e Fix damage on swaybar when view requests to exit fullscreen
6 years ago
emersion f611a4f9b1
Merge pull request #2187 from martinetd/idle-inhibit
6 years ago
Dominique Martinet 71224781c4 idle_inhibit: move server data to its own struct
6 years ago
Dominique Martinet 072b334abc idle_inhibit: stop inhibitor when views become invisible
6 years ago
Dominique Martinet e4bfb3bc98 Add idle inhibit unstable v1 support
6 years ago
Dominique Martinet 4eeca10a8a load_config: move NULL path check before first use
6 years ago
Dominique Martinet 8c526bbb03 config include: fix leak on relative include path
6 years ago
Dominique Martinet 248ea93c1a bar config: fix uninitialized accesses on init error
6 years ago
Dominique Martinet e67c8cf1cb cmd_assign: fix leak on error
6 years ago
Dominique Martinet c73c552cae bar_cmd_modifier: fix use-after-free on error
6 years ago
Dominique Martinet 6d2b82253a bar_cmd_font: fix leak of font
6 years ago
Dominique Martinet 0c6149171b read_config: fix leak on error
6 years ago
Dominique Martinet a2354d5992 cmd_background: fix leak on error
6 years ago
Dominique Martinet df494a7e51 transaction_apply: use float for quotient
6 years ago
Dominique Martinet c78ab67877 workspace_next_name: fix string length for ws_num >= 100
6 years ago
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
Drew DeVault acd79e1505 Implement pid->workspace tracking
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