summaryrefslogtreecommitdiffstats
path: root/sync.profile
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2018-08-07 18:09:25 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2018-10-15 18:33:55 +0000
commit03b1380613d581863727a76db62dca974b55682b (patch)
tree2785859f1867ac8c9befb2a1e11cdd3273428f79 /sync.profile
parent4aa86d38ef9cf852db987bc4d560746363a705b8 (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