aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-24 13:00:15 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-24 13:00:15 +0200
commit44f84748f83d57a9b2c1dcefb47b676051435498 (patch)
tree57e293735d9278b243165b2652feb15f003db57c /src/egl.c
parent64a301a279e5cc3e5b6053e22c4fffac7d1a8834 (diff)
README
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl.c b/src/egl.c
index 9fd5925..3892cdc 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -11,6 +11,8 @@
#include "../external/wlr-export-dmabuf-unstable-v1-client-protocol.h"
#include <unistd.h>
+// Move this shit to a separate wayland file, and have a separate file for x11.
+
static void output_handle_geometry(void *data, struct wl_output *wl_output,
int32_t x, int32_t y, int32_t phys_width, int32_t phys_height,
int32_t subpixel, const char *make, const char *model,
@@ -566,6 +568,7 @@ void gsr_egl_update(gsr_egl *self) {
if(!self->wayland.dpy)
return;
+ // TODO: pselect on wl_display_get_fd before doing dispatch
wl_display_dispatch(self->wayland.dpy);
}