1066 Commits (eda3bfeed5097c71634332bfe998188b028abf02)

Author SHA1 Message Date
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
Mikkel Oscar Lyderik 8ddafeeaae Fix assigning workspaces to outputs
9 years ago
Mikkel Oscar Lyderik 67bbcceba1 Free config before exiting sway.
9 years ago
Mikkel Oscar Lyderik e15a8a0376 Improve how swaybars are spawned
9 years ago
Mikkel Oscar Lyderik e4c1176b72 Differentiate between all or no outputs
9 years ago
Mikkel Oscar Lyderik bad4e22f3b Make sway spawn only one bar per bar config
9 years ago
Mikkel Oscar Lyderik 6d57f03028 Make single bar handle multiple outputs
9 years ago
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Mikkel Oscar Lyderik b107fc6e5a Fix ipc event bit masks
9 years ago
Mikkel Oscar Lyderik 6f7cbf2eac Replace deprecated function wlc_output_get_pixels.
9 years ago
Drew DeVault e5bb08cc18 Print /proc/<pid>/maps on segfault
9 years ago
crondog 0ee5547406 font: Allow adding font to the config. In prep for border titles
9 years ago
Christoph Gysin a5345e807e extract cairo_set_source_u32()
9 years ago
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
9 years ago
Mikkel Oscar Lyderik ed227f5664 swaybar: move headers to include/bar
9 years ago
Mikkel Oscar Lyderik c6fc0033e1 swaybar: move core functionality to state.c
9 years ago
Drew DeVault a416715372 Revert "s/numlen/log10/g"
9 years ago
Drew DeVault 038bb8cc7c s/numlen/log10/g
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago
Mikkel Oscar Lyderik f8b260d4a1 Add support for bincode command
9 years ago
Mikkel Oscar Lyderik 6392abe35b Implement IPC binding event (keyboard)
9 years ago
Mikkel Oscar Lyderik 32cd3f70eb Add function for duplication a sway_binding
9 years ago
Mikkel Oscar Lyderik dffacea831 Add function for getting list of modifier names.
9 years ago
Mikkel Oscar Lyderik 55f63935ab Implement bindsym --release
9 years ago
Mikkel Oscar Lyderik 843e2ad2c1 Only send modifier event once for active modifiers
9 years ago
Mikkel Oscar Lyderik 95e0f44c73 Move modifier name table to common/util.c
9 years ago
Mikkel Oscar Lyderik c20c63b677 Send IPC modifier event on bar_modifier up/down
9 years ago
Mikkel Oscar Lyderik 7727c9efbc Detect bar modifier pressed/released
9 years ago
Mikkel Oscar Lyderik aa2f754c64 swaybar: Implement binding_mode_indicator
9 years ago
Mikkel Oscar Lyderik 7298a9c67a Add type to returned response.
9 years ago
Mikkel Oscar Lyderik 19833fbc8b Add IPC event types
9 years ago
Mikkel Oscar Lyderik 16b8c2e915 Handle SIGTERM sent to sway
9 years ago
progandy 8fefdb3c64 swaybar: fix memory leaks
9 years ago
Drew DeVault 91c102a897 Merge pull request #393 from robotanarchy/musl-libc-compatibility
9 years ago
robotanarchy c3e9ee5e43 replace non-standard qsort_r with qsort
9 years ago
Mikkel Oscar Lyderik 50b04884b6 Trigger ipc_event_workspace in all cases
9 years ago
Mikkel Oscar Lyderik 66c66c7304 Implement `barconfig_update` IPC event
9 years ago
Drew DeVault 3082245243 Merge pull request #373 from sce/per_panel_config
9 years ago
progandy 21014e606b make gdk-pixbuf dependency really optional
9 years ago
S. Christoffer Eliesen e45fd9b6c5 extensions: Track panels by wl_resource, position per panel.
9 years ago
S. Christoffer Eliesen 6db0f6f80f extensions: panel_config->resource => wl_surface_res.
9 years ago
Drew DeVault 7647762bab Fix default workspace name generation
9 years ago
Drew DeVault b9f14cee41 Merge pull request #359 from mikkeloscar/i3bar-command
9 years ago
Mikkel Oscar Lyderik 9d7f1afdfb Add bar option: swaybar_command <command>
9 years ago
Mikkel Oscar Lyderik 90ff36cab8 Terminate children when freeing output container
9 years ago
Mikkel Oscar Lyderik ede27eabc5 Reload swaybar/swaybg on config reload.
9 years ago
Drew DeVault 7558a274fa Add shims for swaylock on compositor
9 years ago
progandy 76c520a04b sway: insert numbered workspaces in order
9 years ago
progandy 8f1ac1ef2c sway: enable workspace selection by number
9 years ago
Drew DeVault f6da4dda4b Bring unmanaged windows to front on output arrange
9 years ago
Mikkel Oscar Lyderik 2fd7dd64ec Implement bar option: separator_symbol
9 years ago
Mikkel Oscar Lyderik f59f5d27aa Implement bar option: output <output>
9 years ago
Mikkel Oscar Lyderik 6834a33290 Add bar height option (Airblader/i3)
9 years ago
Mikkel Oscar Lyderik de1f625c27 Add rgba support for bar colors
9 years ago
Mikkel Oscar Lyderik 8c1d56812b Implement bar option: colors {}
9 years ago
Mikkel Oscar Lyderik 0513322c03 Move default bar config to bar creation.
9 years ago
Yacine Hmito 87126a9fc2 Added bar_cmd_bindsym
9 years ago
Mikkel Oscar Lyderik 0aeee6963d Make mouse key used for drag/resize configurable
9 years ago
Mikkel Oscar Lyderik c6b13163c9 Add initial support for custom bar-id
9 years ago
Mikkel Oscar Lyderik 45b959f601 Move numlen(1) to sway/util.c
9 years ago
Drew DeVault 4d17aa9919 Revert "Make mouse key used for drag/resize configurable"
9 years ago
Mikkel Oscar Lyderik 74152043f4 Implement 'bar { }' block parsing
9 years ago
Drew DeVault e277d4e094 Subscribe to workspace change events and redraw
9 years ago
Drew DeVault d361ce656d Track the fullscreen view on a workspace swayc_t
9 years ago
Drew DeVault 34277207fd Pass keys along from wayland backend to clients
9 years ago
Drew DeVault 029e0c7a2c Add some more keyboard handling for wayland clients
9 years ago
Mikkel Oscar Lyderik 22916e9ebc Make mouse key used for drag/resize configurable
9 years ago
Drew DeVault a7710c5537 Initialize keyboard in registry poll
9 years ago
Drew DeVault 266393a705 Include wayland-server.h instead of -core.h
9 years ago
Drew DeVault 7614cb0373 Add keyboard handling shims to registry
9 years ago
Drew DeVault 067ac6cfa7 Discover swaylock extension in registry
9 years ago
Drew DeVault 080a263785 Refactor gdk pixbuf code into shared client lib
9 years ago
Drew DeVault 71afa38890 Add swaylock protocol, add resource destructors
9 years ago
Drew DeVault 44d0f731c3 Add framework for switching command sets
9 years ago
Drew DeVault 4f89735fc4 Add bar config struct and defaults
9 years ago
Christoph Gysin b1bd3ae6f3 cmd_output: Merge instead of replace output config
9 years ago
Christoph Gysin ae7ed79573 config: Store 'enabled' as int
9 years ago
Drew DeVault 82d464bb90 Add text rendering support to wayland clients
9 years ago
Drew DeVault e59cffcea2 Support desktop shell panels in compositor
9 years ago
Drew DeVault 4c1fad95b9 Remove trailing semicolon
9 years ago
Christoph Gysin 7d82cd9c0a cmd_output: Use list_seq_find() to find matching config
9 years ago
Drew DeVault e0cb8284fb Rearrange logging headers
9 years ago
S. Christoffer Eliesen 2d0f78c0d6 workspace: Learn sticky.
9 years ago
Drew DeVault 062c74b7d0 Add command line to swaygrab
9 years ago
Drew DeVault 27f03c705d Move IPC client into common, refactor IPC
9 years ago
S. Christoffer Eliesen a06cb7cd01 criteria: Add. Learn for_window command.
9 years ago
S. Christoffer Eliesen 4367e6d3e3 container: Store app_id attribute for views.
9 years ago
S. Christoffer Eliesen 47c313fe3e container: Store class attribute for views.
9 years ago
S. Christoffer Eliesen a0c5a0bb30 cmd_bindsym: Detect/handle duplicates.
9 years ago
S. Christoffer Eliesen 5531dbe1b2 cmd_workspace: Don't fill up config->workspace_outputs with duplicates.
9 years ago
S. Christoffer Eliesen d0af224e6d stringop: lenient_strcmp: Add.
9 years ago
S. Christoffer Eliesen a33e3badad list: Add list_seq_find.
9 years ago
Drew DeVault 79b277fe9b Parse output background config
9 years ago
Drew DeVault b4e5e1381f Refactor the crap out of wayland clients
9 years ago
Drew DeVault 4a1584be53 Fix background extensions
9 years ago
Drew DeVault 65b8a5c3ce Add background handling
9 years ago
Drew DeVault 82db2a57a9 Basic support for extensions in server and clients
9 years ago
Drew DeVault 7a40eb6de6 Support cursors over wayland clients
9 years ago
Drew DeVault 86372d00db Fix SIGBUS from wayland clients
9 years ago
Drew DeVault 665d4baaf1 Normalize indentation
9 years ago
Drew DeVault 9a1e95b7da Clean up memory pool files better
9 years ago
Drew DeVault 399220f14b Fix up wayland client implementation
9 years ago
S. Christoffer Eliesen 236f26f62e output: Support multiple adjacent outputs.
9 years ago
S. Christoffer Eliesen a94a91a723 cmd_output: Replace existing config if called multiple times.
9 years ago
Drew DeVault c43ef2aedd We don't need to implement strdup
9 years ago
Drew DeVault 11b1ba397f Further refinement of wayland client support
9 years ago
Drew DeVault bfcabe48ef Start fleshing out wayland client implementation
9 years ago
Drew DeVault ef8335d694 Start working on IPC for get_pixels
9 years ago
Drew DeVault d729032ba2 Add file and line number to log in Debug build
9 years ago
Drew DeVault edb3e4b5ab Add some documentation comments
9 years ago
S. Christoffer Eliesen abc5fbfaec Learn "gaps edge_gaps <on|off|toggle>".
9 years ago
S. Christoffer Eliesen af31a3f04a commands: Learn 'move workspace to output <direction|name>'.
9 years ago
S. Christoffer Eliesen 515ed86f4d container.h: Remove unused.
9 years ago