4bf8b6b43b 
								
							
								 
							
						 
						
							
							
								
								include stdint to be compaitable with musl  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1451ee8fd1 
								
							
								 
							
						 
						
							
							
								
								Reorganize Tray Code  
							
							... 
							
							
 
							
							Remove tray code from bar.c and render.c 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								790887ce76 
								
							
								 
							
						 
						
							
							
								
								Fix cairo blending on tray icons  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								843ad38b3c 
								
							
								 
							
						 
						
							
							
								
								Implement Tray Icons  
							
							... 
							
							
 
							
							This commit implements the StatusNotifierItem protocol, and enables
swaybar to show tray icons. It also uses `xembedsniproxy` in order to
communicate with xembed applications.
The tray is completely optional, and can be disabled on compile time
with the `enable-tray` option. Or on runtime with the bar config option
`tray_output none`.
Overview of changes:
In swaybar very little is changed outside the tray subfolder except
that all events are now polled in `event_loop.c`, this creates no
functional difference.
Six bar configuration options were added, these are detailed in
sway-bar(5)
The tray subfolder is where all protocol implementation takes place and
is organised as follows:
tray/sni_watcher.c:
	This file contains the StatusNotifierWatcher. It keeps track of
	items and hosts and reports when they come or go.
tray/tray.c
	This file contains the StatusNotifierHost. It keeps track of
	sway's version of the items and represents the tray itself.
tray/sni.c
	This file contains the StatusNotifierItem struct and all
	communication with individual items.
tray/icon.c
	This file implements the icon theme protocol. It allows for
	finding icons by name, rather than by pixmap.
tray/dbus.c
	This file allows for asynchronous DBus communication.
See #986  #343  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								fd47a30e75 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1232  from johalun/master-freebsd  
							
							... 
							
							
 
							
							FreeBSD fixes 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7fef283044 
								
							
								 
							
						 
						
							
							
								
								FreeBSD fixes  
							
							... 
							
							
 
							
							Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic). 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5ed533a943 
								
							
								 
							
						 
						
							
							
								
								Revert "Drop epoll dependency"  
							
							... 
							
							
 
							
							This reverts commit 91f2bf81bf 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								91f2bf81bf 
								
							
								 
							
						 
						
							
							
								
								Drop epoll dependency  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6df0f9a7e4 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1218  from Hummer12007/suicaps  
							
							... 
							
							
 
							
							Terminate when both suid bit and filecaps are set 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f470fa58a3 
								
							
								 
							
						 
						
							
							
								
								Replace spaces with tabs in resolve_path  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								93cf21fb9a 
								
							
								 
							
						 
						
							
							
								
								Terminate when both suid bit and filecaps are set  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f736198c31 
								
							
								 
							
						 
						
							
							
								
								Initialise logging earlier  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								46fbb413f2 
								
							
								 
							
						 
						
							
							
								
								Mention Patreon in README.md  
							
							... 
							
							
 
							
							Does this make me a sellout 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ee81b1aecb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1211  from wdbw/missing-send-event  
							
							... 
							
							
 
							
							Add missing send-event mode to sway-input(5) 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								264a9ee9d8 
								
							
								 
							
						 
						
							
							
								
								Add missing send-event mode to sway-input(5)  
							
							... 
							
							
 
							
							Also, fix a small typo. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								781fc604b4 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1209  from janza/mouse-bindings  
							
							... 
							
							
 
							
							Add mouse button bindings 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								400998d6d2 
								
							
								 
							
						 
						
							
							
								
								Add mouse button bindings  
							
							... 
							
							
 
							
							Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								02d1ae7e27 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1206  from zandrmartin/document-font-command  
							
							... 
							
							
 
							
							document font command 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								51ce752ebf 
								
									
								
							
								 
							
						 
						
							
							
								
								document font command  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								106868ddbf 
								
							
								 
							
						 
						
							
							
								
								Update config.in  
							
							... 
							
							
 
							
							swaymsg -t get_inputs now pretty prints its output, so this warning is
