#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;
void *ptr;
int fd;
- /* TODO: Cache this */
-
size = width * height * sizeof (guint32);
fd = shm_open(name, O_RDONLY, 0600);
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;