]> git.lyx.org Git - features.git/commit
Use a backing store on macOS
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 25 Nov 2017 11:31:11 +0000 (12:31 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 15 Dec 2017 16:30:20 +0000 (17:30 +0100)
commit2316435f2fd2da28c70e1b251b852d3bf6d8011a
tree6c4fcd6a728b0adaccd63fd1dc41d3d95d11a57c
parent28029074b2e3ffce1ec93613e659208268941244
Use a backing store on macOS

Qt on macOS does not respect the Qt::WA_OpaquePaintEvent attribute and
clears the widget backing store at each update. Therefore, we use our
own backing store in this case.

This restores a simplified version of the code that was removed at 24c29908.
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h