71afa38890 
								
							
								 
							
						 
						
							
							
								
								Add swaylock protocol, add resource destructors  
							
							... 
							
							
 
							
							This prevents sway crashing if swaybg or swaybar dies. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								bf5244b49c 
								
							
								 
							
						 
						
							
							
								
								Fix using last output config if none matched  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cce9c338c0 
								
							
								 
							
						 
						
							
							
								
								cmake: build common code only once  
							
							... 
							
							
 
							
							This creates (static) libraries for protocols/, common/, and wayland/. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9b9d968cbf 
								
							
								 
							
						 
						
							
							
								
								Fix for_window [...] move scratchpad correctly  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d098c620fe 
								
							
								 
							
						 
						
							
							
								
								Revert "Fix bug with for_window [...] move scratchpad"  
							
							... 
							
							
 
							
							This reverts commit 0796b0c475 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0796b0c475 
								
							
								 
							
						 
						
							
							
								
								Fix bug with for_window [...] move scratchpad  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								98ff23b497 
								
							
								 
							
						 
						
							
							
								
								Fix busted install of /etc/sway/config  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								92a3538381 
								
							
								 
							
						 
						
							
							
								
								cmake: extract sway  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3658777e47 
								
							
								 
							
						 
						
							
							
								
								Use wlc_point instead of deprecated wlc_origin  
							
							... 
							
							
 
							
							Struct was renamed in wlc, use the new name. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f3f77f9ff1 
								
							
								 
							
						 
						
							
							
								
								FALLBACK_CONFIG_DIR did not work. Fixed.  
							
							... 
							
							
 
							
							- Flag was ignored. Now it's taken into account.
- Missing trailing slashes in path now behaves properly. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								09feef89ee 
								
							
								 
							
						 
						
							
							
								
								Can customize config fallback directory  
							
							... 
							
							
 
							
							CMake takes a `FALLBACK_CONFIG_DIR` flag which is the directory where the
