aboutsummaryrefslogtreecommitdiff
path: root/netsurf/patches/100-default-options.patch
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
commit0a95e15cdc87de0136734e784d487f9b03170bbb (patch)
treeadae83e51ba5b78869f51aa43cfe8ebfb762ec41 /netsurf/patches/100-default-options.patch
downloadnanonote-ports-0a95e15cdc87de0136734e784d487f9b03170bbb.tar.gz
initial checkin of my nanonote ports feed, including a small README.
Diffstat (limited to 'netsurf/patches/100-default-options.patch')
-rw-r--r--netsurf/patches/100-default-options.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/netsurf/patches/100-default-options.patch b/netsurf/patches/100-default-options.patch
new file mode 100644
index 0000000..f8036e2
--- /dev/null
+++ b/netsurf/patches/100-default-options.patch
@@ -0,0 +1,48 @@
+--- a/framebuffer/options.h 2010-10-10 19:41:15.917891618 +0200
++++ b/framebuffer/options.h 2010-10-10 19:43:03.217893158 +0200
+@@ -59,13 +59,13 @@
+
+
+ #define EXTRA_OPTION_DEFINE \
+- int option_fb_depth = 32; \
++ int option_fb_depth = 24; \
+ int option_fb_refresh = 70; \
+ char *option_fb_device = 0; \
+ char *option_fb_input_devpath = 0; \
+ char *option_fb_input_glob = 0; \
+- int option_fb_furniture_size = 18; \
+- int option_fb_toolbar_size = 30; \
++ int option_fb_furniture_size = 10; \
++ int option_fb_toolbar_size = 15; \
+ char *option_fb_toolbar_layout; \
+ bool option_fb_osk = false; \
+ bool option_fb_font_monochrome = false; \
+--- a/framebuffer/gui.c 2010-10-10 19:34:23.097901020 +0200
++++ b/framebuffer/gui.c 2010-10-10 19:48:12.397888727 +0200
+@@ -59,7 +59,7 @@
+ #include "desktop/history_core.h"
+ #include "content/fetch.h"
+
+-#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrut"
++#define NSFB_TOOLBAR_DEFAULT_LAYOUT "bfsrut"
+
+ char *default_stylesheet_url;
+ char *quirks_stylesheet_url;
+@@ -389,14 +389,14 @@
+ LOG(("argc %d, argv %p", argc, argv));
+
+ fename = "sdl";
+- febpp = 32;
++ febpp = 24;
+
+ if ((option_window_width != 0) && (option_window_height != 0)) {
+ fewidth = option_window_width;
+ feheight = option_window_height;
+ } else {
+- fewidth = 800;
+- feheight = 600;
++ fewidth = 320;
++ feheight = 240;
+ }
+
+ if (option_homepage_url != NULL && option_homepage_url[0] != '\0')