4c4bb953fc 
								
							
								 
							
						 
						
							
							
								
								Rename invocations of frame_create that were missed by  ee7fefcf 
							
							... 
							
							
 
							
							For some reason it not only compiled with different parameters but the
method succeeded and just failed later. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f3d62276d2 
								
							
								 
							
						 
						
							
							
								
								malloc + memset -> zalloc  
							
							... 
							
							
 
							
							And for clients using the xmalloc helper, use xzalloc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								2995c517c5 
								
							
								 
							
						 
						
							
							
								
								gears: Keep gears inside screen in fullscreen mode  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								7679d9a62e 
								
							
								 
							
						 
						
							
							
								
								gears: add a warning about refresh rate limitation  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								a1d0cf5d69 
								
							
								 
							
						 
						
							
							
								
								gears: show FPS count (as in glxgears from mesa/demos)  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								fa820efaf0 
								
							
								 
							
						 
						
							
							
								
								gears: add fullscreen support  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								7890c4d36d 
								
							
								 
							
						 
						
							
							
								
								gears: Allow model rotation with pointer  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								875ab9e735 
								
							
								 
							
						 
						
							
							
								
								Add signedness warning flag and fix fallout  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								010f98b083 
								
							
								 
							
						 
						
							
							
								
								window: Track and report input and opaque regions  
							
							... 
							
							
 
							
							We just set the input region to the bounding box of the window frame
and set the opaque region to be the opaque rectangle inside the window
if the child widget is opaque. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								0a26641626 
								
							
								 
							
						 
						
							
							
								
								clients: fix spelling  
							
							... 
							
							
 
							
							Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.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  
				
					
						
							
							
								 
						
							
							
								5f5324e098 
								
							
								 
							
						 
						
							
							
								
								gears: Make window transparent  
							
							... 
							
							
 
							
							We need this for the window decorations. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								c5241f5b73 
								
							
								 
							
						 
						
							
							
								
								Never include wayland-util.h directly  
							
							... 
							
							
 
							
							And fix a missing "" to <> conversion for wayland-client.h include. 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								50719bce2a 
								
							
								 
							
						 
						
							
							
								
								Fix inconsistent #include style  
							
							... 
							
							
 
							
							Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								3a69627f43 
								
							
								 
							
						 
						
							
							
								
								window: Stop using glib mainloop in toy toolkit  
							
							
 
							
						 
						
							14 years ago  
				
					
						
							
							
								 
						
							
							
								6da3812f0a 
								
							
								 
							
						 
						
							
							
								
								gears: Don't schedule redraw, just draw from frame callback  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								b4b67344f0 
								
							
								 
							
						 
						
							
							
								
								Define global handler on display creation  
							
							... 
							
							
 
							
							Otherwise the initial announcement of interfaces gets lost. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								cff904e69d 
								
							
								 
							
						 
						
							
							
								
								gears: Use wayland egl surface instead of images  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								6693ac2108 
								
							
								 
							
						 
						
							
							
								
								window: Use window surfaces for windows  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								ec4d342aa9 
								
							
								 
							
						 
						
							
							
								
								Support per surface frame events  
							
							... 
							
							
 
							
							This fixes tearing with multi head. 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								f57a96f98d 
								
							
								 
							
						 
						
							
							
								
								gears: Remove unused drm_fd field  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								297c6313eb 
								
							
								 
							
						 
						
							
							
								
								Port window.c to use wayland-egl  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								8def264241 
								
							
								 
							
						 
						
							
							
								
								Check for cairo-egl instead of just cairo-gl  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								96ce968b12 
								
							
								 
							
						 
						
							
							
								
								gears: Include config.h  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								1926ebab73 
								
							
								 
							
						 
						
							
							
								
								Add missing newline in gears error message  
							
							
 
							
						 
						
							15 years ago  
				
					
						
							
							
								 
						
							
							
								9835417962 
								
							
								 
							
						 
						
							
							
								
								Workaround gears depending on cairo-gl  
							
							... 
							
							
 
							
							Extremely hacky, but at least it doesn't stop the build anymore. 
							
						 
						
							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