standard configuration file `config` is copied at installation.
If loading from typical configuration directories fails, sway loads
FALLBACK_CONFIG_DIR/config (/etc/sway/config by default). 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								44d0f731c3 
								
							
								 
							
						 
						
							
							
								
								Add framework for switching command sets  
							
							... 
							
							
 
							
							This will allow the bar {} block to have a different command set (and
also bar { colors { } }. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4f89735fc4 
								
							
								 
							
						 
						
							
							
								
								Add bar config struct and defaults  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3f950b6e52 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #278  from christophgysin/merge  
							
							... 
							
							
 
							
							cmd_output: Merge instead of replace output config 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b1bd3ae6f3 
								
							
								 
							
						 
						
							
							
								
								cmd_output: Merge instead of replace output config  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ae7ed79573 
								
							
								 
							
						 
						
							
							
								
								config: Store 'enabled' as int  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3c8763af22 
								
							
								 
							
						 
						
							
							
								
								cmd_output: check for missing subcommand arguments  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5a369b3132 
								
							
								 
							
						 
						
							
							
								
								Only strip comments at the start of a line  
							
							... 
							
							
 
							
							This is necessary because i3 config files use CSS notation for colors
(i.e. #rrggbb). 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ef91764bc7 
								
							
								 
							
						 
						
							
							
								
								Fix output adjustment for panels  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e59cffcea2 
								
							
								 
							
						 
						
							
							
								
								Support desktop shell panels in compositor  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9d2bbe2640 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #274  from sce/fix_stray_floats  
							
							... 
							
							
 
							
							cmd_floating: Don't add non-float as sibling to float. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								25ad3181f5 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #276  from sce/earlier_logging  
							
							... 
							
							
 
							
							main: Setup logging before wlc_init. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c942f1624e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #275  from christophgysin/cmd_output  
							
							... 
							
							
 
							
							refactor cmd_output 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0af15cc19e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #269  from christophgysin/usage  
							
							... 
							
							
 
							
							Add --help to print usage 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c26a4b42cf 
								
							
								 
							
						 
						
							
							
								
								main: Setup logging before wlc_init.  
							
							... 
							
							
 
							
							If `wlc_init` fails the error message will never be logged or printed
anywhere. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7059eccaa1 
								
							
								 
							
						 
						
							
							
								
								cmd_output: Log enable/disable state  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ffdfaaa985 
								
							
								 
							
						 
						
							
							
								
								apply_output_config: use list_seq_find() to find config  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7d82cd9c0a 
								
							
								 
							
						 
						
							
							
								
								cmd_output: Use list_seq_find() to find matching config  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								88f372a22a 
								
							
								 
							
						 
						
							
							
								
								cmd_output: Cleanup cmd_output argument handling  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								badfb4bb43 
								
							
								 
							
						 
						
							
							
								
								cmd_floating: Don't add non-float as sibling to float.  
							
							... 
							
							
 
							
							When turning a float to a non-float, `get_focused_container` might
return another floating view, causing the active view to be inserted
into the floating list on its workspace instead of the normal child list
which it should. (Since it has `is_floating` as false the resulting
discrepency triggered other bad behaviour eventually leading sway to
crash.)
This patch fixes that by simply checking floating status before making
it a sibling. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								923c3245ac 
								
							
								 
							
						 
						
							
							
								
								Fix option parsing  
							
							... 
							
							
 
							
							Using 'flag' results in duplicate code paths for short and long options.
This broke the -q short option in swaymsg, because there was:
 {"quiet", no_argument, &quiet, 'q'}
Which will set quiet to 'q' and return 0, not 'q'. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2f2e1f3fc7 
								
							
								 
							
						 
						
							
							
								
								sway: Add --help option that prints usage  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e48a16ce5e 
								
							
								 
							
						 
						
							
							
								
								sway: Print usage and exit on unknown options  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3ba33321de 
								
							
								 
							
						 
						
							
							
								
								Use macros for exit values  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c477bbf345 
								
							
								 
							
						 
						
							
							
								
								Add warnings about invalid output commands  
							
							... 
							
							
 
							
							This handles some cases where sway will crash if an output command is
invalid/missing an argument. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								20cb390323 
								
							
								 
							
						 
						
							
							
								
								sway/main: Move wlc init to after args are handled.  
							
							... 
							
							
 
							
							First of all because it's not needed that early, and second of all
because there's a bug where calling `sway --get-socketpath` via `popen`
causes the child sway process to spin/hang instead of returning EOF.
(Specifically `(unset SWAYSOCK; swaymsg)` hangs.) This patch fixes that.
(Also note that this patch moves the "detailed review" comment, so I
guess this patch requires extra detailed review?) 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1661edee28 
								
							
								 
							
						 
						
							
							
								
								Allow output config for output named *  
							
							... 
							
							
 
							
							Which will match any output. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2f192cceca 
								
							
								 
							
						 
						
							
							
								
								Improve config file loading  
							
							... 
							
							
 
							
							This also makes it so that your i3 config is used before
/etc/sway/config. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2d0f78c0d6 
								
							
								 
							
						 
						
							
							
								
								workspace: Learn sticky.  
							
							... 
							
							
 
							
							A floating window that's sticky will move to the new active workspace
whenever the workspace on the same output changes. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								db642fc8c5 
								
							
								 
							
						 
						
							
							
								
								commands: code formatting: Sort list of commands by alphabet.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cbd7348704 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #265  from sce/better_logging  
							
							... 
							
							
 
							
							debug_log: Improve container_log so that debug lines are aligned. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cad2694a3c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #264  from sce/fix_ws_next_name  
							
							... 
							
							
 
							
							workspace: Improve workspace_next_name. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c1d88acf72 
								
							
								 
							
						 
						
							
							
								
								debug_log: Improve container_log so that debug lines are aligned.  
							
							... 
							
							
 
							
							Makes the log easier to read, and the developers more happy (this one at
least). 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0a78af0acc 
								
							
								 
							
						 
						
							
							
								
								workspace: Improve workspace_next_name.  
							
							... 
							
							
 
							
							This function looks for bound commands that start with `workspace` (ie.
the commands that change to a static workspace) and fetches the
workspace name.
However, if it's actually a list of commands, then the parsing will pick
up the delimiter ("," or ";") and also fail to recognize keywords
("next" etc).
This patch fixes that by properly separating with delimiters. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d9770cc243 
								
							
								 
							
						 
						
							
							
								
								cmd_floating: Support `enable` and `disable` commands too.  
							
							... 
							
							
 
							
							This is especially relevant in combination with `for_window`, e.g.:
`for_window [title="Terminal"] floating enable`. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								27f03c705d 
								
							
								 
							
						 
						
							
							
								
								Move IPC client into common, refactor IPC  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								53d353e6b4 
								
							
								 
							
						 
						
							
							
								
								Add "variant": "sway" to IPC version response  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9a15371ba3 
								
							
								 
							
						 
						
							
							
								
								Parse command line args for swaymsg  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								206606b32c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #261  from christophgysin/exec  
							
							... 
							
							
 
							
							Call swaybg without invoking a shell 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e362f871d9 
								
							
								 
							
						 
						
							
							
								
								Call swaybg without invoking a shell  
							
							... 
							
							
 
							
							This makes escaping the arguments obsolete.
Also avoid dynamic memory allocation for the output id. It only supported ids up
to 99. Now we support up to 999, and take 4 bytes off the stack instead. 
							
						 
						
							10 years ago