[gtk+/gdk-backend-wayland] wayland: Pretend selection works, print debug message



commit 1b918d1b9316b23419de74b14f9518ed02937428
Author: Kristian Høgsberg <krh bitplanet net>
Date:   Thu Feb 10 10:54:10 2011 -0500

    wayland: Pretend selection works, print debug message

 gdk/wayland/gdkselection-wayland.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c
index 0faf822..6c904a1 100644
--- a/gdk/wayland/gdkselection-wayland.c
+++ b/gdk/wayland/gdkselection-wayland.c
@@ -39,7 +39,10 @@ _gdk_wayland_display_set_selection_owner (GdkDisplay *display,
 					  guint32     time,
 					  gboolean    send_event)
 {
-  return FALSE;
+  fprintf(stderr, "set selection owner: atom %ld, owner %p\n",
+	  selection, owner);
+
+  return TRUE;
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]