1278 Commits (d2cab83833691fdde1fbb5b2e4fb0a9786e39e47)

Author SHA1 Message Date
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
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
Drew DeVault acd79e1505 Implement pid->workspace tracking
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 e0d0e8f840 Revert "Don't unmaximize floating views"
6 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
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
Tony Crisci a7d49da239 separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci 5151502298 basic focus overhaul
7 years ago
Drew DeVault b28602aa74 Implement workspaces
7 years ago
Drew DeVault 8231f99c12 Remove include/sway/old/
7 years ago
Drew DeVault a686fb07ae Execute pending commands when Xwayland is ready
7 years ago
Dominique Martinet 5766f426aa config reload: destroy old seat when removed from config
7 years ago
emersion 0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
7 years ago
Tony Crisci 5505d84ac2 criteria cleanup
7 years ago
Tony Crisci 0e3eae4baa view interface
7 years ago
Tony Crisci 6a1d71b8b8 basic command criteria
7 years ago
Tony Crisci c353e01c85 add kill command
7 years ago
Tony Crisci cc3c713889 seat config handler context
7 years ago
Tony Crisci 9e0595f26b input config handler context
7 years ago
Tony Crisci 9f54cd8935 copy config references for input and seat
7 years ago
Tony Crisci 83ddd2d9db render override redirect
7 years ago
Dominique Martinet d4ddfec32e common/log: finish removing most log functions
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet c83900593d config: add 'set' command
7 years ago
Drew DeVault 91313d3847
Merge pull request #1539 from acrisci/bindings
7 years ago
Tony Crisci b01a53abfb Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci 50e791cadb binding release
7 years ago
emersion ead3f1e676
Allow to configure outputs by their identifier
7 years ago
emersion 21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci eea80e7276 keyboard translate keysyms
7 years ago
Tony Crisci ba69f06695 binding config
7 years ago
Tony Crisci f2985000f3 ipc get_inputs
7 years ago
Tony Crisci a949d7de5a Merge branch 'wlroots' into feature/input
7 years ago
Drew DeVault eb4f66f785
Merge pull request #1526 from emersion/fractional-output-scale
7 years ago
emersion c815d6d1a9
Add support for fractional output scale
7 years ago
emersion 4e2ab53119
Add IPC get_outputs
7 years ago
Tony Crisci 88bcd43ebf seat fallback config
7 years ago
Tony Crisci 0256cd1473 fix keyboard hotplugging
7 years ago
Tony Crisci f16aa3c0ad rename config apply cmds
7 years ago
Tony Crisci d3d3604760 fix header includes
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 92fef27eaa basic configuration
7 years ago
emersion a4619e98c4
Update output containers on output layout change
7 years ago
emersion d293c42942
Update output container box in event handler
7 years ago
emersion c7abb77f22
Listen to output layout change
7 years ago
emersion f3d880b0ec
Add scale and transform events to sway_output
7 years ago
Tony Crisci c173d30b92 seat configuration
7 years ago
Tony Crisci 163edc5a90 sway input device
7 years ago
Tony Crisci 462a451328 input config
7 years ago
Tony Crisci 9ae906cd37 sway pointer
7 years ago
Tony Crisci 4d449743c5 keyboard remove
7 years ago
Tony Crisci 609f63934a basic keyboard
7 years ago
Tony Crisci 21626e8153 seat focus on button press
7 years ago
Tony Crisci 0fdecb4d3a Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci e69b052a6d working pointer motion
7 years ago
Tony Crisci 7c67bea942 sway xcursor manager
7 years ago
Tony Crisci d76e745b73 input include directory
7 years ago
Tony Crisci ec7fc42a00 sway cursor
7 years ago
Tony Crisci f6f63f60d6 basic input manager and seat
7 years ago
Tony Crisci 21ce20885a rename input to input-manager
7 years ago
emersion 8764dc26c6
Add new_output_config, update root container size on output hotplug
7 years ago
emersion c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
Tony Crisci 338a0399f8 input skeleton
7 years ago
Tony Crisci 47f268d8fa view activate
7 years ago
emersion 68ae989cee
Init, merge output config params, use wlr_output_layout
7 years ago
emersion aaae59026f
Add output config
7 years ago
Drew DeVault 3fe64482bb
Merge pull request #1498 from emersion/config
7 years ago
emersion 7e81d304a3
Remove wlc includes
7 years ago
Tony Crisci 8bdf3b1b02 view set position
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
Tony Crisci 0896b68675 Merge branch 'wlroots' into feature/xwayland
7 years ago
Tony Crisci 1870f116ba xwayland shell
7 years ago
Tony Crisci 9afcfd44c4 wl-shell: class instead of app_id
7 years ago
Tony Crisci 823f6ee122 Merge branch 'wlroots' into feature/wl-shell
7 years ago
Tony Crisci 8239067da4 basic wl-shell
7 years ago
Tony Crisci 802e7392f8 use "size" instead of "dimensions"
7 years ago
Tony Crisci 59db38ce17 sway wl_shell
7 years ago
Tony Crisci 421f49fe03 basic get_tree
7 years ago
Drew DeVault 8caabe59c2 Handle view destruction properly
7 years ago
Drew DeVault a57d462926 Fix rendering issues, wire up some xdg listeners
7 years ago
Drew DeVault ce1936bc65 Arrange windows on desktop
7 years ago
Drew DeVault 289ba64bde Remove IPC_GET_PIXELS
7 years ago
Drew DeVault 7753a0ec75 Wire up IPC server
7 years ago
Drew DeVault d7d21bb0f8 Add initial command subsystem (untested)
7 years ago
Drew DeVault 4ca1e77fdb Add views to tree and render them
7 years ago
Drew DeVault aeda2e077f Add workspace to outputs
7 years ago
Dominique Martinet b8f8de27b8 wlr_data_device header update
7 years ago
Drew DeVault db4fb1c85c Add outputs to the tree
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 0c8491f7d0 Initial (awful) pass on xdg shell support
7 years ago
Drew DeVault 1efd5f819f Wire up output frame loop
7 years ago
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree
7 years ago
Drew DeVault 0f45fad18c Establish sway input submodule
7 years ago
Drew DeVault c3457de28a Fix build yml files
7 years ago
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop
7 years ago
Adam Mizerski 501c788f5f Fix init_tray function declaration
7 years ago
Drew DeVault 6d83a59b46 Merge pull request #1263 from nyorain/master
7 years ago
akokshar@redhat.com 65022e1cbf click_events as documented at https://i3wm.org/docs/i3bar-protocol.html
7 years ago
Calvin Lee 23f11d7c45 Allow swaylock indicator size to be configurable
7 years ago
Calvin Lee 62223e8fbb Don't trust SNI names, fixes #1274
7 years ago
Scott Anderson c29e5bbde8 Use WLC v2 pointer interface
7 years ago
nyorain c0f2acce4e Rework get_clipboard implementation
7 years ago
nyorain 02c75ebe37 Implement ipc get_clipboard
7 years ago
nyorain 60fa626116 Add the 'clipboard' command to set the clipboard
8 years ago
Drew DeVault 298f56353e Merge branch 'master' into server-decoration
8 years ago
Calvin Lee 33fdae2001 Remove Xembed Support
8 years ago
Calvin Lee 1451ee8fd1 Reorganize Tray Code
8 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
Drew DeVault a5c07dde6a Implement KDE's server-side decoration protocol
8 years ago
Drew DeVault 51143a75af Implement no_focus
8 years ago
Jerzi Kaminsky 8ecb490679 Make sway_abort() report location
8 years ago
Jerzi Kaminsky c9694ee63d Add resolve_path() to utils
8 years ago
Jerzi Kaminsky bfb99235e3 Move get_feature_policy to sway/security.c
8 years ago
Jerzi Kaminsky cf5e764c7f Disambiguate get_*_policy() and get_*_policy_mask()
8 years ago
Jerzi Kaminsky 709b53bd43 Fix location reported by sway_assert
8 years ago
Jerzi Kaminsky eb3b1ec5f1 Fix variadic forwarding in sway_assert
8 years ago
Drew DeVault 5d3a02a7c6 Merge branch 'master' into pretty-print-swaymsg
8 years ago
Calvin Lee 069d37f987 Improve criteria handling
8 years ago
Calvin Lee 2445d27960 Impliment i3-style marks
8 years ago
Drew DeVault 60ce81e06a Add pretty printing to swaymsg
8 years ago
Zandr Martin 956eb6d714
wl_poitner -> wl_pointer
8 years ago
Sebastian Noack d90f97b3d4 Removed superfluous include, causing failures if WLC headers aren't installed globally
8 years ago
Zandr Martin b507462d1c
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
8 years ago
Drew DeVault d5c338d9ee Correct indentation
8 years ago
Zandr Martin 18450dd16a
deprecate new_window and new_float commands
8 years ago
Calvin Lee b35782bcad i3 feature support: Moving flotaing containers
8 years ago
Drew DeVault 6927682303 Merge branch 'master' into swaylock_colors
8 years ago
Calvin Lee 46bd2bb5df Documentation and style fixes for swaylock
8 years ago
Calvin Lee 34e2c70abc Feature for #1078: Configurable swaylock colors
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Drew DeVault eabfb6c559 Add * policies and fix bug
8 years ago
Drew DeVault b10721b89e Add initial support code for new IPC security
8 years ago
Mykyta Holubakha e714fbcbec Add window instance support
8 years ago
willakat 4c06a10004 Merge branch 'master' into master
8 years ago
Daniel Kessler eda4bad725 Add output wrapping
8 years ago
Frantisek Fladung c04819e8c0 Implement hide_edge_borders smart (like in i3 4.13)
8 years ago
wil 1f47c58d63 simplification of apply_auto_layout
8 years ago
wil bd415029ba Moved auto_* layout functions from resize.c to layout.c
8 years ago
wil 704b2db050 Merge branch 'master' of https://github.com/willakat/sway
8 years ago
wil 97f70987d7 [fix] cleanups suggested by Sway community
8 years ago
wil a62048f15d changed "layout promote" command to "move first"
8 years ago
Drew DeVault c01b898398 Fix inline is_auto_layout
8 years ago
wil 1b87193c3d Added "layout promote" command.
8 years ago
wil a0aa8d9780 cleanup in auto layouts
8 years ago
wil 0ff9fe9a7a introduce next/prev as a direction for focus/move commands.
8 years ago
wil 97f7d47413 Added Awesome/Monad type "auto" layouts
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault ad7f68585b Always log filename and line number
8 years ago
D.B 35b8d185ac fix layout switching (was broken because of workspace_layout)
8 years ago
D.B 6fb4b6737a add workspace_layout to container
8 years ago
Drew DeVault d353da248b Add ipc connection feature policy controls
8 years ago
Drew DeVault 62dad7148f Enforce IPC security policy
8 years ago
Drew DeVault c8dc4925d1 Add IPC security policy command handlers
8 years ago
Drew DeVault e9e1a6a409 Add IPC policy to config
8 years ago
Drew DeVault 39cf9a82f7 Enforce command policies
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands
8 years ago
Drew DeVault 2675293200 Implement policy lookups
8 years ago
Drew DeVault 44cc0ef125 Add config related code and initial headers
8 years ago
D.B 58eb7ac19f change bar colors from char[10] to *char
8 years ago
D.B ad4d21d60b add bar colours for focused_(workspace|statusline|separator)
8 years ago
D.B 39ee0ec552 use urgent_ws color in swaybar if binding_mode is undefined
8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
Drew DeVault 4cba91803e Revert "Fixes dealing with workspace_layout and related bugs [rfc]"
8 years ago
D.B 571321a1d8 add workspace_layout, ensure ws is always L_HORIZ
8 years ago
D.B d3f5ac8cbb add force_focus_wrapping option
8 years ago
Nicolas Cornu 37065cd0c4 add click on title_bar to focus a container
8 years ago
Zandr Martin 7d947fdb95
add unique IDs to containers
8 years ago
Zandr Martin 0516dba3f6
implement "focused container" feature for swaygrab
8 years ago
Zandr Martin e18b7cdfa9
add global `current_focus` pointer
8 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c
8 years ago
Drew DeVault af44154119 Fix constant scale factor in font code
8 years ago
Drew DeVault b2226ac655 Add client support for HiDPI
8 years ago
Drew DeVault 61184e3208 Initial testing on hidpi clients
8 years ago
Zandr Martin 79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
8 years ago
Zandr Martin b374c35758
refactor commands.c
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Tony Crisci 81eb9ea12c Simplify focus setting
8 years ago
Tony Crisci 2f65100bee Remove dead global locked_view_focus
8 years ago
Tony Crisci b39249508f Refactor functions to update container borders
8 years ago
Tony Crisci f78d07d39b Implement focus handling for containers
8 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
8 years ago
D.B 8d0048c8d5 properly hide top border inside tabbed/stacked
8 years ago
Drew DeVault 11e7ca044c Update hidpi support to latest wlc API
8 years ago
Drew DeVault 6ea02f3064 Initial pass on HiDPI support
8 years ago
Tony Crisci 88b7cbe314 Implement `focus child` command
8 years ago
Mykyta Holubakha a2bc6f3bfd Arrange backgrounds only when required
8 years ago
Mykyta Holubakha 2029fef6b8 More progress on window events
8 years ago
Mykyta Holubakha 976e48d79f Initial work on window events
8 years ago
Mykyta Holubakha 0b5391ed77 Properly construct event bitmasks
8 years ago
Drew DeVault 6d971af5c3 Turn swaybg into a shell surface
8 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
8 years ago
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
8 years ago
Drew DeVault 147a88260a Fix #753
8 years ago
David Eklov c0b7610c26 Enable windows to register to get notified when the mouse wheel is scrolled
8 years ago
David Eklov 250ddc66c6 Rename pointer_input::notify to indicate that is called on button clicks
8 years ago
David Eklov a0c8799c80 Compute what workspace button is clicked
8 years ago
David Eklov 679c7b397c Use int instead of wl_fixed_t for mouse coordinates
8 years ago
David Eklov c805e42635 Extract workspace size computation from render_workspace_button()
8 years ago
David Eklov 5c4f52f953 Set panels' geometries correctly and don't render them explicitly
8 years ago
David Eklov 4bb45abc46 Don't treat backgrounds as shell surfaces
8 years ago
Mykyta Holubakha c503bf1342 Suspend destruction of wss when creating views
8 years ago
D.B ee67cd0ba1 Fix tabbed/stacked corner case #742
9 years ago
David Eklov b9d8cbabdd Fix formatting guide violations (spaces instead of tabs)
9 years ago
David Eklov c8a64305fd Enable windows to register to get notified of pointer button events
9 years ago
David Eklov d9bcea381a Fix formatting guide violations (spaces instead of tabs)
9 years ago
David Eklov bb35960e65 Move code to make a window a shell surface into seperate function
9 years ago
David Eklov 51204b33c1 Enable backgrounds and panels to be shell surfaces
9 years ago
Zandr Martin e07b8c8d7c Merge branch 'master' into get-tree-command
9 years ago
Zandr Martin 15a324b0d3
implement `get_tree` command
9 years ago
Zandr Martin a7b94f1324
typo in focus.h
9 years ago
Zandr Martin d5e4fff345
resize command updates (#713)
9 years ago
David Eklov 26842ff383 Add get_log_level() to encapsulate v (current log level)
9 years ago
Zandr Martin 889618d3ee
implement resize command for absolute dimensions
9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin beaa03344e
clean up pid/workspace stuff
9 years ago
Zandr Martin 03d79b41c7
semi-working (only non-client/server wayland apps)
9 years ago
Zandr Martin 0f1859ed25 messy, unfinished version
9 years ago
Zandr Martin 9ccc92705e implement stable sort for lists
9 years ago
Denis Doria 009eaccd42 Clean up not used variables
9 years ago
Denis Doria 0ad7857f90 Included option floating_minimum_size
9 years ago
Denis Doria f1d5b89d3e Initial work for floating view with sane values
9 years ago
Zandr Martin c6c3a8e758 Implement sort_workspaces() function for outputs.
9 years ago
Tomáš Čech eda741d177 Match definition with declaration
9 years ago
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways
9 years ago
Mykyta Holubakha 0c495eecde Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
9 years ago
Mykyta Holubakha 0423c41a0f Implemented configurable floating scroll behavior
9 years ago
Eric Engestrom cc9d1cacbb common: refactor sway_log()
9 years ago
Jasen Borisov de007c9b58 Add input cmd for setting pointer accel profile.
9 years ago
Mikkel Oscar Lyderik ddd5b69b99 border: clear buffer on fullscreen views
9 years ago
Mikkel Oscar Lyderik 856ac7d5cc Remove unused function
9 years ago
Mikkel Oscar Lyderik 3e1f78ab26 Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik e226b20bd8 Reapply prev layout when exiting tabbed/stacked
9 years ago
Mikkel Oscar Lyderik d26658fb35 Correctly determine default layout
9 years ago
Mikkel Oscar Lyderik 8d700fe008 Fix problems with floating windows
9 years ago
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Drew DeVault e5d2efbfc9 Style issue
9 years ago
Drew DeVault 84fae94ab9 Flesh out pango markup implementation
9 years ago
Eric Engestrom 3e8081514d Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik 7be476c115 Add cmds new_window and new_float
9 years ago
Drew DeVault a12850444d New feature: adjust gaps with floating_mod+scroll
9 years ago
Mikkel Oscar Lyderik 7878de5ccc Mark focused view focus_inactive on unfocused output
9 years ago
Mikkel Oscar Lyderik 5a13cb0ed1 Implement borders
9 years ago
Mikkel Oscar Lyderik 3b05f92f76 Add border <none|normal|toggle|pixel> config
9 years ago
Mikkel Oscar Lyderik 86ea79ea6d Implement parsing of hide_edge_borders
9 years ago
Mikkel Oscar Lyderik cefcce48aa Make client/pango.h not depend on client/window.h
9 years ago
Mikkel Oscar Lyderik e2774aee3c Add default border colors
9 years ago
Drew DeVault b903f7f655 Implement some more on borders
9 years ago
Drew DeVault 4611bba3db Initial setup of window border rendering
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Kevin Hamacher fb6dcce2ad Add graphical feedback to swaylock (#526)
9 years ago
Drew DeVault 5c85c018b4 Update to new WLC API
9 years ago
Mikkel Oscar Lyderik 2935e24cf5 Implement 'smart_gaps' feature from i3-gaps
9 years ago
Mikkel Oscar Lyderik f63512480c Remove unused panel_size (and fix rearrange)
9 years ago