1089 Commits (9bf1b7a029afe2fdb07cb2bfe35cca4ad76098f9)

Author SHA1 Message Date
Ian Fan 69e1a421fc commands: complete move implementation
6 years ago
Ryan Dwyer 30e7e0f7c7 Move workspace pid code to root.c
6 years ago
Ryan Dwyer 04489ff420 Separate root-related code
6 years ago
Brian Ashworth 36fd84cc42 Remove swaynag_clone and use memcpy
6 years ago
Brian Ashworth a7f7d4a488 Write to swaynag pipe fd directly on config errors
6 years ago
Brian Ashworth f9a6407111 Show swaynag on config errors
6 years ago
Ryan Dwyer c17f0870ef Fix crash when moving cursor over a fullscreen split container
6 years ago
emersion b336564511 Fix pointer events for fullscreen views
6 years ago
Ryan Dwyer 8392eae40f Revert "Revert "Fix popups""
6 years ago
Drew DeVault ea14ef4095
Merge pull request #2366 from RedSoxFan/nagbar
6 years ago
Ryan Dwyer 706c0fbe23
Merge branch 'master' into nagbar
6 years ago
Drew DeVault 9aa258d33a Revert "Fix popups"
6 years ago
emersion 47bf4ed0cb
Merge branch 'master' into fix-resize-wiggle
6 years ago
Brian Ashworth 4f5cf330c8 swaynag: address some more of sircmpwn's comments
6 years ago
Brian Ashworth 0ef3988438 swaynag: fix hidpi
6 years ago
Brian Ashworth e01acb6097 swaynag: allow more config options
6 years ago
Brian Ashworth a6145914c6 swaynag: refactor {sway_,}nagbar to swaynag
6 years ago
Brian Ashworth 6124d0f9a2 swaynag: split config into own file and fix optind
6 years ago
Brian Ashworth 8463a2896a swaynag: implement config file support
6 years ago
Brian Ashworth a4f7bf23b2 Address first round review for swaynag
6 years ago
Brian Ashworth 72db10c2f1 Support a detailed message in swaynagbar
6 years ago
Brian Ashworth 88bc4b528e Implements swaynagbar
6 years ago
Drew DeVault 9564c73c0d
Merge pull request #2391 from RyanDwyer/fix-popups-v2
6 years ago
Ian Fan 46cfa8ff56 ipc: remove extraneous values
6 years ago
Ian Fan 03eaf444a4 ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output
6 years ago
Ian Fan 3edaf2ce2a ipc: add tick event
6 years ago
Ian Fan 6865b8aae9 ipc: add binding event
6 years ago
Ian Fan 317217f2c8 ipc: add window::mark event
6 years ago
Ian Fan e8b179e313 ipc: add shutdown event
6 years ago
Ryan Dwyer d10ccc1eb1 Correctly track saved surfaces during multiple transactions
6 years ago
Ryan Dwyer 7a59508da4 Close popups when changing focus
6 years ago
Ryan Dwyer de86d65627 Fix popups
6 years ago
Drew DeVault cbd0c3ec40
Merge pull request #2367 from emersion/iterator-redesign
6 years ago
Drew DeVault 6c30b3fcc8
Merge pull request #2381 from frsfnrrg/key-repeat
6 years ago
Eric Engestrom 52a27f1529 delete references to swaygrab
6 years ago
Eric Engestrom c6a6faaeae util.h: add missing include
6 years ago
Brian Ashworth b8efdeae29 Fix title textures on scale change
6 years ago
frsfnrrg 8dbbfa5965 Bindings use advised keyboard repeat parameters
6 years ago
frsfnrrg e33dfbfa75 Implement key repeat for pressed key bindings
6 years ago
emersion fe0750fec1 Remove output_surface_for_each_surface from header
6 years ago
emersion 8d5cc8625c Completely switch over to new iterators
6 years ago
emersion e9d674cfd2 wip: redesign output_view_for_each_surface iterator
6 years ago
emersion a0dd977617 wip: redesign output_layer_for_each_surface iterator
6 years ago
emersion dbf6dd0dae wip: redesign output_drag_icons_for_each_surface iterator
6 years ago
emersion d2172bd331 wip: redesign output_unmanaged_for_each_surface iterator
6 years ago
Drew DeVault 1e65439a54 Add virtual keyboard protocol
6 years ago
Ryan Dwyer da2a87f6c7 When unfloating, return container to previously focused tiled container
6 years ago
Ryan Dwyer 08cfba2192 Allow containers to float
6 years ago
Ryan Dwyer 27a20a4884 Allow containers to be fullscreen
6 years ago
ProgAndy c7a3a03115 Add xkb_numlock/xkb_capslock commands (#2311)
6 years ago
ProgAndy 2166dbe2e4 Implement setting NumLock and CapsLock status
6 years ago
Drew DeVault 53dbe2da4b
Merge pull request #2353 from emersion/render-opaque-overlay
6 years ago
Drew DeVault fc718f629a
Merge pull request #2350 from ppascher/xwayland-optional
6 years ago
Pascal Pascher f95cb9a7c1 reverted includes of "sway/config.h" and replaced with "config.h" from meson build
6 years ago
Pascal Pascher 79a45d4a40 more style fixes, included "sway/config.h" where needed
6 years ago
emersion 0e79b2114c Improve rendering with a fullscreen opaque overlay surface
6 years ago
Brian Ashworth dca02944ce Implement floating_modifier <mod> [inverse|normal]
6 years ago
Pascal Pascher 2bf893248a style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
6 years ago
Pascal Pascher 24ad1c3983 Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
6 years ago
Drew DeVault 817d37c950
Merge pull request #2165 from swaywm/pid-workspaces
6 years ago
Ryan Dwyer e02a6718c2
Merge branch 'master' into mouse-bindings
6 years ago
frsfnrrg 94dd8823a0 Invoke mouse bindings
6 years ago
Brian Ashworth d56d62c1c0 Remove unneeded const
6 years ago
Brian Ashworth 863914ec95 Switch to using a function to parse booleans
6 years ago
frsfnrrg 754372c3de Parse mouse binding options
6 years ago
Drew DeVault f4b882475e Merge branch 'master' into pid-workspaces
6 years ago
Ryan Dwyer 12e90fa600 Store scratchpad list in sway_root instead of server
6 years ago
Ryan Dwyer 81e8f31cc6 Implement scratchpad
6 years ago
emersion 238c8afc74 Handle set_{title,app_id} for xdg-shell and zxdg-shell-v6
6 years ago
Ryan Dwyer 011d1ebfa4 Consider view's min/max sizes when resizing
6 years ago
Ryan Dwyer 9df660ee31 Store last button and use it when views request to move or resize
6 years ago
Ryan Dwyer 6767d8a593 Prevent re-uploading the same cursor image multiple times
6 years ago
Ryan Dwyer 0c87bff5d1 Replace static handle_end_operation with seat_end_mouse_operation
6 years ago
Ryan Dwyer ff445cc855 Implement xdg shell request_move and request_resize events
6 years ago
Ryan Dwyer 9fbe13b9be Implement floating_modifier and mouse operations for floating views
6 years ago
Brian Ashworth bc7d332109 Reset outputs on reload
6 years ago
Ryan Dwyer c2ed3d8bd6 Implement force_display_urgency_hint
6 years ago
Brian Ashworth 9605ab45f1 Fix output wildcard handling
6 years ago
minus bfcfabee2b swaybar: Fix scroll handling on workspace buttons
6 years ago
emersion d8badceb54
Merge pull request #2304 from RedSoxFan/fix-2298
6 years ago
Ryan Dwyer 63d6233fcb Allow xwayland views to become urgent when on a non-visible workspace
6 years ago
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
emersion 747725b8bb Don't unfocus when an override redirect window is mapped
6 years ago
emersion 48b911a459
Merge pull request #2281 from pvsr/X11_click
6 years ago
Ryan Dwyer 75c699db62 Implement default_floating_border command and adjust CSD behaviour
6 years ago
Peter Rice 79a998849b make hotspot callback take an x11 button id
6 years ago
Drew DeVault d6bd314dff
Merge pull request #2276 from RyanDwyer/urgency
6 years ago
Ryan Dwyer fc2484095a Implement no_focus command
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 315d5311b2 Implement urgency base functionality
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 b1afcc69fa Add extended debugging flags
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
Drew DeVault bcdf04d79c
Merge pull request #2252 from rkubosz/scroll-button-option
6 years ago
emersion 9b16227ec3 Don't disable borders for xwayland floating views
6 years ago
Robert Kubosz 41b80c28df
add scroll button option
6 years ago
Drew DeVault edfe42032c
Merge pull request #2240 from RedSoxFan/implement-1961
6 years ago
Ryan Dwyer 15dc5286e2 Move floating windows to front when focused
6 years ago
Brian Ashworth 936a920a8e Implement swaylock customization flags
6 years ago
emersion ba3511b243 Remove `clipboard` command and `get_clipboard` message
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
emersion 63b4bf5000
Update for swaywm/wlroots#1126
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
emersion ceb08b6365
swaylock: daemonize after locking
6 years ago
emersion f9625d1d56
Split renderer
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 839c3a5500 Use opaque region to determine if frame done should be sent
6 years ago
Brian Ashworth 78c08fb0a2 Implement mode --pango_markup
6 years ago
Dominique Martinet fe72e3b349 cmd_results_to_json: return copied string and properly free the json
6 years ago
Dominique Martinet b0918b1058 ipc-server: add display destroy listener and remove ipc_terminate
6 years ago
Dominique Martinet 71224781c4 idle_inhibit: move server data to its own struct
7 years ago
Dominique Martinet 072b334abc idle_inhibit: stop inhibitor when views become invisible
7 years ago
Dominique Martinet e4bfb3bc98 Add idle inhibit unstable v1 support
7 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
7 years ago
Dominique Martinet 9ea4cc13a0 sway views: add helpers to get view and layer from wlr_surface
7 years ago
Ryan Dwyer e396af853b Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Rostislav Pehlivanov e0d0e8f840 Revert "Don't unmaximize floating views"
7 years ago
Ryan Dwyer 3a6ed5110c Render saved buffers with the surface's dimensions
7 years ago
Ryan Dwyer a2fbb20a61 Merge remote-tracking branch 'upstream/master' into atomic
7 years ago
Ryan Dwyer 3c81a900b7 Add comment about usage to arrange_windows declaration
7 years ago
Ryan Dwyer d7169ee7ff Replace list_empty with a simple alternative
7 years ago
Ryan Dwyer 9652529cc1 Allow views to skip configures
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 bf38081382
Merge branch 'master' into xwayland-wants-float
7 years ago
Dominique Martinet 6856866a61 layer_shell: order destroying before sway_output
7 years ago
Ryan Dwyer a7b3f29292 Remove incorrect assertion and supporting code
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
Ryan Dwyer 289d696adc Implement transaction timings debug
7 years ago
Ryan Dwyer 1549fb719a Implement atomic layout updates for xwayland views
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
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
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
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 5c9a917df9 Restore workspaces to outputs based on priority
7 years ago
Dominique Martinet c78ce0770a swaylock: implement ^U to clear buffer
7 years ago
Brian Ashworth e072fbc6d9 Switch output storing from list_t to wl_list
7 years ago
Brian Ashworth a1b5b93d29 Store sway_outputs so that they can be reenabled
7 years ago
Brian Ashworth 5ea4a4d3ee Refactor cmd_output to use config_subcommand
7 years ago
Brian Ashworth af87c7a1af Address emersion's feedback on peek_line
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
frsfnrrg c664d780cc Comment to explain sway_shortcut_state lists
7 years ago
frsfnrrg a056419ad7 Rewrite shortcut handling code to avoid hardcoded values
7 years ago
Ryan Dwyer a2c1cb9072 Fix mpv damage issue when unfullscreening into floating
7 years ago
Ryan Dwyer 97672295ed Don't unmaximize floating views
7 years ago
Ryan Dwyer 5b1601c2e3 Don't let xwayland views set position unless unmanaged
7 years ago
Ryan Dwyer d4ed204d4d Remove container_self_or_parent_floating
7 years ago
Ryan Dwyer 70f5d6fcf3 Rename container_set_geometry_from_view
7 years ago
Ryan Dwyer e4e912ea91 Store swayc coordinates as layout-local
7 years ago
Ryan Dwyer 02de2a6f65 Rename set_maximized functions to set_tiled
7 years ago
Ryan Dwyer 13a4b0512e Fix unfullscreening a floating view
7 years ago
Ryan Dwyer aaba7642b3 Replace is_floating boolean with function
7 years ago
Ryan Dwyer 34f35f0bad Use L_FLOATING instead of reapable boolean
7 years ago
Ryan Dwyer 1f2e399ade Implement floating
7 years ago
Drew DeVault 1132efe42e Send frame done to floating views
7 years ago
Drew DeVault f3ab895916 Implement `floating enable`
7 years ago
Brian Ashworth c81d0ef1e8 Support i3's legacy force_focus_wrapping command
7 years ago
emersion 1071785f56
Merge pull request #2060 from RedSoxFan/focus-wrapping
7 years ago
Brian Ashworth 46da1dc32b Implement focus_wrapping
7 years ago
Ryan Dwyer 7c7d24600b Fix ancestor typos
7 years ago
Drew DeVault b2c0ba5b18
Merge pull request #2050 from smlx/focus-fix
7 years ago
frsfnrrg a78a5684ea Implement bindsym/bindcode --locked
7 years ago
Scott Leggett 1b8de39287 Move previous cursor_position inline.
7 years ago
Scott Leggett 4cd304e4ba Store previous position in sway_cursor.
7 years ago
Ryan Dwyer 8fda41dab5
Merge branch 'master' into cmd-swap
7 years ago
emersion 36d5d4b40f
client/pool-buffer: munmap in destroy_buffer
7 years ago
emersion cc10c7af65
swaylock: implement a proper render loop
7 years ago
Ryan Dwyer d3dd7e5bae Rename view_get_type to view_get_shell
7 years ago
Ryan Dwyer 484cc189e9 Add shell criteria token
7 years ago
Scott Leggett 06098bef98 Focus containers only on entry.
7 years ago
Brian Ashworth 569f4e0e4c Implement swap command
7 years ago
Ryan Dwyer db38b9bbf3 Clean up container title functions
7 years ago
emersion df61bfbb57
swaylock: remove unused field
7 years ago
emersion cd0fca2ebf
Merge branch 'master' into fix-swaylock-hotplugging
7 years ago
Ryan Dwyer 4de137e021 Replace empty argument with void
7 years ago
Ryan Dwyer f6c3682c05 Use constants for titlebar dimensions
7 years ago
Ryan Dwyer efc07fb3d4 Don't track damage for views on inactive tabs
7 years ago
Ryan Dwyer c08f9bf257 Implement tabbed layout
7 years ago
Brian Ashworth 82cd55a670 Fix border commands from changing focus
7 years ago
Ryan Dwyer 9d99e5c2e7 Swaylock: Allow per-output images
7 years ago
Ryan Dwyer 9fd28aea8c Rebuild textures if needed when moving a container
7 years ago
emersion b7ab7c0e66
Fix output hotplugging
7 years ago
emersion e4dbafe4d8
Fix swaylock crashing when unplugging output
7 years ago
Ryan Dwyer 0e2cc0af30 Implement show_marks
7 years ago
Brian Ashworth 0944d3fd9c Change scale from int32_t to double for pango
7 years ago
Dominique Martinet 89ae1792b5 sway: run commands without waiting for Xwayland
7 years ago
Ryan Dwyer 4d1edfcba9 Change unmark implemention to match i3's
7 years ago
Ryan Dwyer 22d38600d0 Implement marks
7 years ago
Brian Ashworth 9ba0dca7ba
Merge branch 'master' into fix-1975
7 years ago
emersion 95a10dd4f3
Kill wl_shell
7 years ago
Brian Ashworth 34b864fb17
Merge branch 'master' into fix-1975
7 years ago
Brian Ashworth 6ff7c52736 Fix titles and detect edges for hide_edge_borders
7 years ago
Ryan Dwyer bffcb496cc Revert "Revert "Merge pull request #1953 from RyanDwyer/criteria-focused""
7 years ago
Ryan Dwyer 1e9aaa54a8 Revert "Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements""
7 years ago
Drew DeVault b2dec12368
Merge pull request #1970 from emersion/xdg-shell-stable
7 years ago
emersion 88d9d43b36
Add xdg-shell stable support
7 years ago
Heghedus Razvan 789a877b37 Fix crash when using pango markup font
7 years ago
Drew DeVault 61aa0937a7
Merge pull request #1824 from snaggen/idle
7 years ago
Ryan Dwyer 90e6dfa268
Merge branch 'master' into edge-borders
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
emersion 360e63b8a7
Don't destroy view child on xdg-popup unmap
7 years ago
Brian Ashworth ec60e24f75
Merge branch 'master' into edge-borders
7 years ago
Brian Ashworth e3625d8f33 Count descendant views for hide_edge_borders smart
7 years ago
Drew DeVault 51b0b25587
Merge pull request #1959 from RyanDwyer/ipc-get-seats
7 years ago
Drew DeVault 32a572cecf Revert "Merge pull request #1943 from RyanDwyer/criteria-improvements"
7 years ago
Drew DeVault ac0e62584f Revert "Merge pull request #1953 from RyanDwyer/criteria-focused"
7 years ago
Ryan Dwyer 28eb97299e Fix conflicting IPC command type constants with i3's
7 years ago
Ryan Dwyer c72940837c Implement IPC get_seats command
7 years ago
Ryan Dwyer 94e42f9857 Implement __focused__ criteria
7 years ago
Ryan Dwyer 3b0c26d149 Overhaul criteria implementation
7 years ago
emersion bec80f1551
Damage borders when damaging view
7 years ago
Ryan Dwyer 556ff5f50e Implement pango support
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Ryan Dwyer 228c478e8d Implement title_format
7 years ago
Drew DeVault 58a033d816 Convert border_colors.text to float[4]
7 years ago
Ryan Dwyer d3d1e38c1b Change comment format
7 years ago
Ryan Dwyer 55b307cddf Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Ryan Dwyer 6ef14e99ee Restore view_update_position()
7 years ago
Ryan Dwyer abcad0ece9 Move docblock and fix indenting of switch/case.
7 years ago
Ryan Dwyer e67f354333 Implement borders
7 years ago
Ryan Dwyer 312fdf313f Remove arrange_windows()
7 years ago
Ryan Dwyer 167c2e1aa9 Refactor arrange_windows()
7 years ago
emersion ff61df17ff
Add map_from_region command
7 years ago
Ryan Dwyer ae39d7b28c Remove sway_container.workspace_layout
7 years ago
Drew DeVault c54097428a
Merge branch 'master' into criteria-commands
7 years ago
emersion aa36899d8a
Fix a bunch of swaybar memory leaks
7 years ago
Mattias Eriksson 2d884d4e4f Improved key handling in swaylock
7 years ago