d2267824b3 
					 
					
						
						
							
							wayland: Refactor the keymap handling so it is associated with device  
						
						... 
						
						
						
						Although GDK expects the keymap to be associated with the display under
Wayland this is really associated with the input device so expose this by
finding the first keyboard device.
Signed-off-by: Rob Bradford <rob@linux.intel.com > 
						
						
					 
					
						2012-07-16 20:11:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						21f4b1cb35 
					 
					
						
						
							
							wayland: Use the correct union member for axis events  
						
						... 
						
						
						
						Otherwise we end up overriding other members of the struct (in this case the
device pointer) and generate an error. 
						
						
					 
					
						2012-07-16 15:38:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a93f246056 
					 
					
						
						
							
							wayland: implementation of pointer_handle_axis.  
						
						... 
						
						
						
						We translate wayland pointer axis events to GDK smooth scroll events, to
implement pointer_handle_axis events.
https://bugzilla.gnome.org/show_bug.cgi?id=679986 
Signed-off-by: Rob Bradford <rob@linux.intel.com > 
						
						
					 
					
						2012-07-16 15:37:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d8d4eb3faa 
					 
					
						
						
							
							wayland: Implement the keyboard_enter/keyboard_leave events  
						
						... 
						
						
						
						This code is derived from the old keyboard focus change event handling. 
						
						
					 
					
						2012-07-16 13:44:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3f0f328fd1 
					 
					
						
						
							
							wayland: data_device.data_offer now has a safe object wrapper  
						
						... 
						
						
						
						The prototype for the listener has changed to provide a typesafe object rather
than an id that you have to bind into an object yourself. 
						
						
					 
					
						2012-07-16 13:44:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1d080a01c1 
					 
					
						
						
							
							wayland: Process the keymap that is sent over from the compositor  
						
						... 
						
						
						
						Load the keymap from the file descriptor that the compositor has sent us and
then save that into our internal object for future use. 
						
						
					 
					
						2012-07-16 13:44:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						19d16f8b80 
					 
					
						
						
							
							wayland: Expose _gdk_wayland_display_get_keymap internally  
						
						
						
						
					 
					
						2012-07-16 13:44:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						91a11ee277 
					 
					
						
						
							
							wayland: Ensure we destroy the shell surface when destroying the surface  
						
						... 
						
						
						
						Otherwise we can try and use an invalid object that the compositor has already
deleted. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8bd1478596 
					 
					
						
						
							
							wayland: wl_shell_surface_set_popup requires a valid seat and serial  
						
						... 
						
						
						
						If we don't have our own grab then get the grab from the parent. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5b81186be3 
					 
					
						
						
							
							wayland: Protocol update: wl_pointer_set_cursor takes a serial  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						310fd40357 
					 
					
						
						
							
							wayland: Protocol update: wl_shell_surface_resize and _move take serials  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9f039e5b74 
					 
					
						
						
							
							wayland: Save the serial number for the ping event  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a4f032f1ea 
					 
					
						
						
							
							wayland: Save the serial numbers for the pointer events  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7fe87016f3 
					 
					
						
						
							
							wayland: Add internal API for handling Wayland serial numbers  
						
						... 
						
						
						
						We need to keep track of the serial numbers for various API requests. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17d1c3c833 
					 
					
						
						
							
							wayland: Ensure that _get_client_pointer returns a pointer  
						
						... 
						
						
						
						The previous implementation could return a device that is a keyboard. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						77791f0708 
					 
					
						
						
							
							wayland: Port to libxkbcommon API changes  
						
						... 
						
						
						
						xkb_string_to_keysym -> xkb_keysym_from_name
xkb_keysym_get_name -> xkb_keysym_get_name 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93a338245a 
					 
					
						
						
							
							wayland: Switch to new wayland cursors mechanism  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						33b9f8e1b8 
					 
					
						
						
							
							wayland: Protocol change: wl_buffer_damage  
						
						... 
						
						
						
						wl_buffer_damage is no longer necessary - it is sufficient to damage the
