summaryrefslogtreecommitdiff
path: root/gdk/directfb
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-06-01 12:16:12 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-06-01 12:16:12 +0000
commit885ba0464824c56137d7b4f9182930066463291c (patch)
tree444382dc37906067546e5701eb022a0262b5f792 /gdk/directfb
parent62c13f04630c74cb98053586c6870a87a6a8e1d9 (diff)
downloadgtk+-885ba0464824c56137d7b4f9182930066463291c.tar.gz
Add support for composited child windows. (#412882, Ryan Lortie)
2007-06-01 Matthias Clasen <mclasen@redhat.com> Add support for composited child windows. (#412882, Ryan Lortie) * gdk/gdk.symbols: * gdk/gdkdisplay.h: * gdk/gdkinternals.h: * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and gdk_window_set_composited(). * gdk/x11/gdkevents-x11.c: * gdk/x11/gdkdisplay-x11.[hc]: * gdk/x11/gdkwindow-x11.[hc]: X11 implementation. * gdk/win32/gdkdisplay-win32.c: * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration. * gdk/quartz/gdkdisplay-quartz.c: * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation. * gdk/directfb/gdkdisplay-directfb.c: * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation. * tests/testgtk.c: Add a "composited window" test. svn path=/trunk/; revision=18004
Diffstat (limited to 'gdk/directfb')
-rw-r--r--gdk/directfb/gdkdisplay-directfb.c7
-rw-r--r--gdk/directfb/gdkwindow-directfb.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/gdk/directfb/gdkdisplay-directfb.c b/gdk/directfb/gdkdisplay-directfb.c
index 9cf7a2fdb1..04275fee27 100644
--- a/gdk/directfb/gdkdisplay-directfb.c
+++ b/gdk/directfb/gdkdisplay-directfb.c
@@ -511,6 +511,13 @@ gdk_notify_startup_complete_with_id (const gchar* startup_id)
{
}
+
+gboolean
+gdk_display_supports_composite (GdkDisplay *display)
+{
+ return FALSE;
+}
+
#define __GDK_DISPLAY_X11_C__
#include "gdkaliasdef.c"
diff --git a/gdk/directfb/gdkwindow-directfb.c b/gdk/directfb/gdkwindow-directfb.c
index 59e28b7393..7fe3911852 100644
--- a/gdk/directfb/gdkwindow-directfb.c
+++ b/gdk/directfb/gdkwindow-directfb.c
@@ -3038,6 +3038,14 @@ gdk_window_set_opacity (GdkWindow *window,
cardinal = opacity * 0xff;
gdk_directfb_window_set_opacity(window,cardinal);
}
+
+void
+_gdk_windowing_window_set_composited (GdkWindow *window,
+ gboolean composited)
+{
+}
+
+
#define __GDK_WINDOW_X11_C__
#include "gdkaliasdef.c"