9ef3e012d6 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: screen locking protocol  
							
							... 
							
							
 
							
							Add protocol and functions for supporting screen locking, triggered by
activity timeout.
After activity timeout, compositor starts the fade to black, and then
enters SLEEPING state. At that point it calls lock() in the shell
plugin.
When input events trigger a wakeup, unlock() in the shell plugin is
called. This sends prepare_lock_surface event to the desktop-shell
client. The screen stays locked while the compositor starts fade-in.
At this point, desktop-shell client usually creates a surface for the
unlocking GUI (e.g. a password prompt), and sends it with the
set_lock_surface request. The compositor supposedly shows and allows
interaction only with the given lock surface (not yet implemented).
When desktop-shell has authenticated the user, or instead of issuing
set_lock_surface, it sends the unlock request. Upon receiving the unlock
request, the shell plugin unlocks the screen.
If desktop-shell client dies, the screen is unlocked automatically.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								09d65d0e64 
								
							
								 
							
						 
						
							
							
								
								config: fix boolean parsing  
							
							... 
							
							
 
							
							The rest of the line contains the newline, so cannot match simply 'true'
or 'false'.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								fc32c394e7 
								
							
								 
							
						 
						
							
							
								
								config: Don't print warning when XDG_CONFIG_HOME isn't set  
							
							... 
							
							
 
							
							According to the spec, it's ok for this not to be set and just means that
we should default to $HOME/.config. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								668dd56918 
								
							
								 
							
						 
						
							
							
								
								window: add a helper for config file paths  
							
							... 
							
							
 
							
							Add a helper function, that constructs a path to a config file from
XDG_CONFIG_HOME environment variable, by the rules of
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html 
Make desktop-shell find its config file from XDG_CONFIG_HOME. This
allows to have a personal config file without continuously fighting with
git about wayland-desktop-shell.ini.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								ac3a59a0d1 
								
							
								 
							
						 
						
							
							
								
								window: Add a cheesy parser for ini-files, use it in desktop-shell  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								c4693c4ab4 
								
							
								 
							
						 
						
							
							
								
								Install desktop-shell in $prefix/libexec  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								6cd281a023 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: launch from the compositor  
							
							... 
							
							
 
							
							Fork and exec desktop-shell in the compositor. This is a way to create
an authenticated client. Later, the desktop-shell interface will be
reserved for this client only.
For exec to work, the compositor should be started from the
wayland-demos' root directory.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								fb39963cc9 
								
							
								 
							
						 
						
							
							
								
								Update .gitignores  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								8bd35c7770 
								
							
								 
							
						 
						
							
							
								
								window: Avoid setting an invalid surface for the pointer  
							
							... 
							
							
 
							
							If we failed to load the pointer image to the surface then do not create a
buffer from a NULL surface and do not attach that to the device. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								21223bf6d1 
								
							
								 
							
						 
						
							
							
								
								window: Report an error if we cannot load the pointer files  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								397b908d7b 
								
							
								 
							
						 
						
							
							
								
								Add missing include for gio.h.  
							
							... 
							
							
 
							
							This is needed by GFile, used by view.c.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bf8bd5aa3a 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Fix another last-minute typo  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								27d3866045 
								
							
								 
							
						 
						
							
							
								
								cairo-util: Add helper to load jpeg files  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								9ef9e0ecf9 
								
							
								 
							
						 
						
							
							
								
								simple-egl: Remove leftover wl_visual variable  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bcee9a4b25 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Add beginning of pop-up menu to panel  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1a89f28c7d 
								
							
								 
							
						 
						
							
							
								
								gears: Fail if compiled without cairo-egl  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0c99163d9b 
								
							
								 
							
						 
						
							
							
								
								window: Create a cairo device for each egl config  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								47eb8f4e91 
								
							
								 
							
						 
						
							
							
								
								window: Remove display_flush_cairo_device  
							
							... 
							
							
 
							
							Rather add a flush_surface utility that