surface that the buffer is attached to instead. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6cdb75256e 
					 
					
						
						
							
							wayland: Protocol change: configure event  
						
						... 
						
						
						
						The 'time' value has been removed. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0d1ae2e0dd 
					 
					
						
						
							
							wayland: Protocol change: wl_shell_surface_* take surfaces for parents  
						
						... 
						
						
						
						These functions used to take shell_surface objects and now take surface
objects the parents. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8d7869ecbb 
					 
					
						
						
							
							wayland: Remove unused variable  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						598c1b27fe 
					 
					
						
						
							
							wayland: Temporary disable/hackaround keyboard code  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f20ac38315 
					 
					
						
						
							
							wayland: Port to SHM pool allocation mechanism  
						
						
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3eb0b195ed 
					 
					
						
						
							
							wayland: Port to new input protocol mechanism  
						
						... 
						
						
						
						This replaces the wl_input_device with wl_pointer, wl_keyboard, wl_touch all
tied together under a wl_seat.
This is quite a radical change in protocol and for now keyboard handling is
disabled. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b1a5b19b4a 
					 
					
						
						
							
							wayland: Load cursor theme using new Wayland cursor library  
						
						... 
						
						
						
						This requires the SHM object be initialised - therefore this is the most
logical (if slightly ugly place.)
We also need to make sure that we do something clever to load the correct
cursor theme. 
						
						
					 
					
						2012-07-12 15:58:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2928ffc7b1 
					 
					
						
						
							
							wayland: Remove unhelpful debug message  
						
						
						
						
					 
					
						2012-07-12 15:58:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						936ceb84b5 
					 
					
						
						
							
							wayland: Protocol change: ping event on shell_surface  
						
						
						
						
					 
					
						2012-07-12 15:58:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a9dc48ce94 
					 
					
						
						
							
							wayland: Update to new header path for xkbcommon  
						
						
						
						
					 
					
						2012-07-12 15:58:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bd3e3974c9 
					 
					
						
						
							
							Change signal parameter names in GdkWindow to be valid C identifiers  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=679228  
					
						2012-07-11 07:24:47 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fd6ce9975e 
					 
					
						
						
							
							Bug 676077: Fix handling of Keyboard Input on Windows  
						
						... 
						
						
						
						Don't use ASCII control characters to denote the input of Esc, Tab,
Return/Enter, Backspace and Delete, as it seems that it is not how
Windows handle them, and they cause weird characters to appear in the
input field on GTK+3 programs in non-English Windows.  Instead, let
these keys be handled as-is on Windows, like what is done in GTK+-2.x.
Checked with mclasen on IRC, and thanks to the people who verified the
patch to not break anything on English Windows. 
						
						
					 
					
						2012-06-25 23:23:01 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						116b5e560f 
					 
					
						
						
							
							GdkDevice: Fix an inverted assertion  
						
						... 
						
						
						
						gdk_device_list_slave_devices only makes sense to call on master
devices, yet its g_return_if_fail check made it reject such devices.
Pointed out by monty. 
						
						
					 
					
						2012-06-20 22:44:32 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bba72eae50 
					 
					
						
						
							
							Fix windres invocation  
						
						... 
						
						
						
						Signed-off-by: Chun-wei Fan <fanchunwei@src.gnome.org > 
						
						
					 
					
						2012-06-19 12:16:15 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						61972a3f8d 
					 
					
						
						
							
							gdk: annotate the attributes_mask type for gdk_window_new  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=670369  
					
						2012-06-11 22:34:35 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ab976ac8c1 
					 
					
						
						
							
							gdk: add a missing annotation to GdkEventProperty  
						
						... 
						
						
						
						Its 'state' field is of type GdkPropertyState.
https://bugzilla.gnome.org/show_bug.cgi?id=677775  
						
						
					 
					
						2012-06-10 22:22:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e6149931c9 
					 
					
						
						
							
							gdk: add missing annotations to gdk_event_get_scroll_deltas  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=677774  
					
						2012-06-10 22:21:32 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f27ed9ae80 
					 
					
						
						
							
							Correct the docs for GDK_MSB_FIRST  
						
						... 
						
						
						
						https://bugzilla.gnome.org/show_bug.cgi?id=571254  
					
						2012-05-26 14:40:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						11aac235bc 
					 
					
						
						
							
							docs: Escape bare '#' in GdkRGBA string definitions  
						
						... 
						
						
						
						GTK-Doc does not like bare '#', so let's turn them into #. 
						
						
					 
					
						2012-05-20 13:45:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a47f22f5b 
					 
					
						
						
							
							Add since annotations to some enum values  
						
						... 
						
						
						
						The things related to touch and smooth scrolling were 3.4 additions,
