diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-12-23 22:46:29 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-12-27 22:56:04 +0100 |
commit | 59830a9001bdd955e51348800b3a9af1b32616dc (patch) | |
tree | 087d2efc8fa24e8e3d77f176a2e18727b389175e | |
parent | 329372a3438bd9e0a76507e31283fdb1d316700b (diff) | |
download | gtk+-59830a9001bdd955e51348800b3a9af1b32616dc.tar.gz |
broadway: Collect and document some TODOs
-rw-r--r-- | 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 b6841f53e8..62685ad7de 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; |