Revert "app: [Windows] suppress double-click behaviour for custom decorations"

This reverts commit 82cbb7b8da.

As Egon Elbre points out in

https://todo.sr.ht/~eliasnaur/gio/600#event-377179

this is not the right fix.
This commit is contained in:
Elias Naur
2024-07-16 16:28:17 +02:00
parent 7293fa8a41
commit 9018c07131
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -326,12 +326,6 @@ func windowProc(hwnd syscall.Handle, msg uint32, wParam, lParam uintptr) uintptr
mi := windows.GetMonitorInfo(w.hwnd)
szp.Rgrc[0] = mi.WorkArea
return 0
case windows.WM_NCLBUTTONDBLCLK:
if !w.config.Decorated {
// Override Windows behaviour when we
// draw decorations.
return 0
}
case windows.WM_PAINT:
w.draw(true)
case windows.WM_SIZE: