[gtk+] broadway: Collect and document some TODOs



commit 59830a9001bdd955e51348800b3a9af1b32616dc
Author: Alexander Larsson <alexl redhat com>
Date:   Sun Dec 23 22:46:29 2012 +0100

    broadway: Collect and document some TODOs

 gdk/broadway/broadwayd.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gdk/broadway/broadwayd.c b/gdk/broadway/broadwayd.c
index b6841f5..62685ad 100644
--- a/gdk/broadway/broadwayd.c
+++ b/gdk/broadway/broadwayd.c
@@ -9,6 +9,13 @@
 
 #include "gdkbroadway-server.h"
 
+/* TODO:
+ * Cache surfaces that are opened via shm_open inbetween updates.
+ * Send configure event when a window is moved and no client
+ * Rewrite events (only to one client, per-client serials, etc)
+ * _gdk_broadway_server_has_client is always FALSE, so resize don't work.
+ */
+
 GdkBroadwayServer *server;
 GList *clients;
 
@@ -138,8 +145,6 @@ open_surface (char *name, int width, int height)
   void *ptr;
   int fd;
 
-  /* TODO: Cache this */
-  
   size = width * height * sizeof (guint32);
 
   fd = shm_open(name, O_RDONLY, 0600);
@@ -462,10 +467,6 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
 
   reply_event.msg = *message;
 
-  /* TODO:
-     Don't send to all clients
-     Rewrite serials, etc
-  */
   for (l = clients; l != NULL; l = l->next)
     {
       BroadwayClient *client = l->data;



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