1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01-firefox_patch.dpatch by Bastian Venthur <venthur@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
9
--- gtk-qt-engine-0.8.orig/src/qt_qt_wrapper.cpp 2008-06-07 00:05:35.000000000 +0300
10
+++ gtk-qt-engine-0.8/src/qt_qt_wrapper.cpp 2008-06-07 00:07:10.000000000 +0300
12
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
16
void drawFocusRect(GdkWindow * window, GtkStyle * style, int x, int y, int w, int h)
19
@@ -1733,10 +1732,10 @@
20
QPainter painter(&pixmap);
21
QColor bg(qApp->palette().active().background());
23
- painter.fillRect(0,0,w,h,bg);
24
+ GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
25
+ gdk_draw_drawable(pix, style->bg_gc[GTK_STATE_NORMAL], window, x, y, 0, 0, w, h);
26
qApp->style().drawPrimitive(QStyle::PE_FocusRect, &painter, QRect(0,0,w,h), qApp->palette().active(), QStyle::Style_Default, QStyleOption(bg));
28
- GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
29
gdk_draw_drawable(window, style->bg_gc[GTK_STATE_NORMAL], pix, 0, 0, x, y, w, h);