flushed the cairo_device thats associated to a surface. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e4fb78de8f 
								
							
								 
							
						 
						
							
							
								
								Handle compositors without wl_shell  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								41abb2865e 
								
							
								 
							
						 
						
							
							
								
								view: Fix reference to wayland-glib.h  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e28d05b0ad 
								
							
								 
							
						 
						
							
							
								
								window.c: Move window items to window.c  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3a69627f43 
								
							
								 
							
						 
						
							
							
								
								window: Stop using glib mainloop in toy toolkit  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1e164b9afd 
								
							
								 
							
						 
						
							
							
								
								Move rounded_rect() to cairo-util.c  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								547da5afc9 
								
							
								 
							
						 
						
							
							
								
								terminal: Make -f (fullscreen) option work again  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								7e69000556 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Scale background image to output size  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f8ab46e149 
								
							
								 
							
						 
						
							
							
								
								window: Default to toplevel windows  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								67680c122d 
								
							
								 
							
						 
						
							
							
								
								desktop-shell: Add launcher for the Wayland terminal  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0c29eb292e 
								
							
								 
							
						 
						
							
							
								
								clients: Add a simple desktop-shell app  
							
							... 
							
							
 
							
							This just provides the background surface and the top panel. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								900b226ac1 
								
							
								 
							
						 
						
							
							
								
								window: Add enter/leave handlers  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								4b87a13974 
								
							
								 
							
						 
						
							
							
								
								clients: Fix typos  
							
							... 
							
							
 
							
							And forgotten display_create conversion in view.c. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e8e0e6e2db 
								
							
								 
							
						 
						
							
							
								
								Update gitignore  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								91eacca38b 
								
							
								 
							
						 
						
							
							
								
								Remove egl display type setenv hack  
							
							... 
							
							
 
							
							No longer needed with mesa 7.12-devel egl display autodetection. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f389cacc20 
								
							
								 
							
						 
						
							
							
								
								Move away from visuals and just use EGLConfigs or shm format tokens  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								6da3812f0a 
								
							
								 
							
						 
						
							
							
								
								gears: Don't schedule redraw, just draw from frame callback  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								2821aaaf9c 
								
							
								 
							
						 
						
							
							
								
								simple-shm: Fix inverted logic  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								2415990461 
								
							
								 
							
						 
						
							
							
								
								clients: Remove a few unused variables  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								26130866c6 
								
							
								 
							
						 
						
							
							
								
								terminal: Fix unused return value warnings  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								9de79a92a6 
								
							
								 
							
						 
						
							
							
								
								window.c: Drop global handler argument  
							
							... 
							
							
 
							
							We can just register a global handler directly on the wl_display now. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a8d1fa762e 
								
							
								 
							
						 
						
							
							
								
								clients: Bring clients up to date  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								f790c79ec7 
								
							
								 
							
						 
						
							
							
								
								Use wl_display_bind() for binding to globals  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								334182062f 
								
							
								 
							
						 
						
							
							
								
								Use the new wl_callback interface  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								8417d432f5 
								
							
								 
							
						 
						
							
							
								
								screenshot: A couple of minor tweaks  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								4d0d2037ea 
								
							
								 
							
						 
						
							
							
								
								screenshot: use gdk-pixbuf for writing png images  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								2669f72e95 
								
							
								 
							
						 
						
							
							
								
								clients: Rename simple-client to simple-egl  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								93165e3e23 
								
							
								 
							
						 
						
							
							
								
								configure: set up simple clients independently from the others  
							
							... 
							
							
 
							
							Namely, simple-client and simple-shm.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								e81fe8346c 
								
							
								 
							
						 
						
							
							
								
								clients: simple-shm: remove unused libraries and headers  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								79caa757c9 
								
							
								 
							
						 
						
							
							
								
								simple-shm: assert display conection  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								22d5481f91 
								
							
								 
							
						 
						
							
							
								
								window.c: Fix compile/run using cairo without egl  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								97ba2e6015 
								
							
								 
							
						 
						
							
							
								
								clients: Add a simple shared memory client  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								14f7ff91ad 
								
							
								 
							
						 
						
							
							
								
								window: Set egl_window_resize late and once  
							
							... 
							
							
 
							
							Previously we resized in attach_surface and create_surface.
THe second resize overwrote dx or dy from the first. 
							
						 
						
							15 years ago