obsolete 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5e845a38f5 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1204  from zandrmartin/prevent-layout-auto-crash  
							
							... 
							
							
 
							
							prevent crash when `layout auto` is missing args 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f65a88e68d 
								
									
								
							
								 
							
						 
						
							
							
								
								prevent crash when `layout auto` is missing args  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								34fae764a5 
								
							
								 
							
						 
						
							
							
								
								Add HACKING.md  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								816ceddcbd 
								
							
								 
							
						 
						
							
							
								
								Set child border to background if not specified  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								eab29ca0ce 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1201  from SirCmpwn/fix-colors  
							
							... 
							
							
 
							
							Support specifying fewer than 5 colors 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								02812a2e4d 
								
							
								 
							
						 
						
							
							
								
								Support specifying fewer than 5 colors  
							
							... 
							
							
 
							
							This doesn't work, I'm not sure why. The color structs definitely get
changed but if you specify fewer than 5, it renders with the defaults. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a5c07dde6a 
								
							
								 
							
						 
						
							
							
								
								Implement KDE's server-side decoration protocol  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1376de4f46 
								
							
								 
							
						 
						
							
							
								
								Update .build.yml  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								11b4c3454c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1196  from SirCmpwn/no_focus  
							
							... 
							
							
 
							
							Implement no_focus 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								537261f23f 
								
							
								 
							
						 
						
							
							
								
								Fix handling of floating windows  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ffd0d020d6 
								
							
								 
							
						 
						
							
							
								
								Update sway(5)  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								51143a75af 
								
							
								 
							
						 
						
							
							
								
								Implement no_focus  
							
							... 
							
							
 
							
							Ref #2  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								3c1fc00f12 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1194  from snoack/version  
							
							... 
							
							
 
							
							Add -DVERSION flag for release version numbers 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								586eca0e4c 
								
							
								 
							
						 
						
							
							
								
								Fix link to dotfiles,  closes   #1193  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								173b338567 
								
							
								 
							
						 
						
							
							
								
								Add -DVERSION flag for release version numbers  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								aca0710b9e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1187  from 4e554c4c/master  
							
							... 
							
							
 
							
							Fix typo in sway(5) 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0dc7e9f514 
								
							
								 
							
						 
						
							
							
								
								Fix typo in sway(5)  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d2de52209e 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1184  from JerziKaminsky/logging2  
							
							... 
							
							
 
							
							More Logging Fixes 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								39a65a6181 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into logging2  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8ecb490679 
								
							
								 
							
						 
						
							
							
								
								Make sway_abort() report location  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								382b678100 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1183  from sleep-walker/master  
							
							... 
							
							
 
							
							explicitly ignore unused return value 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								974be01e83 
								
									
								
							
								 
							
						 
						
							
							
								
								explicitly ignore unused return value  
							
							... 
							
							
 
							
							fixes issue#1182 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								94ad169eb6 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1181  from wasamasa/bugfix-initial-scratchpad-size  
							
							... 
							
							
 
							
							Use i3's dimensions for initial scratchpad views 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								35603b2341 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1178  from 4e554c4c/fork  
							
							... 
							
							
 
							
							Prevent sway from duplicating on a failed fork 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0f31323659 
								
							
								 
							
						 
						
							
							
								
								Use i3's dimensions for initial scratchpad views  
							
							... 
							
							
 
							
							See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								cee26500a8 
								
							
								 
							
						 
						
							
							
								
								Prevent sway from duplicating on a failed fork  
							
							... 
							
							
 
							
							Also remove a useless `sway_log` and replace it with a pipe 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								17593ac559 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1180  from wasamasa/feature-move-to-scratchpad  
							
							... 
							
							
 
							
							Feature move to scratchpad 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d4ac594264 
								
							
								 
							
						 
						
							
							
								
								Implement and document `move [to] scratchpad`  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								3c02aa17ca 
								
							
								 
							
						 
						
							
							
								
								Add .build.yml (for builds.sr.ht)  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7494a48378 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1173  from JerziKaminsky/security_resolve_symlink  
							
							... 
							
							
 
							
							FOR_REVIEW: IPC security - Allow policy targets to be symlinks 
							
						 
						
							9 years ago