[gtk+/wip/clipboard] Add a quick todo list



commit 867cd7e715746573ae409841d1d2d8f1f2ff7d08
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 16 08:29:54 2014 -0400

    Add a quick todo list

 gdk/x11/gdkclipboard-x11.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkclipboard-x11.c b/gdk/x11/gdkclipboard-x11.c
index fec9d4e..80d060c 100644
--- a/gdk/x11/gdkclipboard-x11.c
+++ b/gdk/x11/gdkclipboard-x11.c
@@ -15,6 +15,13 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+/* Open issues:
+ * - suppport other image formats
+ * - implement MULTIPLE
+ * - implement INCR
+ * - cache remote data and shortcut
+ */
+
 #include "config.h"
 
 #include "gdkclipboardprivate.h"
@@ -996,7 +1003,7 @@ gdk_clipboard_x11_handle_selection_owner_change (GdkClipboardX11 *cb,
   if (cb->xselection != event->selection)
    return FALSE;
 
-  if (event->owner != None && event->owner != cb->xowner)
+  if (event->owner != cb->xowner)
     {
       _gdk_clipboard_set_available_content (GDK_CLIPBOARD (cb), NO_CONTENT, NULL);
       gdk_clipboard_x11_get_targets_async (cb, NULL, targets_received, NULL);


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