From 6aa027136edd291158308b6de602fc1b686f2d1f Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 30 Jul 2024 12:41:12 +0200 Subject: [PATCH] app: [Windows] remove redundant code Signed-off-by: Elias Naur --- app/os_windows.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/os_windows.go b/app/os_windows.go index 7c950a5a..a20f4960 100644 --- a/app/os_windows.go +++ b/app/os_windows.go @@ -450,9 +450,6 @@ func getModifiers() key.Modifiers { // hitTest returns the non-client area hit by the point, needed to // process WM_NCHITTEST. func (w *window) hitTest(x, y int) uintptr { - if w.config.Mode == Fullscreen { - return windows.HTCLIENT - } if w.config.Mode != Windowed { // Only windowed mode should allow resizing. return windows.HTCLIENT