928 Commits (99631c505097cd5b7c13b5f89711e089435cb0da)

Author SHA1 Message Date
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
Ryan Dwyer dfc26c664f Update wording about unmanaged/unmapped views
7 years ago
Ryan Dwyer d956286b92 Implement rename workspace command
7 years ago
emersion 4cf77e1de4
Default to current time when triggering cursor events
7 years ago
Drew DeVault 21eb63cc9e
Merge branch 'master' into fullscreen
7 years ago
Ryan Dwyer 5b30391383 Make key repeat configurable
7 years ago
Ryan Dwyer 72beae209b Fullscreen fixes.
7 years ago
Ryan Dwyer c685ef081f Create sway_workspace struct.
7 years ago
Ryan Dwyer bfd5834f4c Feedback for fullscreen.
7 years ago
Ryan Dwyer 52420cc24d Implement fullscreen.
7 years ago
Geoff Greer ad6aa21c43 swaylock: Securely zero-out password.
7 years ago
Danny Bautista c355d680e9 Clean up cursor simulation code.
7 years ago
Danny Bautista 1edb2bd892 Implement cursor event simulation with sway commands.
7 years ago
Drew DeVault 07b6be6214
Merge pull request #1769 from acrisci/focus-inactive-fixes
7 years ago
Tony Crisci e7771c507a 80char
7 years ago
Drew DeVault 0e3ddf255e Add input "identifier" map_to_output "identifier"
7 years ago
Tony Crisci ae78f6fb93 Merge branch 'wlroots' into focus-inactive-fixes
7 years ago
Drew DeVault 9c5a88a7bd Fix cursor motion issues
7 years ago
Drew DeVault 9114d3b84c Implement tablet tool support
7 years ago
Tony Crisci de811823b6 seat focus inactive children foreach
7 years ago
Tony Crisci c0f9ee7bd1 seat get focus inactive view
7 years ago
emersion 2b357af7ee
Give keyboard focus to unmanaged xwayland surfaces
7 years ago
Drew DeVault c47b4d4edb
Merge pull request #1756 from emersion/output-damage
7 years ago
Drew DeVault f5a9bd5cb7
Merge pull request #1700 from swaywm/move-cmd-full
7 years ago
Drew DeVault 640232eb22
Revert "Break everything^W^WUse wlr_box for sway_container"
7 years ago
Drew DeVault 764489e737 Break everything^W^WUse wlr_box for sway_container
7 years ago
Drew DeVault 603e0e42c5 Add debug tree view
7 years ago
emersion 516f5454ad
Simplify damage tracking functions, use them in layer shell
7 years ago
emersion 290c916290
Send surface enter/leave events to view children
7 years ago
Drew DeVault 57954a2b24 Implement move [left|right|up|down]
7 years ago
emersion 88e3e5ea5d
Fix wl_output enter/leave events
7 years ago
emersion c2b1beef15
Remove L_TYPES
7 years ago
Drew DeVault f63d9417cd
Merge pull request #1743 from emersion/subsurface-damage-tracking
7 years ago
emersion 641807d920
Handle unmanaged surfaces motion
7 years ago
emersion d65d001aa5
Fix desktop_damage_whole_surface
7 years ago
emersion 076bedb85e
Add container_damage_whole
7 years ago
emersion 1c91d0c10f
Add damage tracking for xwayland unmanaged surfaces
7 years ago
emersion 07f3bb3ad1
Handle xwayland configure requests for unmanaged surfaces
7 years ago
emersion 7ce1038478
Fix xwayland unmanaged surfaces
7 years ago
emersion f5e5b1819b
Track damage of xdg-shell-v6 popups
7 years ago
Drew DeVault f242362e7e Handle output removal on swaybar
7 years ago
emersion 45f93e1650
Accumulate damage from subsurfaces
7 years ago
emersion dcd15a2d3d
Implement shell views
7 years ago
Drew DeVault f77986338f Implement resize command
7 years ago
emersion 8eff00f723 Remove unused SWAY_VIEW_TYPES
7 years ago
emersion 679c51e421 Remove unused sway_view.unmanaged_link
7 years ago
Tony Crisci fc9398a42e Implement opacity command
7 years ago
Drew DeVault d2d050d59c Address review feedback
7 years ago
Drew DeVault 46b388995d Add hidpi support to swaylock
7 years ago
Drew DeVault b7e7794912 Implement input-inhibit in sway, swaylock
7 years ago
Drew DeVault 06fbd51ff5 Add input inhibitor to input manager
7 years ago
Drew DeVault d053acbed6 R E N D E R I N G
7 years ago
Drew DeVault 066143adef Add password buffer, refactor rendering/surfaces
7 years ago
Drew DeVault 1008d4cc91 Split seat code into its own file
7 years ago
Drew DeVault b32bf595ae Initial swaylock port
7 years ago
Drew DeVault a28730edee Move swaybg background rendering into common/
7 years ago
Tony Crisci 741e3959e3 Merge branch 'wlroots' into split-containers2
7 years ago
Drew DeVault 2605950769 Add hidpi support to swaybar
7 years ago
Tony Crisci fa004dd0d7 move output create to its own file
7 years ago
Tony Crisci a001890fb8 move workspace create to workspace.c
7 years ago
Tony Crisci eca4468c2c fix old todos
7 years ago
Tony Crisci 9b567fc37e clean up container_get_default_layout
7 years ago
Tony Crisci 065887bb7b move container_set_layout to layout.h
7 years ago
Tony Crisci fcbcbf34ad make container_finish private
7 years ago
Tony Crisci 5f4761c4f4 unify workspace create functions
7 years ago
Tony Crisci 09d448ea2d unify container destroy functions
7 years ago
Tony Crisci b4c5f79725 move view and workspace destructors to container.c
7 years ago
Tony Crisci 2992b72d61 change reap container approach
7 years ago
Drew DeVault 56078edd65 Give exclusive focus to layers above shell layer
7 years ago
Tony Crisci 2c165e1288 fix more close segfaults
7 years ago
Tony Crisci a89096278b Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci d434da5632 Merge branch 'wlroots' into split-containers
7 years ago
emersion a4a241697a
Merge branch 'wlroots' into view-redesign
7 years ago
emersion 0c0cc79282
Merge pull request #1699 from acrisci/seat-fixes
7 years ago
emersion 2f64ce86c4
Xwayland unmanaged views aren't views anymore
7 years ago
Drew DeVault 4134407fa9
Merge pull request #1690 from swaywm/i3bar-json
7 years ago
Tony Crisci 2187684bd0 Merge branch 'wlroots' into split-containers
7 years ago
Tony Crisci 5e024278a6 Merge branch 'wlroots' into seat-fixes
7 years ago
Tony Crisci 22287b42bf dont copy input config
7 years ago
Tony Crisci 35445b40a2 remove unused attachment config
7 years ago
Drew DeVault b2d871cfe2 Partially implement move command
7 years ago
Drew DeVault 0cbd2a4f49 Send click events for i3bar blocks
7 years ago
Drew DeVault 333dbcbe72 Render i3bar blocks
7 years ago
Drew DeVault ee85c91831 Demarcate i3bar JSON into individual updates
7 years ago
emersion 61fabede14
Address review comments
7 years ago
Tony Crisci 53bb7ea996 dont copy seat config on the seat
7 years ago
Tony Crisci 0828c77251 rename input-manager functions
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Tony Crisci 81556f4b2a add docstrings and todos
7 years ago
emersion 1d68f9ecca
Add sway_view_impl
7 years ago
emersion b2c2ee693b
Introduce common functions to create, map, unmap, destroy views
7 years ago
Tony Crisci 6f7b33e691 handle container destroy in the seat
7 years ago
Tony Crisci 7706d83160 basic split containers
7 years ago
Drew DeVault f2332dc75c Address review feedback
7 years ago
Drew DeVault 9b38ef950f Implement focus_follows_mouse
7 years ago
Drew DeVault 6a1a94b87c
Merge pull request #1678 from emersion/xwayland-xcursor
7 years ago
emersion b237fa0b22
Set xwayland cursor
7 years ago
Drew DeVault 2a5108a278 Implement workspace switch on click
7 years ago
Drew DeVault ae14dfc7ae Implement scroll wheel workspace switching
7 years ago
Drew DeVault 8d1425bde9 Initialize seat pointer in swaybar
7 years ago
emersion 9665642765
Merge branch 'wlroots' into client-cursors
7 years ago
emersion 139f80b0f0
Handle map/unmap events in xdg-shell-v6
7 years ago
emersion a776ecbb86
Add lite damage tracking
7 years ago
Tony Crisci 7e0d430a0c
Merge branch 'wlroots' into wlroots-xwayland-map
7 years ago
Drew DeVault 49379dd0fc Fix workspace deletion edge cases
7 years ago
emersion cf09ea184b
Use the new map/unmap events for xwayland views
7 years ago
emersion 1592543fd6
Merge pull request #1659 from swaywm/default-orientation
7 years ago
Drew DeVault b6b674fd76
Merge pull request #1657 from emersion/render-fixes
7 years ago
emersion 6c9d67b105
Handle set_cursor requests from clients
7 years ago
Drew DeVault 01af343912 Destroy empty workspaces when moving away
7 years ago
Drew DeVault 69eb021767 Add default_orientation command
7 years ago
emersion 981827ca42
Cleanup and remove global renderer reference
7 years ago
Drew DeVault 2a90d26ebe Fix issues with swaybar on DRM
7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
7 years ago
Tony Crisci 8f490d7d2d Fix oversights from previous pull request
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci 2778edef97 arrange windows
7 years ago
Tony Crisci 92c58b1e63 rename container_for_each_descendent
7 years ago
Drew DeVault 8efee109ad Implement modes
7 years ago
Drew DeVault 2719ddfe5e Spawn swaybars when outputs are added
7 years ago
Drew DeVault 5c9cdbcdd2 Add swaybg_command
7 years ago
Drew DeVault 569b2bfd5d Move bar config into its own file
7 years ago
Drew DeVault bf7a4cd0eb Add bar configuration commands
7 years ago
Drew DeVault 6836074fed Implement enough IPC for swaybar to work
7 years ago
Drew DeVault 0d0ab7c5ce Implement status line
7 years ago
Drew DeVault a76829f375 Some layer shell fixes
7 years ago
Drew DeVault 1e8faeec02 Pixel-perfect rendering
7 years ago
Drew DeVault 86ba0fc15d Re-render bar on IPC updates
7 years ago
Drew DeVault 3399ad9840 Round up workspaces on each output
7 years ago
Drew DeVault e5e8094dc3 Only utilize the configured outputs
7 years ago
Drew DeVault 5c9ad035db Wire up basic IPC support
7 years ago
Drew DeVault cab1352801 Start port of swaybar to layer shell
7 years ago
Tony Crisci 4c394a0e9e address feedback
7 years ago
Tony Crisci 62d1b4cb96 fix container_get_in_direction name
7 years ago
Tony Crisci eca029f218 more renaming things
7 years ago
Tony Crisci b90099b4b7 rename container functions
7 years ago
Tony Crisci 83d09cf594 remove swayc_t typedef
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Drew DeVault 8d6bce02af Address review feedback
7 years ago
Drew DeVault 68cfa7ef67 Render layer surfaces and respect exclusive zone
7 years ago
Drew DeVault 0c8a64942e Add initial layer shell skeleton
7 years ago
Drew DeVault d39bda76c4 Address review comments
7 years ago
Drew DeVault e9922ec524 Remove obsolete client code
7 years ago
Drew DeVault 632bb948b7 Add solid-color rendering to swaybg
7 years ago
emersion 01beee5826
Update wlroots API
7 years ago
Tony Crisci 02804584e5 ipc new window event
7 years ago
Drew DeVault 8ad26c8afd Send surface enter/leave events
7 years ago
Tony Crisci ac8269d536 take seat param for handle_command and rename
7 years ago
Tony Crisci 6becfc1431 update log.h for latest wlr
7 years ago
Tony Crisci 66d1e0b313 basic layout command
7 years ago
Tony Crisci 4b3aa59b8b rename new_input listener on input-manager
7 years ago
Tony Crisci 316effd7b1 make handle_output_destroy() static
7 years ago
Tony Crisci 66a975038c add doc to sway_seat_get_focus_inactive()
7 years ago
Tony Crisci f0ca2cb5c3 use quotes for container include
7 years ago
Tony Crisci 083e11ac7c fix build for latest api
7 years ago
Tony Crisci 7dfbf06de9 output destroy
7 years ago
Tony Crisci 06c71f115b input device destroy
7 years ago
Tony Crisci 946d9459c5 get swayc in direction
7 years ago
Tony Crisci 93084c9cf8 remove old focus member
7 years ago
Tony Crisci 145b4fdf58 use bfs iterator to collect focus stack
7 years ago
Tony Crisci bfd2e85364 refactor workspace.h
7 years ago