Mageia Bugzilla – Attachment 4121 Details for
Bug 7416
Strange display artefacts in Opera dialog boxes in LXDE and Xfce only
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch to oxygen-gtk
opera.patch (text/plain), 838 bytes, created by
Hugo Pereira Da Costa
on 2013-06-10 14:55:05 CEST
(
hide
)
Description:
patch to oxygen-gtk
Filename:
MIME Type:
Creator:
Hugo Pereira Da Costa
Created:
2013-06-10 14:55:05 CEST
Size:
838 bytes
patch
obsolete
>diff --git a/src/oxygenstylewrapper.cpp b/src/oxygenstylewrapper.cpp >index 8b77ab7..736bd1d 100644 >--- a/src/oxygenstylewrapper.cpp >+++ b/src/oxygenstylewrapper.cpp >@@ -138,6 +138,14 @@ namespace Oxygen > return; > } > >+ // for opera, render flat background, always >+ // (using renderwindowbackground will at best fall back to flat, at worse, render garbage) >+ if( Style::instance().settings().applicationName().isOpera() ) >+ { >+ Style::instance().fill( window, clipRect, x, y, w, h, Palette::Window ); >+ return; >+ } >+ > // do nothing for mozilla, acrobat, gnome applets, and other hint-specific windows > if( > Style::instance().settings().applicationName().useFlatBackground( widget ) ||
diff --git a/src/oxygenstylewrapper.cpp b/src/oxygenstylewrapper.cpp index 8b77ab7..736bd1d 100644 --- a/src/oxygenstylewrapper.cpp +++ b/src/oxygenstylewrapper.cpp @@ -138,6 +138,14 @@ namespace Oxygen return; } + // for opera, render flat background, always + // (using renderwindowbackground will at best fall back to flat, at worse, render garbage) + if( Style::instance().settings().applicationName().isOpera() ) + { + Style::instance().fill( window, clipRect, x, y, w, h, Palette::Window ); + return; + } + // do nothing for mozilla, acrobat, gnome applets, and other hint-specific windows if( Style::instance().settings().applicationName().useFlatBackground( widget ) ||
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7416
:
2776
|
3237
| 4121