Commit Graph

1287 Commits (fe763991d4865bffaafcd3ff15ecede6a9daa6ae)

Author SHA1 Message Date
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 0a1b211e09 Drop -Denable-binding-event 8 years ago
Drew DeVault 25a4a85a59 Run config files through sed and install to /etc 8 years ago
Drew DeVault 751e6d2ab2 Clarify lock permission consequences 8 years ago
Drew DeVault 0c8dc0e6df Clarify that executable has to be a full path 8 years ago
Drew DeVault c61746a15b Soften up environment security 8 years ago
Drew DeVault a4e92ad272 Deal with LD_LIBRARY_PATH 8 years ago
Drew DeVault 1a143e601b Clarify when keyboard/mouse features work 8 years ago
Drew DeVault 4d312f753c Add docs on what features sway programs require 8 years ago
Drew DeVault 3dbeb9c35c Add sway-security(7) 8 years ago
Drew DeVault 10c2125040 Unset LD_PRELOAD on startup (before dropping root) 8 years ago
Drew DeVault 04fc10feeb Flesh out security_sanity_check 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 0d395681fe Enforce mouse permissions 8 years ago
Drew DeVault 8aeeacf178 Enforce keyboard permissions 8 years ago
Drew DeVault ffdbb9d050 Enforce fullscreen permissions 8 years ago
Drew DeVault dc4b57c868 Shut Clang up 8 years ago
Drew DeVault 21e1b2bef3 Add security checks for background, panel, lock 8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands 8 years ago
Drew DeVault 1a8a42f372 Memory leak 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
Drew DeVault 5831f7ab68 Write example security config, start on code 8 years ago
D.B 05be14ff7c change default layout toggle to L_HORIZ 8 years ago
D.B 3d1b472b83 swap unnecessary function for strndup 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
Drew DeVault d3e55f88ec Log LD_LIBRARY_PATH 8 years ago
Drew DeVault 78b65e2317 Remove duplicate redhat-release line 8 years ago
Drew DeVault 7aef6e66ae Log uname -a on startup 8 years ago
Drew DeVault 6ad2186f0e Log contents of distro version files 8 years ago
Drew DeVault 0d6cbcacbe Log important env vars on startup 8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices 8 years ago
Mykyta Holubakha 2a24772c4b config: set pango_markup default to false 9 years ago
Drew DeVault 67a9a94596 Overwrite alpha when drawing borders 9 years ago
Drew DeVault 56a7e5fbce Revert "Merge pull request from SirCmpwn/revert-948-floating-titlebar-click" 9 years ago
Drew DeVault 4cba91803e Revert "Fixes dealing with workspace_layout and related bugs [rfc]" 9 years ago
Drew DeVault f30f60dad8 Revert "also check floating cons in container_find" 9 years ago
Drew DeVault ce713efcd2 Merge pull request from thejan2009/workspace_layout 9 years ago
D.B 166c2a3687 generalize wrapping views under workspaces 9 years ago
D.B 571321a1d8 add workspace_layout, ensure ws is always L_HORIZ 9 years ago
D.B 0ddc4279d1 wrap workspace's child into a container if needed 9 years ago
D.B 24c3b86065 also check floating cons in container_find 9 years ago
Nicolas Cornu 5384d3effe Can't move an empty workspace 9 years ago
Drew DeVault 8d277bc962 Merge pull request from thejan2009/bugfix-931 9 years ago
Drew DeVault 0fc03f9c13 Merge pull request from thejan2009/floating-border 9 years ago
D.B 8264fedce6 fix for_window [] move scratchpad 9 years ago
D.B 746345e3b8 reorder cmd_handler arrays for bsearch 9 years ago
D.B 77f99480ae draw indicator border only for non-floating 9 years ago
Nicolas Cornu 382d47e238 Fix creating of sibling floating/children 9 years ago
Nicolas Cornu 2d82586c88 Add constant scale factor in get_text_size 9 years ago
D.B 379b1a0378 add focus changing between floating containers 9 years ago
D.B d3f5ac8cbb add force_focus_wrapping option 9 years ago
D.B 7f558ce894 wrap container in direction (if possible) 9 years ago
Nicolas Cornu 6ced4098dc fix for click on title_bar 9 years ago
Nicolas Cornu 37065cd0c4 add click on title_bar to focus a container 9 years ago
Drew DeVault d2aba3ce3a Merge pull request from zandrmartin/fix-focus-segfault 9 years ago
Zandr Martin ba581c4442
consolidate nodes json 9 years ago
Zandr Martin 09a44263c3 Merge branch 'master' into fix-focus-segfault 9 years ago
Zandr Martin 4c0e809028
prevent dereference of freed workspace 9 years ago
Patrick Sauter 153620aefe moved ipc_init above config file processing. 9 years ago
Zandr Martin 58ac1f7f24 fix pointer format string in sway_log() call 9 years ago
Drew DeVault 4e660975a9 Merge pull request from thejan2009/setgid-setuid 9 years ago
Drew DeVault a95ce5ce65 Merge pull request from zandrmartin/container-ids 9 years ago
Ryan Dwyer 64d463142f Implement default name for workspace command 9 years ago
Zandr Martin 7d947fdb95
add unique IDs to containers 9 years ago
D.B 5e585f9603 Split setgid and setuid, add privilege check 9 years ago
Zandr Martin 0516dba3f6
implement "focused container" feature for swaygrab 9 years ago
Zandr Martin e75217cfb1
fix get_workspaces json reply 9 years ago
Zandr Martin 87080bb9cc
take four! 9 years ago
Zandr Martin e18b7cdfa9
add global `current_focus` pointer 9 years ago
Ryan Dwyer e4cb4d1b5c Fix swaybar when running on named outputs. 9 years ago
Zandr Martin 64f61873a9 document `workspace_auto_back_and_forth` command 9 years ago
D.B 873dfc07f3 Use indicator border color only when needed. 9 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c 9 years ago
Mikkel Oscar Lyderik 84d504ebdf Make it possible to move views between outputs 9 years ago
Drew DeVault af44154119 Fix constant scale factor in font code 9 years ago
Drew DeVault 0913eff915 Add support for * input configs 9 years ago
Zandr Martin 65ace5dec5
merge in latest commits 9 years ago
Zandr Martin 79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor 9 years ago
Zandr Martin b374c35758
refactor commands.c 9 years ago
Lukas Lihotzki 6addaca9fa Correct `hide_edge_borders` command 9 years ago
Drew DeVault 38ca94e0ed Tweak how swaylock surfaces are handled 9 years ago
Drew DeVault 416417a54c Reorganize includes 9 years ago
Zandr Martin a9c0993218 document `orientation` command 9 years ago
Hummer12007 db1c105e77 Fix a format string 9 years ago
James Murphy 8af49eb696 Avoid dereferencing null configuration 9 years ago
Götz Christ aecd33d25d Add input example section to config 9 years ago
Guillaume Brogi 7bbf7e15a0 Update man page 9 years ago
Guillaume Brogi 6173c84117 Rerender after every split command 9 years ago
Guillaume Brogi fc492a4da8 Add support for indicator color 9 years ago
D.B ce98569fbc Handle output disabling during runtime 9 years ago
Manuel Mendez 631ba506d6 document all xkb settings handled by wlc 9 years ago
Drew DeVault b8642ce681 Merge pull request from thejan2009/bug/move-container-819 9 years ago
D.B 41b5c6d1a9 Sort workspaces when moving workspace to output 9 years ago
D.B 61781bbef0 Fix container move when workspace is focused 9 years ago
D.B 9c91952aec Display class in tab title if app_id is null 9 years ago
Drew DeVault aca9f6b2a2 Merge pull request from minus7/man-inputs 9 years ago
minus 2f50be3d88 added get_inputs hint to man 5 sway-input 9 years ago
D.B aa292db8d1 Fix switch to prev ws on handle_view_created 9 years ago
Tony Crisci 4ab35df157 ipc: log sending of events 9 years ago
Tony Crisci e1e15bb43e ipc: recursive workspace containers in event 9 years ago
Tony Crisci 50901a0892 ipc: always include nodes in views 9 years ago
Mykyta Holubakha e1b1d94a4e Arrange windows after swapping containers 9 years ago
D.B 132017d242 Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash 9 years ago
Tony Crisci 81eb9ea12c Simplify focus setting 9 years ago
Tony Crisci c98e91f01f Use uintptr_t for ipc container id 9 years ago
minus b246799548 fixed uninitialized bar.wrap_scroll 9 years ago
Zandr Martin 9fa92951fe
remove unmanaged nodes from get_tree 9 years ago
Drew DeVault 31ce010861 Fix segfault in border.c 9 years ago
Tony Crisci 4344fe5011 bugfix: focus container on output when focused 9 years ago
Tony Crisci 2f65100bee Remove dead global locked_view_focus 9 years ago
Drew DeVault 2d907ef1f6 Merge pull request from acrisci/feature/focus-container 9 years ago
Zandr Martin b18c169036
cache floating container size when fullscreening 9 years ago
Tony Crisci fe608c80ae Update view border when workspace is focused 9 years ago
Tony Crisci d731d6a846 Bugfix: descend focus stack on new window focus 9 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 53f6b1f3b0
document `kill` command 9 years ago
D.B 9977b01928 Update container geometry on layout switch 9 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg 9 years ago
Zandr Martin e6af5f8bdb
Merge branch 'master' of git://github.com/SirCmpwn/sway into x11-pids 9 years ago
D.B c33e0ee629 revert border hiding to more recent version 9 years ago
D.B 8d0048c8d5 properly hide top border inside tabbed/stacked 9 years ago
Zandr Martin c0683a0444
remove outdated (when wlc commit merged) comment 9 years ago
Zandr Martin d0a0d5e03c
update handler to get pid from wlc for all views 9 years ago
Drew DeVault 3f83968d30 Fix swaybg sizing on hidpi outputs 9 years ago
Drew DeVault 9b24af1c22 Document scale factor configuration in sway(5) 9 years ago
Drew DeVault 9661272224 Merge remote-tracking branch 'origin/hidpi' 9 years ago
Zandr Martin a3980d456d
third try for 9 years ago
Drew DeVault cad085ed9d Update IPC JSON responses for HiDPI setups 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
Mykyta Holubakha cf8ef2aea2 Initialize client's subscribed events 9 years ago
Drew DeVault d07eaed79f Merge pull request from thejan2009/workspace_layout_first_window_fix 9 years ago
Drew DeVault ee67c5bee3 Merge pull request from acrisci/feature/focus-child 9 years ago
Drew DeVault d03266a77a Merge pull request from acrisci/feature/render-focused-stack-children-focused 9 years ago
D.B 33c1df38bd Close all focused container's child views on kill 9 years ago
D.B a46cf77549 bugfix: windows on empty workspaces with layout tabbed/stacked would spawn with 0x0 geometry 9 years ago
Tony Crisci badfcf7c76 Render focused stack/tab children focused 9 years ago
Tony Crisci 88b7cbe314 Implement `focus child` command 9 years ago
Tony Crisci 8a03f138bf bugfix: set focus to workspace of an output 9 years ago
Tony Crisci afc6ad6419 bugfix: cmd focus parent don't set focus above ws 9 years ago
Tony Crisci 0d461ad988 Put ipc command result json in an array 9 years ago
D.B 80858c1f57 don't passthrough a floating_scroll event to focused window 9 years ago
Drew DeVault 643bd8f158 Merge pull request from thejan2009/smart-gaps-outer 9 years ago
D.B f16cb1464f properly hide bottom and right borders 9 years ago
Zandr Martin 3137615838
fix regression in hide_edge_borders 9 years ago
D.B d61b59cad1 outer gap 0 with smart_gaps on 9 years ago
D.B 03b0180c30 rename ws to workspace for clarity 9 years ago
D.B b893f07ce1 calculate borders for hiding from workspace geometry 9 years ago
Mykyta Holubakha a2bc6f3bfd Arrange backgrounds only when required 9 years ago
Mykyta Holubakha f022628a2e Handle transient_for 9 years ago
Mykyta Holubakha f52daa26c9 Unite describe_view and describe_window 9 years ago
Mykyta Holubakha e5c7b019ff Fix dispatching and assigning events 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
Drew DeVault 095353d91d Remove arrange_windows from post-render 9 years ago
minus 50b09937b2 clean up apply_input_config 9 years ago
Drew DeVault 5a1d95ac2a Move backgrounds to back after arrange_windows 9 years ago
Drew DeVault c0e4522202 Merge pull request from deklov/move-position-bug-02 9 years ago
D.B 5d250f3da6 Construct titles of nested tabbed/stacked containers from app_id instead of title 9 years ago
David Eklov d9eb49f3b1 Add missing entry to list of accepted arguments for the move command 9 years ago
David Eklov d202ca2fd7 Do not crash when handling the command 'move position' 9 years ago
Drew DeVault 2530f952c9 Fix clang warning 9 years ago
Drew DeVault ff363aa7f7 Fix bug with views behind backgrounds on ws switch 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
Drew DeVault a9767ad2f7 Allow users to customize the cursor on clients 9 years ago
Hummer12007 cf7c6c5822 Fix a memory leak 9 years ago
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed 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
Mykyta Holubakha a2bb280172 Spawn new views to target ws's focused container 9 years ago
Mykyta Holubakha ea7917784d Fix build on x86 9 years ago
D.B ee67cd0ba1 Fix tabbed/stacked corner case 9 years ago
Zandr Martin c65d6e6e95
get_tree json fixes 9 years ago
David Eklov 51204b33c1 Enable backgrounds and panels to be shell surfaces 9 years ago
Zandr Martin 2f54057623
I think this fixes 9 years ago
Zandr Martin e07b8c8d7c Merge branch 'master' into get-tree-command 9 years ago
Zandr Martin f8a94f2f4b
fix typo in ipc-json.c 9 years ago
Zandr Martin 15a324b0d3
implement `get_tree` command 9 years ago
Zandr Martin d5e4fff345
resize command updates () 9 years ago
Zandr Martin aced6daa19
match i3 syntax for `resize set` 9 years ago
Drew DeVault 7144fb9fc3 Spawn windows as floating if they have a parent 9 years ago
David Eklov 26842ff383 Add get_log_level() to encapsulate v (current log level) 9 years ago
Mykyta Holubakha bfdda1505e Check if found ws is focused in new view handler 9 years ago
Drew DeVault 71f710cf0f Minor fix to warning messages 9 years ago
Hummer12007 7870a197fc Added a null check in tabbed_stacked_parent 9 years ago
Zandr Martin a6f4bf60f2 Merge branch 'master' into set-size-command 9 years ago
Zandr Martin 889618d3ee
implement resize command for absolute dimensions 9 years ago
Zandr Martin 9ecb43ea3b
couple small fixes 9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list 9 years ago
Zandr Martin 66caee645c Merge branch 'master' into assign-command 9 years ago
Zandr Martin beaa03344e
clean up pid/workspace stuff 9 years ago