1179 Commits (bfa20e65d846f8e8bf7b967b2440d99d82ca9a86)

Author SHA1 Message Date
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
8 years ago
Scott Anderson c29e5bbde8 Use WLC v2 pointer interface
8 years ago
nyorain c0f2acce4e Rework get_clipboard implementation
8 years ago
nyorain 02c75ebe37 Implement ipc get_clipboard
8 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
9 years ago
Tony Crisci f78d07d39b Implement focus handling for containers
9 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
9 years ago
D.B 8d0048c8d5 properly hide top border inside tabbed/stacked
9 years ago
Drew DeVault 11e7ca044c Update hidpi support to latest wlc API
9 years ago
Drew DeVault 6ea02f3064 Initial pass on HiDPI support
9 years ago
Tony Crisci 88b7cbe314 Implement `focus child` command
9 years ago
Mykyta Holubakha a2bc6f3bfd Arrange backgrounds only when required
9 years ago
Mykyta Holubakha 2029fef6b8 More progress on window events
9 years ago
Mykyta Holubakha 976e48d79f Initial work on window events
9 years ago
Mykyta Holubakha 0b5391ed77 Properly construct event bitmasks
9 years ago
Drew DeVault 6d971af5c3 Turn swaybg into a shell surface
9 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
9 years ago
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
9 years ago
Drew DeVault 147a88260a Fix #753
9 years ago
David Eklov c0b7610c26 Enable windows to register to get notified when the mouse wheel is scrolled
9 years ago
David Eklov 250ddc66c6 Rename pointer_input::notify to indicate that is called on button clicks
9 years ago
David Eklov a0c8799c80 Compute what workspace button is clicked
9 years ago
David Eklov 679c7b397c Use int instead of wl_fixed_t for mouse coordinates
9 years ago
David Eklov c805e42635 Extract workspace size computation from render_workspace_button()
9 years ago
David Eklov 5c4f52f953 Set panels' geometries correctly and don't render them explicitly
9 years ago
David Eklov 4bb45abc46 Don't treat backgrounds as shell surfaces
9 years ago
Mykyta Holubakha c503bf1342 Suspend destruction of wss when creating views
9 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
S. Christoffer Eliesen 5ba47d4a44 input_state: Remove mouse_origin (x&y). Query wlc instead.
9 years ago
S. Christoffer Eliesen 78ca619769 commands: Learn mouse_warping.
9 years ago
S. Christoffer Eliesen 4799d07ac1 input_state: Extract 'pointer_position_set' function from handlers.
9 years ago
S. Christoffer Eliesen 865b30f138 container: Move container_under_pointer here from handlers.
9 years ago
Drew DeVault 6cd106d23c Merge pull request #208 from minus7/ipc_subscribe
9 years ago
minus 9925554ea4 implemented IPC subscribe for workspace event
9 years ago
S. Christoffer Eliesen 9f02b0bf16 commands: Learn 'debuglog'.
9 years ago
S. Christoffer Eliesen 5a70853253 log: Add swayc_log, use at a few key places.
9 years ago
S. Christoffer Eliesen c6bb23b7dd sway/output: Create, move code from handlers.c here.
9 years ago
S. Christoffer Eliesen c1479701de seamless_mouse: Move pointer only if successfully changed workspace.
9 years ago
S. Christoffer Eliesen 362413bd50 commands: cmd_results->input is duplicated/freed.
9 years ago
S. Christoffer Eliesen af30a1b67c ipc,commands,config: Replace cmd_status enum with cmd_results struct.
9 years ago
S. Christoffer Eliesen edf33aad29 config: Add "seamless_mouse" to decide if pointer crosses output edges.
9 years ago
S. Christoffer Eliesen ca862a5bd4 config: Apply output config also during config reload.
9 years ago
S. Christoffer Eliesen 3be11a08e6 main: Implement --get-socketpath switch.
9 years ago
taiyu 0d51f62224 merge + no c_extensions
9 years ago
Drew DeVault 318e1be240 Fix warnings introduced by prior commit
9 years ago
taiyu 0bea2e2122 multi command keybinds
9 years ago
Drew DeVault e505abfe75 Revert "new_workspace null behavior + testmap functions + regex"
9 years ago
taiyu f76f9e2eea visible values
9 years ago
taiyu e1d18e42a8 new_workspace null behavior + testmap functions + regex
9 years ago
taiyu aaa0923bc4 cmd status + workspace ws output op
9 years ago
taiyu 6388241abb mode supports multi token names
9 years ago
taiyu aa22dc3113 var replacement changes
9 years ago
taiyu d673a72705 set variable changes
9 years ago
taiyu 71af5b7dde config modes
9 years ago
taiyu f25c6b312b gap resize
9 years ago
taiyu 2ef83664f5 remove outdated comment
9 years ago
taiyu afa6747145 enum for command type
9 years ago
taiyu 4cd18449d2 better handling of commands during config
9 years ago
taiyu dbeca88dee default gap value
9 years ago
Luminarys 12e96f0f9e Added in workspace_auto_back_and_forth
9 years ago
Luminarys fe2ec8a676 Added in workspace back_and_forth
9 years ago
Luminarys 28e937020a Made scratchpad handling identical to i3
9 years ago
Luminarys 7eefecf479 Added in scratchpad adding
9 years ago
taiyu 1820b3f0bb move function redone
9 years ago
taiyu 5678d824e4 update visibility + container info functions
9 years ago
taiyu da79bd65de use previous outputs
9 years ago
Luminarys acb3fbdfb5 Added in default_orientation handling
9 years ago
taiyu 357af228d6 some function documentation, fixed gaps on config reload
9 years ago
taiyu 1fa7a91bfb move_container_to fixup
9 years ago
taiyu 225c2fbe5b fixed segfault on exit + a little fixup of that floatfocus pr
9 years ago
minus ca89ba83a8 changed view visibility to be bool
9 years ago
minus e533014201 added missing util.h/c stuff
9 years ago
minus e854a54e96 changed workspace_{outout_,}{next,prev} to return workspace
9 years ago
minus 03e4a97dbe added "move container to workspace"
9 years ago
minus f22c937953 refactored view visibility
9 years ago
minus 1efda79bf2 refactored workspace_next/prev
9 years ago
Luminarys 7c5b6f8c52 Added in backtrace printing
9 years ago
taiyu dbad30a409 add limit to swayc_in_direction
9 years ago
taiyu c8415d7fef split_string memory leaks cleanedup
9 years ago
taiyu 51ab3c9180 merge
9 years ago
Drew DeVault 1ac0c8cd47 Refactor keyboard to consider modified keysyms
9 years ago
Luminarys a65dca04e8 Style fix
9 years ago
Luminarys 98fad060e2 Added in glitchy disabling
9 years ago
taiyu d72cc92541 style
9 years ago
taiyu f24b78898a dont swap view with workspace...
9 years ago
taiyu 42d5d9a177 mouse tile resize mode done
9 years ago
taiyu e139de0857 floating/tiling move + floating resize cleaned and fixed
9 years ago
Drew DeVault b7f4607544 Implement output configuration through config
9 years ago
Luminarys f6b16ca089 Refactored resizing functions into resize.c
9 years ago
taiyu 5a67628ad9 Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
taiyu 1a1ac64662 bugfixes, renames
9 years ago
Drew DeVault 1c38b7a8d2 Merge pull request #111 from Luminarys/master
9 years ago
Luminarys a8eab5492a Added in proper resize locking
9 years ago
minus 8dfaf6265b fixed #108 signed/unsigned comparison
9 years ago
Luminarys 7ecb55f218 Minor style fix
9 years ago
Luminarys 97bd548456 More minor fixes
9 years ago
Luminarys de86c5f4ea Cleanup and minor fixes
9 years ago
Drew DeVault a436fc17ff Merge pull request #105 from Half-Shot/master
9 years ago
Drew DeVault 464b49eda2 Merge pull request #101 from Luminarys/master
9 years ago
Luminarys 96ab21b276 Fixes to resizing and added in resize lock once boundaries are exceeded
9 years ago
Luminarys 461da7f87f Added in bspwm like mouse resizing
9 years ago
Luminarys f589731f29 Rewrite of resize command to make it more sane
9 years ago
Drew DeVault 3a5fce339f Reset key buffer on reload
9 years ago
Half-Shot 713bf29ec9 Few stray bits
9 years ago
Half-Shot 5a9ba261bc Merge branch 'master' of https://github.com/SirCmpwn/sway
9 years ago
Half-Shot 2a62c5c7fb Basic left right move command implemented.
9 years ago
minus 754793aad4 added IPC messages get_workspaces and get_outputs
9 years ago
taiyu 36e07e9ebc find_parent_by_type
9 years ago
Luminarys bc3babf566 Added in basic resize command
9 years ago
Luminarys 15d9f1edcb Added in basic resize command
9 years ago
minus f8787ce69e added missing header file
9 years ago
minus f26ed32e46 added sway_terminate to exit cleanly
9 years ago
minus 91c0877264 properly exit sway
9 years ago
minus 773e85c681 properly handle IPC clients
9 years ago
minus 5d99215469 added i3-ipc support/parsing
9 years ago
minus 8981b48cd2 very basic IPC implementation
9 years ago
Drew DeVault 579fe70ed9 Add command line parsing
9 years ago
taiyu f5fde7c45c style
9 years ago
taiyu fbaa9111a8 setup for resizable windows, drop weight
9 years ago
taiyu 5ff0619ca1 input state, find_container_in_direction
9 years ago
taiyu 470b4dfbae key_state.ch, and command conflicts resolved
9 years ago
taiyu c5a6982893 fixed some more bugs, moved layout_log into log.ch, restored focus_parent
9 years ago
taiyu e16a4015ff fixed focus key handler
9 years ago
Luminarys 3c430688a8 header update
9 years ago
KoffeinFlummi c75d5ceba4 Merge remote-tracking branch 'upstream/master' into gaps
9 years ago
KoffeinFlummi 4c688cba4e Add support for gaps option
9 years ago
minus faccaf6112 added sway_assert function
9 years ago
Drew DeVault 85a573dab7 Revert "enhanced whitespace remover"
9 years ago
Drew DeVault 2139001c9f Coding style enforcement
9 years ago
Drew DeVault 2f6dd0687b Merge pull request #65 from taiyu-len/focus_v2
9 years ago
taiyu b132f67e7b minor fixes
9 years ago
taiyu abd0afb03a enhanced whitespace remover
9 years ago
taiyu 63bc0d3b54 more changes
9 years ago
taiyu 4606fb1ee3 merged Luminarys resizing code
9 years ago
taiyu 11321ca2dd changed handling of focus, handling of view by type
9 years ago
Luminarys e541ba3d87 Added in basic, but semi-broken moving/resizing functionality to floating windows
9 years ago
Drew DeVault 780893a933 Add support for workspace [name] output [name]
9 years ago
Luminarys c9ce8bf1bd Style and other minor fixes
9 years ago
Luminarys 47ec999e71 Fixes to floating and umanaged views
9 years ago
Luminarys 05f969074e Added in basic floating toggling
9 years ago
taiyu f1d5305dc6 fix
9 years ago
taiyu c024f06631 handle_view_state_request
9 years ago
Luminarys 0a0fe18fd6 Added in workspace next/prev and workspace output_next/prev
9 years ago
Drew DeVault 7f8ebb7d0d Move headers to include/
9 years ago