d962be1493 
								
							
								 
							
						 
						
							
							
								
								client: fix spelling mistake  
							
							... 
							
							
 
							
							Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1f6b0d1d2c 
								
							
								 
							
						 
						
							
							
								
								clients: Update boilerplate from MIT X11 license to MIT Expat licenses  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								2a18a52844 
								
							
								 
							
						 
						
							
							
								
								remove trailing whitespaces  
							
							... 
							
							
 
							
							Remove trailing whitespaces because they are not needed and jumping to
the end of al ine should do just that and not jump to the whitespace. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								31732f7c68 
								
							
								 
							
						 
						
							
							
								
								Clients: Fix memleak issues in various clients of weston  
							
							... 
							
							
 
							
							In many clients of weston, Display was not being destroyed so added it.
Also destroy windows, widgets which were not being destroyed.
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
Reviewed-by: Bryce Harrington <b.harrington@samsung.com> 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9cd661e746 
								
							
								 
							
						 
						
							
							
								
								Make sure config.h is included before any system headers  
							
							... 
							
							
 
							
							There was an issue recently in screen-share.c where config.h was not
being included, resulting in the wrong definition for off_t being used on
32 bit systems. I checked and I don't think this problem is happening
elsewhere, but to help avoid this sort of problem in the future, I went
through and made sure that config.h is included first whenever system
headers are included.
The config.h header should be included before any system headers, failing
to do this can result in the wrong type sizes being defined on certain
systems, e.g. off_t from sys/types.h
Signed-off-by: Andrew Wedgbury <andrew.wedgbury@realvnc.com> 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								01eaaac79a 
								
							
								 
							
						 
						
							
							
								
								westoy: Remove window_touch_move  
							
							... 
							
							
 
							
							It seems to be the same as window_move, except it ignores the passed
in serial (???) and instead just uses the one of the display. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1084da506e 
								
							
								 
							
						 
						
							
							
								
								Add touch support for wl_shell_surface_move  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c814c58adc 
								
							
								 
							
						 
						
							
							
								
								Drop extraneous duplicate header includes  
							
							... 
							
							
 
							
							Signed-off-by: Bryce Harrington <b.harrington@samsung.com> 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4172f668e7 
								
							
								 
							
						 
						
							
							
								
								Pass argc pointer to parse_options()  
							
							... 
							
							
 
							
							This lets us keep argc up to date as the backend picks out arguments
from the argv array. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								bf74d5242a 
								
							
								 
							
						 
						
							
							
								
								window: Add a widget default cursor convenience helper  
							
							... 
							
							
 
							
							In a few cases, we set a motion handler just to be able to set a fixed
cursor.  This adds a default cursor helper that can be used in those cases.
In case of the 'transformed' test case, we also avoid a brief flicker
of the pointer cursor, which is set on enter when the move grab is lifted. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								01a9f1b992 
								
							
								 
							
						 
						
							
							
								
								clients: Set title for all shell surface demos.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								4dbadb1556 
								
							
								 
							
						 
						
							
							
								
								Use enum wl_pointer_button_state instead of integer  
							
							... 
							
							
 
							
							Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_pointer_button_state enum, and explicit comparisons.
Signed-off-by: Daniel Stone <daniel@fooishbar.org> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								dc8c8fce72 
								
							
								 
							
						 
						
							
							
								
								window: rename enum pointer_type to cursor_type  
							
							... 
							
							
 
							
							This avoids confusion with the pointer devices (struct wl_pointer). 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								d8f527c845 
								
							
								 
							
						 
						
							
							
								
								window: track changes in libwayland-cursor api  
							
							... 
							
							
 
							
							libwayland-cursor does not provide enum wl_cursor_type anymore so this
brings back enum pointer_type.
This partially revers commit 1042dc15e0 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								1042dc15e0 
								
							
								 
							
						 
						
							
							
								
								window: use libwayland-cursor instead of libXcursor  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								4c3dac9c66 
								
							
								 
							
						 
						
							
							
								
								clients: Remove superfluous #includes  
							
							... 
							
							
 
							
							In particular window.c and many clients were including glib.h without
using it and without the right cflags. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								80680c7b75 
								
							
								 
							
						 
						
							
							
								
								window.c: Just use float instead of GLfloat, remove GLES2.h include  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								b230a7ee58 
								
							
								 
							
						 
						
							
							
								
								Convert internal input co-ordinates to GLfloat  
							
							... 
							
							
 
							
							Change all client motion handlers to take GLfloat for co-ordinates,
rather than int32_t.
Signed-off-by: Daniel Stone <daniel@fooishbar.org> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5d66371743 
								
							
								 
							
						 
						
							
							
								
								Change button from int to uint32_t  
							
							... 
							
							
 
							
							Since you can't really have a negative button number.
Signed-off-by: Daniel Stone <daniel@fooishbar.org> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								da5b93c8d7 
								
							
								 
							
						 
						
							
							
								
								Change key/button grab bindings to take unsigned state  
							
							... 
							
							
 
							
							'state' here meaning 'is it up or down?', obviously.
Signed-off-by: Daniel Stone <daniel@fooishbar.org> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								eae5de7609 
								
							
								 
							
						 
						
							
							
								
								Follow wayland change to serial numbers  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								bcacef19b0 
								
							
								 
							
						 
						
							
							
								
								Add an option parser  
							
							... 
							
							
 
							
							On one hand, getopt (in particular the -o suboption syntax) sucks on the
server side, and on the client side we would like to avoid the glib
dependency.  We can roll out own option parser and solve both problems
and save a few lines of code total. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								009ac0a965 
								
							
								 
							
						 
						
							
							
								
								window: Dont take width and height in window constructor  
							
							... 
							
							
 
							
							Always set this by scheduling an initial resize. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								8e054f76cc 
								
							
								 
							
						 
						
							
							
								
								flower: Dont allow resizing  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								c25a1d73fc 
								
							
								 
							
						 
						
							
							
								
								flower: Redraw flower on middle click, pop up window menu on right click  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								29af3ebce6 
								
							
								 
							
						 
						
							
							
								
								window: Make decorations just a widget  
							
							... 
							
							
 
							
							Woohoo, only took 25 commits of refactoring to get to this point. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								b67e94b170 
								
							
								 
							
						 
						
							
							
								
								window: Make resize and redraw handlers widget vfuncs  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5d12990dbe 
								
							
								 
							
						 
						
							
							
								
								window: Allocate and flush the window surface in window.c  
							
							... 
							
							
 
							
							No need to push this to the toolkit users. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								75bc667a70 
								
							
								 
							
						 
						
							
							
								
								window: Drop the window widget  
							
							... 
							
							
 
							
							It was just a temporary convenience for moving things over. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a8a0db3497 
								
							
								 
							
						 
						
							
							
								
								window: Move button handler to widget  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								87a57bbd73 
								
							
								 
							
						 
						
							
							
								
								window: Create a widget for the window, drop window motion handler  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								50719bce2a 
								
							
								 
							
						 
						
							
							
								
								Fix inconsistent #include style  
							
							... 
							
							
 
							
							Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3a69627f43 
								
							
								 
							
						 
						
							
							
								
								window: Stop using glib mainloop in toy toolkit  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								b4b67344f0 
								
							
								 
							
						 
						
							
							
								
								Define global handler on display creation  
							
							... 
							
							
 
							
							Otherwise the initial announcement of interfaces gets lost. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								297c6313eb 
								
							
								 
							
						 
						
							
							
								
								Port window.c to use wayland-egl  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								248c1b61ce 
								
							
								 
							
						 
						
							
							
								
								Add an orange pop-up menu to test the new map_transient request  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								82da52b15b 
								
							
								 
							
						 
						
							
							
								
								Update surface.attach and change surface.map to surface.map_toplevel  
							
							... 
							
							
 
							
							The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer.  The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								e9f5e36730 
								
							
								 
							
						 
						
							
							
								
								Make clients exit orderly when there is no connection  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								012a007771 
								
							
								 
							
						 
						
							
							
								
								Add small client for testing shm surfaces  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								9d69f8e796 
								
							
								 
							
						 
						
							
							
								
								Replace commit/ack/frame protocol with simpler sync and frame callbacks  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								8ca1cc20a1 
								
							
								 
							
						 
						
							
							
								
								flower: Clear surface  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								c8c3734ef9 
								
							
								 
							
						 
						
							
							
								
								Set window user data using separate function  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								478d9265f9 
								
							
								 
							
						 
						
							
							
								
								Send device name at connect time  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								7824d81e07 
								
							
								 
							
						 
						
							
							
								
								Consolidate more code in clients/window.c  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								a85fe3cf45 
								
							
								 
							
						 
						
							
							
								
								Use cairo-gl in clients  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								b2a432ef18 
								
							
								 
							
						 
						
							
							
								
								Move clients to subdirectory  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								d923e9d93b 
								
							
								 
							
						 
						
							
							
								
								Replace cairo_drm_device_t with cairo_device_t  
							
							
 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								2644910241 
								
							
								 
							
						 
						
							
							
								
								Update to track the cairo_drm_device_t rename  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								57b751b0c3 
								
							
								 
							
						 
						
							
							
								
								Fix flower client.  
							
							
 
							
						 
						
							25 years ago