c805e42635 
								
							
								 
							
						 
						
							
							
								
								Extract workspace size computation from render_workspace_button()  
							
							... 
							
							
 
							
							Also remove some unnecessary strtup()s and rename a few variables and functions. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								103954dd2b 
								
							
								 
							
						 
						
							
							
								
								Setup to receive mouse click events and log them  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5c4f52f953 
								
							
								 
							
						 
						
							
							
								
								Set panels' geometries correctly and don't render them explicitly  
							
							... 
							
							
 
							
							Panels were explicitly rendered by calling wlc_surface_render in
handle_output_pre_render. Calling wlc_surface_render does not set the
surface's geometry (like wlc_view_set_geometry does). Sway did not call
wlc_view_set_geometry for panels, so wlc defaulted their geometry to be at
the origin. This is not correct for bars unless their location is top.
Furthermore, for a surface to receive pointer events, its mask has to be
set to visible. This causes wlc to render these surfaces, causing panels
and backgrounds to be rendered twice.
This commit makes panels and surfaces visible, sets the correct geometries
and removes the code that explicitly rendered them. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4bb45abc46 
								
							
								 
							
						 
						
							
							
								
								Don't treat backgrounds as shell surfaces  
							
							... 
							
							
 
							
							This code had some issues. Remove it now so that we can start clean and fix
it later. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6d94f77457 
								
							
								 
							
						 
						
							
							
								
								Revert "swaybg: Make swaybg a shell surface"  
							
							... 
							
							
 
							
							This reverts commit 99bda4afe2 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1e95191900 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #726  from Hummer12007/hwc  
							
							... 
							
							
 
							
							Spawn new views to target ws's focused container 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c503bf1342 
								
							
								 
							
						 
						
							
							
								
								Suspend destruction of wss when creating views  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a2bb280172 
								
							
								 
							
						 
						
							
							
								
								Spawn new views to target ws's focused container  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								136387144c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #750  from deklov/sway-lock-01  
							
							... 
							
							
 
							
							swaylock: Add -f option to detach from the controlling terminal, fixe… 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ea0a93c5c4 
								
							
								 
							
						 
						
							
							
								
								swaylock: Add -f option to detach from the controlling terminal,  fixes   #725  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dff1e7f91b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #749  from Hummer12007/patch-2  
							
							... 
							
							
 
							
							Enable using non-annotated tags in git-describe 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8fc9f503f9 
								
							
								 
							
						 
						
							
							
								
								Enable using non-annotated tags in git-describe  
							
							... 
							
							
 
							
							This fixes the version string 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								614aa28a7b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #747  from deklov/clang-format-01  
							
							... 
							
							
 
							
							clang-format configuration for Sway's style as detailed in CONTRIBUTI… 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e0e5d4a37e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #748  from Hummer12007/x86fix  
							
							... 
							
							
 
							
							Fix build on x86 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ea7917784d 
								
							
								 
							
						 
						
							
							
								
								Fix build on x86  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6fb985b767 
								
							
								 
							
						 
						
							
							
								
								clang-format configuration for Sway's style as detailed in CONTRIBUTING.md  
							
							... 
							
							
 
							
							CONTRIBUTING.md says use kernel style, "but all braces go on the same line". The
kernel uses a column limit of 80 characters. The de facto syle in Sway is to
allow for wider lines so this format file does not enforce an 80 column limit. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0374154749 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #744  from thejan2009/tabbed-stacked-layout-fixes  
							
							... 
							
							
 
							
							Fix tabbed/stacked corner case #742  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ee67cd0ba1 
								
							
								 
							
						 
						
							
							
								
								Fix tabbed/stacked corner case  #742  
							
							... 
							
							
 
							
							Tabbed/stacked containers are now created only if a view is present on
the workspace. If a view is created on previously empty tabbed/stacked
workspace, it gets wrapped in a container. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								378149b59c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #739  from deklov/swaybar-pointer-01  
							
							... 
							
							
 
							
							Enable windows to register to get notified of pointer button events 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								b9d8cbabdd 
								
							
								 
							
						 
						
							
							
								
								Fix formatting guide violations (spaces instead of tabs)  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c8a64305fd 
								
							
								 
							
						 
						
							
							
								
								Enable windows to register to get notified of pointer button events  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9889b14511 
								
							
								 
							
						 
						
							
							
								
								Check capabilities before using pointer and keyboard  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								840b0c1bcd 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #740  from zandrmartin/json-fixes  
							
							... 
							
							
 
							
							get_tree json fixes 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c65d6e6e95 
								
									
								
							
								 
							
						 
						
							
							
								
								get_tree json fixes  
							
							... 
							
							
 
							
							- null pointer check against container names
