summaryrefslogtreecommitdiff
path: root/packages/gtk+/gtk+-2.10.14/scrolled-placement.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-28 12:09:24 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-28 12:09:24 +0000
commit14b8cf01f0745d97ad21d17f979b469dfcc3bbc4 (patch)
treed85d8c6c8a315d0c0002c839014f820010fdfe5d /packages/gtk+/gtk+-2.10.14/scrolled-placement.patch
parentda2c653f899b4fcc10e2aeda1f7cb7a231f808ab (diff)
gtk 2.10.14: add some patches from poky to have some widgets behave better on high-dpi screens
Diffstat (limited to 'packages/gtk+/gtk+-2.10.14/scrolled-placement.patch')
-rw-r--r--packages/gtk+/gtk+-2.10.14/scrolled-placement.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.10.14/scrolled-placement.patch b/packages/gtk+/gtk+-2.10.14/scrolled-placement.patch
new file mode 100644
index 0000000000..09ded531ea
--- /dev/null
+++ b/packages/gtk+/gtk+-2.10.14/scrolled-placement.patch
@@ -0,0 +1,35 @@
+Index: gtk/gtkscrolledwindow.c
+===================================================================
+--- gtk/gtkscrolledwindow.c (revision 18493)
++++ gtk/gtkscrolledwindow.c (working copy)
+@@ -885,7 +885,7 @@
+ if (GTK_IS_SCROLLED_WINDOW (widget))
+ {
+ gtk_scrolled_window_update_real_placement (GTK_SCROLLED_WINDOW (widget));
+- gtk_widget_queue_draw (widget);
++ gtk_widget_queue_resize (widget);
+ }
+ else if (GTK_IS_CONTAINER (widget))
+ gtk_container_forall (GTK_CONTAINER (widget), traverse_container, NULL);
+Index: gdk/x11/gdksettings.c
+===================================================================
+--- gdk/x11/gdksettings.c (revision 18493)
++++ gdk/x11/gdksettings.c (working copy)
+@@ -65,7 +65,8 @@
+ "Xft/RGBA\0" "gtk-xft-rgba\0"
+ "Xft/DPI\0" "gtk-xft-dpi\0"
+ "Net/FallbackIconTheme\0" "gtk-fallback-icon-theme\0"
+- "Gtk/TouchscreenMode\0" "gtk-touchscreen-mode\0";
++ "Gtk/TouchscreenMode\0" "gtk-touchscreen-mode\0"
++ "Gtk/ScrolledWindowPlacement\0" "gtk-scrolled-window-placement\0";
+
+ static const struct
+ {
+@@ -107,5 +108,6 @@
+ { 1197, 1206 },
+ { 1219, 1227 },
+ { 1239, 1261 },
+- { 1285, 1305 }
++ { 1285, 1305 },
++ { 1326, 1354 }
+ };