]> 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>
Thu, 15 Feb 2018 11:29:25 +0000 (12:29 +0100)
commitc6771569384edc1e100d427365d6a4976bc5bd95
treef2126c294fe701007879e456f9798ad89f9c975d
parent8af3077753381238e1fb3e21d65017b94778a47c
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 06253dfe.

(cherry picked from commit 2316435f2fd2da28c70e1b251b852d3bf6d8011a)
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea_Private.h