so mark them as such.
https://bugzilla.gnome.org/show_bug.cgi?id=676329  
						
						
					 
					
						2012-05-19 12:20:58 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d6aee922bb 
					 
					
						
						
							
							Bug 676087-configure.ac: isnan() and isinf() are macros, not functions  
						
						... 
						
						
						
						The isnan() and isinf() are C99 macros not functions so use
AC_CHECK_DECL instead of AC_CHECK_FUNCS for those. 
						
						
					 
					
						2012-05-16 23:55:40 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						16458b0de2 
					 
					
						
						
							
							Fix a case of 'stuck grab'  
						
						... 
						
						
						
						This was showing up when using a combo box in list mode. After popping
up the list, the keyboard grab appeared stuck. What was stuck here is
only the client-side grab, since we forgot to clean up our grabs
when receiving an UnmapNotify.
This bug was introduced in 1c97003664 
						
						
					 
					
						2012-05-16 17:34:36 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7babd3847a 
					 
					
						
						
							
							gdk: fix the build  
						
						... 
						
						
						
						Regression from commit 861c57e304 
						
						
					 
					
						2012-05-15 13:27:21 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						861c57e304 
					 
					
						
						
							
							gdkoffscreenwindow: Don't crash when resetting cursor  
						
						... 
						
						
						
						When the toplevel is a GdkOffscreenWindow which doesn't
implement the set_device_cursor() vfunc, we would have
crashed. Implement a dummy ->set_device_cursor vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=675809  
						
						
					 
					
						2012-05-15 18:05:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c6b54aa44 
					 
					
						
						
							
							Revert "gdk: Don't crash when resetting cursor"  
						
						... 
						
						
						
						Patch didn't get reviewed yet.
This reverts commit 779591b62f 
						
						
					 
					
						2012-05-15 17:57:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						779591b62f 
					 
					
						
						
							
							gdk: Don't crash when resetting cursor  
						
						... 
						
						
						
						When the toplevel is a GdkOffscreenWindow which doesn't
implement the set_device_cursor() vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=675809  
						
						
					 
					
						2012-05-15 17:49:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f77b690e26 
					 
					
						
						
							
							GDK X11 DND: Fix infinite loop  
						
						... 
						
						
						
						Related: https://bugzilla.gnome.org/show_bug.cgi?id=664646  
						
						
					 
					
						2012-05-14 23:02:23 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d4b38c5806 
					 
					
						
						
							
							quartz: Ignore events from all mouse buttons past the resize boundary  
						
						... 
						
						
						
						Before, right click events were still let through into GDK. In this
case, also middle/right button events with x-coordinates in the range
[-3, 0] are processed, resulting in failures/crashes in the window
finding code because no GdkWindows are present in this range. 
						
						
					 
					
						2012-05-13 18:20:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						859b6888c7 
					 
					
						
						
							
							[broadway] Fixup build  
						
						... 
						
						
						
						Seems the return value of device_query_state was removed, it was
TRUE always anyway. 
						
						
					 
					
						2012-05-11 14:49:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7915388017 
					 
					
						
						
							
							quartz: handle yet another dead tilde variant  
						
						... 
						
						
						
						which is delivered by the US-International keyboard layout. 
						
						
					 
					
						2012-05-08 16:07:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						78638f798b 
					 
					
						
						
							
							broadway: Fix vfunc prototype  
						
						
						
						
					 
					
						2012-05-07 04:12:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4884a7c1af 
					 
					
						
						
							
							gdk: do not send leave event on touchpad button release  
						
						... 
						
						
						
						This is along the changes introduced in
bd55519f7ehttps://bugzilla.gnome.org/show_bug.cgi?id=674549  
						
						
					 
					
						2012-05-05 14:39:37 -04:00