diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2019-09-20 18:12:42 +0200 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2019-11-13 12:48:33 +0100 |
commit | 2812f0861c99d9e82a3615a25e272def845b2090 (patch) | |
tree | 58b9c57c04af35a832c58bbedd96c3ee39a2c1f3 /src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm | |
parent | 52b739776daecf80a8276b49c9e4337e018d8e8b (diff) |
Windows QPA: Fix close button not working on Windows 7
A previous change modified hit testing in the non-client area of
fixed-size windows, in order to prevent showing a resize cursor when
the windows are not resizable (QTBUG-77220). The change assigned
HTCAPTION for any point over the entire title bar, including the top
bar buttons, which on Windows 7 classic or basic desktop caused these
buttons to become unresponsive. The present fix changes this behavior
to redefine only the outer sizing frame, while letting the rest of the
title bar be handled by DefWindowProc().
Fixes: QTBUG-78262
Change-Id: Id6e821a805c8333a67988f87c3727bed0c93290e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit a8ec52d5e76bc769ed63be1ad543be8f687e5dac)
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm')
0 files changed, 0 insertions, 0 deletions