SDL: wayland: Add a dummy function for the libdecor dismiss popup callback

From 5a564a718d7cf8d5e5b034b91bbb6c045fb9bd11 Mon Sep 17 00:00:00 2001
From: Frank Praznik <[EMAIL REDACTED]>
Date: Thu, 16 Jan 2025 13:47:32 -0500
Subject: [PATCH] wayland: Add a dummy function for the libdecor dismiss popup
 callback

This was never added, and we've been lucky that it's never called as libdecor doesn't check the function pointer for null before doing so.
---
 src/video/wayland/SDL_waylandwindow.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/video/wayland/SDL_waylandwindow.c b/src/video/wayland/SDL_waylandwindow.c
index 8bd5e83b0aef5..c7294d28d76e8 100644
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/src/video/wayland/SDL_waylandwindow.c
@@ -1435,10 +1435,16 @@ static void decoration_frame_commit(struct libdecor_frame *frame, void *user_dat
     }
 }
 
+static void decoration_dismiss_popup(struct libdecor_frame *frame, const char *seat_name, void *user_data)
+{
+    // NOP
+}
+
 static struct libdecor_frame_interface libdecor_frame_interface = {
     decoration_frame_configure,
     decoration_frame_close,
     decoration_frame_commit,
+    decoration_dismiss_popup
 };
 #endif