Patches

Submitting patches

The prefered way to submit QEMU patches is to send them to QEMU developer mailing list.

{i} Sometimes you need some patience to get any response or to get it included ;)

Other patch locations

There are some other locations where patches for QEMU are collected. Some are outdated, some are actively serviced. It seems to be unclear if and how they will find their way into QEMU mainline.

Mousegrab patch

?? Is this still up to date for recent QEMU versions or can this be removed ??

Here's a tiny patch to release the mousegrab by pressing any "excess" mouse button, those beyond the proper 3 + wheel. The line-numbers are offset by the essential "mouse wall patch".

--- sdl.c.orig  2006-07-16 00:19:14.000000000 -0400
+++ sdl.c       2006-07-17 17:23:00.000000000 -0400
@@ -488,6 +488,11 @@
 #endif
                     sdl_send_mouse_event(dz);
                 }
+
+               if ( gui_grab && !kbd_mouse_is_absolute() &&
+                       ev->type == SDL_MOUSEBUTTONDOWN && (bev->button > 5)) {  
+                       sdl_grab_end();
+               }
             }
             break;
         case SDL_ACTIVEEVENT:

Latest snaphot

Before searching for patches already integrated or to create own patches, you should have a look to latest QEMU snapshots:

QEMU snapshots

They are nightly distilled from QEMUs CVS system.


Back to FrontPage

Patches (last edited 2006-11-05 05:44:46 by F30b4)