diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-04-03 12:34:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-03 14:09:19 +0200 |
commit | c31734d0e49a778cffb1fdc3cd04adb45270e1da (patch) | |
tree | 380fdfda71429a0e8c1ff1d71bbe59df9ce76760 /shell | |
parent | ac8ee6e8f7f2de31e1dc496c1fab953e88e15bba (diff) |
tdf#114316 vcl opengl windows: fix missing context menu in full-screen mode
Full-screen mode on Windows used to work by measuring the space needed
by window caption (title) and borders, then positioning and sizing the
window in a way, so that the caption and borders are not visible.
This approach breaks at least in the OpenGL case where a large enough
negative position results in rendering errors.
Fix the problem by explicitly requesting the window to have no caption,
so we render less outside the screen (30 pixels -> 8 pixels in my case),
which makes the "exit fullscreen" toolbar appear, also the context menu
is visible.
Change-Id: I6cf2b9774b505d3887b958a6a018b5ae84bbe4bc
Reviewed-on: https://gerrit.libreoffice.org/70191
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions