From ae018228f6e87df6329fa79cb894262217217122 Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 21 Nov 2023 22:58:20 +0100 Subject: [PATCH] Fix an incorrect comment --- internal/driver/glfw/window_notxdg.go | 2 +- internal/driver/glfw/window_wayland.go | 2 +- internal/driver/glfw/window_x11.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/driver/glfw/window_notxdg.go b/internal/driver/glfw/window_notxdg.go index cf2633f13f..60a2aa2de8 100644 --- a/internal/driver/glfw/window_notxdg.go +++ b/internal/driver/glfw/window_notxdg.go @@ -3,7 +3,7 @@ package glfw -// GetWindowHandle returns the window handle. Only implemented for X11 and Wayland currently. +// GetWindowHandle returns the window handle. Only implemented for X11 currently. func (w *window) GetWindowHandle() string { return "" } diff --git a/internal/driver/glfw/window_wayland.go b/internal/driver/glfw/window_wayland.go index 648997e615..84909d9310 100644 --- a/internal/driver/glfw/window_wayland.go +++ b/internal/driver/glfw/window_wayland.go @@ -4,7 +4,7 @@ package glfw -// GetWindowHandle returns the window handle. Only implemented for X11 and Wayland currently. +// GetWindowHandle returns the window handle. Only implemented for X11 currently. func (w *window) GetWindowHandle() string { return "" // TODO: Find a way to get the Wayland handle for xdg_foreign protocol. Return "wayland:{id}". } diff --git a/internal/driver/glfw/window_x11.go b/internal/driver/glfw/window_x11.go index 9fa467ae96..af6381b7b4 100644 --- a/internal/driver/glfw/window_x11.go +++ b/internal/driver/glfw/window_x11.go @@ -6,7 +6,7 @@ package glfw import "strconv" -// GetWindowHandle returns the window handle. Only implemented for X11 and Wayland currently. +// GetWindowHandle returns the window handle. Only implemented for X11 currently. func (w *window) GetWindowHandle() string { xid := uint(w.viewport.GetX11Window()) return "x11:" + strconv.FormatUint(uint64(xid), 16)