[packages/netsurf] - adjusted to 3.0
witekfl
witekfl at pld-linux.org
Fri May 3 14:00:46 CEST 2013
commit 1eb169d9a0b3aa5f370f179ba1ffa7d6de1bcbfb
Author: witekfl <witekfl at poczta.onet.pl>
Date: Fri May 3 13:58:33 2013 +0200
- adjusted to 3.0
nsfb-F10-exit.patch | 31 +++++++++++++++----------------
1 file changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/nsfb-F10-exit.patch b/nsfb-F10-exit.patch
index 7bf5f80..3d54695 100644
--- a/nsfb-F10-exit.patch
+++ b/nsfb-F10-exit.patch
@@ -1,16 +1,15 @@
---- netsurf-2.9/netsurf-2.9/framebuffer/fbtk/event.c.f10 2013-01-09 20:36:52.505933180 +0100
-+++ netsurf-2.9/netsurf-2.9/framebuffer/fbtk/event.c 2013-01-09 20:37:38.776648741 +0100
-@@ -199,6 +199,13 @@ fbtk_event(fbtk_widget_t *root, nsfb_eve
- switch (event->type) {
- case NSFB_EVENT_KEY_DOWN:
- case NSFB_EVENT_KEY_UP:
-+ if (event->value.keycode == NSFB_KEY_F10) {
-+ event->type = NSFB_EVENT_CONTROL;
-+ event->value.controlcode = NSFB_CONTROL_QUIT;
-+ unused = true;
-+ break;
-+ }
-+
- if ((event->value.controlcode >= NSFB_KEY_MOUSE_1) &&
- (event->value.controlcode <= NSFB_KEY_MOUSE_5)) {
- fbtk_click(root, event);
+--- netsurf-full-3.0/src/netsurf-3.0/framebuffer/fbtk/event.c.ff 2013-05-03 13:30:14.068056595 +0200
++++ netsurf-full-3.0/src/netsurf-3.0/framebuffer/fbtk/event.c 2013-05-03 13:32:35.986917982 +0200
+@@ -218,6 +218,12 @@ fbtk_event(fbtk_widget_t *root, nsfb_eve
+ switch (event->type) {
+ case NSFB_EVENT_KEY_DOWN:
+ case NSFB_EVENT_KEY_UP:
++ if (event->value.keycode == NSFB_KEY_F10) {
++ event->type = NSFB_EVENT_CONTROL;
++ event->value.controlcode = NSFB_CONTROL_QUIT;
++ unused = true;
++ break;
++ }
+ if ((event->value.keycode >= NSFB_KEY_MOUSE_1) &&
+ (event->value.keycode <= NSFB_KEY_MOUSE_5)) {
+ fbtk_click(root, event);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netsurf.git/commitdiff/d03be7986ae8891a6d64d5f9eb511fef46f94dff
More information about the pld-cvs-commit
mailing list