Gitweb links:

...log 
http://git.netsurf-browser.org/libnsfb.git/shortlog/46fe390b976c932dd786becf40a42c4f95053365
...commit 
http://git.netsurf-browser.org/libnsfb.git/commit/46fe390b976c932dd786becf40a42c4f95053365
...tree 
http://git.netsurf-browser.org/libnsfb.git/tree/46fe390b976c932dd786becf40a42c4f95053365

The branch, ashmew2/kolibri has been updated
       via  46fe390b976c932dd786becf40a42c4f95053365 (commit)
      from  5d78cf0b61564552789af82529220167d561e5d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libnsfb.git/commit/?id=46fe390b976c932dd786becf40a42c4f95053365
commit 46fe390b976c932dd786becf40a42c4f95053365
Author: Ashish Gupta <[email protected]>
Commit: Ashish Gupta <[email protected]>

    Minor fixes for keypresses

diff --git a/src/surface/kolibri.c b/src/surface/kolibri.c
index 6a7b2dc..25b59e1 100644
--- a/src/surface/kolibri.c
+++ b/src/surface/kolibri.c
@@ -439,7 +439,7 @@ static bool kolibri_surface_input(nsfb_t *nsfb, 
nsfb_event_t *event,
                        unsigned diff = previous_mouse_buttons^b;
                        /* All high bits in the XOR represent bits that changed 
*/
 
-                       if (diff & 0x1) {
+                       if (diff & 0x1 || diff & 0x10000) {
                                /* Left mouse button */
                                event->value.keycode = NSFB_KEY_MOUSE_1;
                 /* debug_board_printf("-- Mouse LEFT button : 0x%x\n", b); */


-----------------------------------------------------------------------

Summary of changes:
 src/surface/kolibri.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/surface/kolibri.c b/src/surface/kolibri.c
index 6a7b2dc..25b59e1 100644
--- a/src/surface/kolibri.c
+++ b/src/surface/kolibri.c
@@ -439,7 +439,7 @@ static bool kolibri_surface_input(nsfb_t *nsfb, 
nsfb_event_t *event,
                        unsigned diff = previous_mouse_buttons^b;
                        /* All high bits in the XOR represent bits that changed 
*/
 
-                       if (diff & 0x1) {
+                       if (diff & 0x1 || diff & 0x10000) {
                                /* Left mouse button */
                                event->value.keycode = NSFB_KEY_MOUSE_1;
                 /* debug_board_printf("-- Mouse LEFT button : 0x%x\n", b); */


-- 
NetSurf Framebuffer library

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to