diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-08-07 18:09:25 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-10-15 18:33:55 +0000 |
commit | 03b1380613d581863727a76db62dca974b55682b (patch) | |
tree | 2785859f1867ac8c9befb2a1e11cdd3273428f79 /sync.profile | |
parent | 4aa86d38ef9cf852db987bc4d560746363a705b8 (diff) |
xcb: cleanup WM_HINTS handling
- The only place where window flag Qt::WindowDoesNotAcceptFocus changes is inside
QXcbWindow::setWindowFlags and from there we call updateDoesNotAcceptFocus(). The
current code was redundantly calling xcb_wm_hints_set_input in various places.
- Similar as above: call xcb_wm_hints_set_normal/iconic only where it can change.
This hint depends on window state, so update it only from setWindowState().
Removed unnecessary call to setTransparentForMouseEvents(), which is already called
few lines above from setWindowFlags().
Change-Id: I8da919b135a4dfda0c8c1dad51d85d3e706153ab
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions