]> Pileus Git - ~andy/gtk/commitdiff
broadway: Collect and document some TODOs
authorAlexander Larsson <alexl@redhat.com>
Sun, 23 Dec 2012 21:46:29 +0000 (22:46 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 27 Dec 2012 21:56:04 +0000 (22:56 +0100)
gdk/broadway/broadwayd.c

index b6841f53e839faccf41985a2789e4e09181944fe..62685ad7deb53fd5a4ed9239316f5ce3e31683b9 100644 (file)
@@ -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;