- use actual json null values instead of "null" strings
- add "visible" property to all containers 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								58804a044f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #738  from deklov/panel-as-shell-02  
							
							... 
							
							
 
							
							Make swaybar and swaybg shell surfaces, take 2 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d9bcea381a 
								
							
								 
							
						 
						
							
							
								
								Fix formatting guide violations (spaces instead of tabs)  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								99bda4afe2 
								
							
								 
							
						 
						
							
							
								
								swaybg: Make swaybg a shell surface  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d3752b4140 
								
							
								 
							
						 
						
							
							
								
								swaybar: Make swaybar a shell surface  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								bb35960e65 
								
							
								 
							
						 
						
							
							
								
								Move code to make a window a shell surface into seperate function  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								51204b33c1 
								
							
								 
							
						 
						
							
							
								
								Enable backgrounds and panels to be shell surfaces  
							
							... 
							
							
 
							
							Prior to this commit all windows (e.g. shell surfaces) were handled the same
way in handle_view_created. Since backgrounds and panels have to be treated
differently, they could not be shell surfaces. This changes checks whether
a client is a background or a panel in handle_view_created and exists to
let them be dealt with elsewhere. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c3373c6815 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #737  from zandrmartin/fix-bar-on-reload  
							
							... 
							
							
 
							
							I think this fixes  #678  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2f54057623 
								
									
								
							
								 
							
						 
						
							
							
								
								I think this  fixes   #678  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								33c923be73 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #735  from zandrmartin/get-tree-command  
							
							... 
							
							
 
							
							implement `get_tree` command 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e07b8c8d7c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into get-tree-command  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f8a94f2f4b 
								
									
								
							
								 
							
						 
						
							
							
								
								fix typo in ipc-json.c  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								15a324b0d3 
								
									
								
							
								 
							
						 
						
							
							
								
								implement `get_tree` command  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								33abcd9573 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #734  from jplatte/patch-1  
							
							... 
							
							
 
							
							Create .editorconfig 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e55e5cc6b4 
								
							
								 
							
						 
						
							
							
								
								Create .editorconfig  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								b658b464ec 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #732  from zandrmartin/set-size-command  
							
							... 
							
							
 
							
							Set size command 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a7b94f1324 
								
									
								
							
								 
							
						 
						
							
							
								
								typo in focus.h  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d5e4fff345 
								
									
								
							
								 
							
						 
						
							
							
								
								resize command updates ( #713 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								aced6daa19 
								
									
								
							
								 
							
						 
						
							
							
								
								match i3 syntax for `resize set`  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								034410819d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into set-size-command  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7144fb9fc3 
								
							
								 
							
						 
						
							
							
								
								Spawn windows as floating if they have a parent  
							
							... 
							
							
 
							
							Fixes  #604  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								b5d778dd82 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #728  from deklov/master  
							
							... 
							
							
 
							
							Add get_log_level() to encapsulate v (current log level) 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								26842ff383 
								
							
								 
							
						 
						
							
							
								
								Add get_log_level() to encapsulate v (current log level)  
							
							... 
							
							
 
							
							This patch also makes all global variable in log.c static. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8f67903909 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #723  from deklov/master  
							
							... 
							
							
 
							
							Bug fix: Add missing header file, unistd.h 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d3c947676d 
								
							
								 
							
						 
						
							
							
								
								Bug fix: Add missing header file, unistd.h  
							
							... 
							
							
 
							
							Without unistd.h the following functions getuid, alarm and
close are implicitly declared causing compilation to fail due to
-Werror=implicit-function-declaration 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								cbbeeb2cc3 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'set-size-command' of github.com:zandrmartin/sway into set-size-command  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								b5818150b9 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #720  from Hummer12007/exec_fix  
							
							... 
							
							
 
							
							Check if found ws is focused in new view handler 
							
						 
						
							9 years ago