New function, return TRUE. (gdk_display_supports_input_shapes): New

2006-02-20  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes):
	New function, return TRUE.
	(gdk_display_supports_input_shapes): New function, return FALSE.
This commit is contained in:
Tor Lillqvist 2006-02-20 10:10:27 +00:00 committed by Tor Lillqvist
parent f251cf42fd
commit 3cb8a43a25
3 changed files with 28 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2006-02-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes):
New function, return TRUE.
(gdk_display_supports_input_shapes): New function, return FALSE.
* gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New
function. Factor out code from gdk_window_shape_combine_mask().
(gdk_window_shape_combine_region): Actually do something. Convert

View File

@ -1,5 +1,9 @@
2006-02-20 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes):
New function, return TRUE.
(gdk_display_supports_input_shapes): New function, return FALSE.
* gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New
function. Factor out code from gdk_window_shape_combine_mask().
(gdk_window_shape_combine_region): Actually do something. Convert

View File

@ -369,3 +369,23 @@ gdk_display_store_clipboard (GdkDisplay *display,
gint n_targets)
{
}
gboolean
gdk_display_supports_shapes (GdkDisplay *display)
{
g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
return TRUE;
}
gboolean
gdk_display_supports_input_shapes (GdkDisplay *display)
{
g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE);
/* Not yet implemented. See comment in
* gdk_window_input_shape_combine_mask().
*/
return FALSE;
}