summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-28 14:15:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-03-28 14:22:13 +0100
commitb012e83e1cd09a0b6f9ede94a5c2d72d24459ce4 (patch)
treede9571533f2ecc03e954179178296eeac96b102e /vcl/inc
parent946a049114a27d342c1974be524576e348ce4ad2 (diff)
Resolves: tdf#106155 avoid opengl for toplevel X window icons
because an opengl context requires a toplevel window so it recurses to death. Only the gen/kde4 vclplugs are affected here Change-Id: If5396d183d90d1872931b170dc90c3a70d8ea6b6
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/opengl/zone.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/opengl/zone.hxx b/vcl/inc/opengl/zone.hxx
index 65a7249b16b2..75ebad915b60 100644
--- a/vcl/inc/opengl/zone.hxx
+++ b/vcl/inc/opengl/zone.hxx
@@ -48,6 +48,12 @@ public:
OpenGLVCLContextZone();
};
+class VCL_DLLPUBLIC PreDefaultWinNoOpenGLZone {
+public:
+ PreDefaultWinNoOpenGLZone();
+ ~PreDefaultWinNoOpenGLZone();
+};
+
#endif // INCLUDED_VCL_INC_OPENGL_ZONE_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */