f22d0ecd97 
								
							
								 
							
						 
						
							
							
								
								dnd: fix segfault on grabbing  
							
							... 
							
							
 
							
							Some cursor themes don't include a "grabbing" icon, causing a segfault.
This patch fixes this by just reverting to the stardard cursor instead.
https://bugs.freedesktop.org/show_bug.cgi?id=50487  
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								0fd49aa886 
								
							
								 
							
						 
						
							
							
								
								dnd: Clip flowers to window content area  
							
							... 
							
							
 
							
							https://bugs.freedesktop.org/show_bug.cgi?id=52420  
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								a1627927c7 
								
							
								 
							
						 
						
							
							
								
								window: Compute initial window size correctly  
							
							... 
							
							
 
							
							We didn't take decoration size into account before. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5a4e9ff51b 
								
							
								 
							
						 
						
							
							
								
								window.c: Drop timestamp argument to input_set_pointer_image()  
							
							... 
							
							
 
							
							We need the serial to set a pointer image and we track that internally. 
							
						 
						
							14 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  
				
					
						
							
							
								 
						
							
							
								08bcf14903 
								
							
								 
							
						 
						
							
							
								
								dnd: implement option for not offering data to other clients  
							
							... 
							
							
 
							
							Add option --self-only to dnd client. If this options is passed, the
drag will be started with no data source so that no drag and drop
events are sent to other clients. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								210eb9d2ba 
								
							
								 
							
						 
						
							
							
								
								dnd: work around cairo-gl brokenness  
							
							... 
							
							
 
							
							If cairo-gl is used, display_create_surface() will create an
wl_egl_window for each surface and this will result in errors if this
surface is used as a source. Also, one can't get a wl_buffer for such
a surface wich led to crashes when trying to do so for the drag icon.
This patch works around both problems by forcing the item and drag icon
surfaces to use shm. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								5a315bc72d 
								
							
								 
							
						 
						
							
							
								
								Move cairo-util to shared/  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								a6c8b0084f 
								
							
								 
							
						 
						
							
							
								
								window.c: Drop the toolkit grab when we start a compositor grab  
							
							... 
							
							
 
							
							We do this right for move and resize, but dnd and popups need the same
treatment. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								eae5de7609 
								
							
								 
							
						 
						
							
							
								
								Follow wayland change to serial numbers  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3685c3abf6 
								
							
								 
							
						 
						
							
							
								
								Fix `unused-result' warnings.  
							
							... 
							
							
 
							
							Signed-off-by: Jonas Ådahl <jadahl@gmail.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								875ab9e735 
								
							
								 
							
						 
						
							
							
								
								Add signedness warning flag and fix fallout  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								679f716088 
								
							
								 
							
						 
						
							
							
								
								dnd: Damage surface after attaching new buffer  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a8ae8a9135 
								
							
								 
							
						 
						
							
							
								
								clients: Fix a couple of warnings  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								e47c3a342b 
								
							
								 
							
						 
						
							
							
								
								clients/dnd: adapt to new data_device icon protocol  
							
							... 
							
							
 
							
							Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								009ac0a965 
								
							
								 
							
						 
						
							
							
								
								window: Dont take width and height in window constructor  
							
							... 
							
							
 
							
							Always set this by scheduling an initial resize. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								bb97700474 
								
							
								 
							
						 
						
							
							
								
								window: Get rid of the window child allocation concept  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								bb901fac90 
								
							
								 
							
						 
						
							
							
								
								window: Return pointer type from widget enter handler  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								a8a0db3497 
								
							
								 
							
						 
						
							
							
								
								window: Move button handler to widget  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								19dd1d7eb1 
								
							
								 
							
						 
						
							
							
								
								window: Use the window widget instead of adding a window sized widget  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								5f190ef96a 
								
							
								 
							
						 
						
							
							
								
								window: Convert a few clients to use widget  motion handler  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								ac7619f3f4 
								
							
								 
							
						 
						
							
							
								
								dnd: Use a widget for enter/leave handling  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								47fe08aad5 
								
							
								 
							
						 
						
							
							
								
								Implement the new dnd/selection protocol  
							
							... 
							
							
 
							
							The new protocol splits dnd/selection from wl_shell and allows us to move
the implementation out of shell.c. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								50719bce2a 
								
							
								 
							
						 
						
							
							
								
								Fix inconsistent #include style  
							
							... 
							
							
 
							
							Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								a8d1fa762e 
								
							
								 
							
						 
						
							
							
								
								clients: Bring clients up to date  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								3be87d1931 
								
							
								 
							
						 
						
							
							
								
								window: Add support for opaque windows  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								7cbdb64ab6 
								
							
								 
							
						 
						
							
							
								
								Fix clients to work with wl_ prefixed interface names  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								91342c6081 
								
							
								 
							
						 
						
							
							
								
								Switch to new subscribe protocol and wayland-egl  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								b4b67344f0 
								
							
								 
							
						 
						
							
							
								
								Define global handler on display creation  
							
							... 
							
							
 
							
							Otherwise the initial announcement of interfaces gets lost. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								6693ac2108 
								
							
								 
							
						 
						
							
							
								
								window: Use window surfaces for windows  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								00439617f3 
								
							
								 
							
						 
						
							
							
								
								Fix new gcc 4.6 warnings  
							
							... 
							
							
 
							
							simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable]
etc. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								248c1b61ce 
								
							
								 
							
						 
						
							
							
								
								Add an orange pop-up menu to test the new map_transient request  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								e164e4ef72 
								
							
								 
							
						 
						
							
							
								
								Use cairo_push_group() for all double buffering, drop window_copy_*()  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								943741cb40 
								
							
								 
							
						 
						
							
							
								
								Use the global handler in dnd instead of custom drag_offer hook  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								da846ca91d 
								
							
								 
							
						 
						
							
							
								
								Fix terminal resizing  
							
							... 
							
							
 
							
							Get snapping to character grid working again, avoid crashes when attempting
to resize below 1x1 character cell, only redraw when size actually changes.
Also, rename window_get_child_rectangle() to window_get_child_allocation(). 
							
						 
						
							15 years ago