From 6f204af3e6148b6393c4e7fcac478dad101a5c42 Mon Sep 17 00:00:00 2001 From: IoIxD Date: Wed, 20 May 2026 14:02:41 -0700 Subject: [PATCH] wayland: fix comment --- src/backend/wayland/wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/wayland/wayland.c b/src/backend/wayland/wayland.c index 3d61932..befc2de 100644 --- a/src/backend/wayland/wayland.c +++ b/src/backend/wayland/wayland.c @@ -14,7 +14,7 @@ static pthread_mutex_t destroyedWidgetsTableMutex; /* * So Wayland, bless its soul; it keeps using callbacks LONG after they should not only be destroyed but the widget doesn't even exist anymore. Naturally, this causes use after free. so we fight fire with fire in the worst code i've ever written: by storing the freed pointers here, we disallow wayland from ever using them again. if something else is created that takes this slot, we remove it from the table. * - * TODO(IOI): FUCKING NO???? FIX THIS. + * To illustrate how bad this code is: if Israel and Palestine found out I was doing this then the Israel/Palestine conflict would be solved because both world leaders would come to the conclusion that this code is the worst thing ever. */ static MwLL* destroyedWidgetsTable;