Originally Posted by
pissedoffdude
Now you can install your patched version of wine.
I'm away from my laptop for a few days but I'll try all that soon as I get home. This is the code I was given:
Code:
--- server/queue.c.orig 2007-05-07 07:38:23.000000000 -0700
+++ server/queue.c 2007-05-07 07:44:23.000000000 -0700
@@ -1779,9 +1779,18 @@
if (filter & QS_PAINT) queue->changed_bits &= ~QS_PAINT;
/* then check for posted messages */
- if ((filter & QS_POSTMESSAGE) &&
- get_posted_message( queue, get_win, req->get_first, req->get_last, req->flags, reply ))
- return;
+/* if ((filter & QS_POSTMESSAGE) &&
+ get_posted_message( queue, get_win, req->get_first, req->get_last, req->flags, reply ))*/
+ /* but NOT any with code 0x5555 - hack to make Snood work! */
+ if ((filter & QS_POSTMESSAGE) &&((req->get_first <= 0x5555) && (0x5555 <= req->get_last)))
+ {
+ if (get_posted_message( queue, get_win, req->get_first, 0x5554, req->flags, reply ))
+ return;
+ if (get_posted_message( queue, get_win, 0x5556, req->get_last, req->flags, reply ))
+ return;
+ }
+ else if (get_posted_message( queue, get_win, req->get_first, req->get_last, req->flags, reply ))
+ return;
/* only check for quit messages if not posted messages pending.
* note: the quit message isn't filtered */
@@ -1793,6 +1802,12 @@
filter_contains_hw_range( req->get_first, req->get_last ) &&
get_hardware_message( current, req->hw_id, get_win, req->get_first, req->get_last, reply ))
return;
+ /* Now check for posted messages with code 0x5555 - hack to make Snood work! */
+
+ if ((filter & QS_INPUT) &&((req->get_first <= 0x5555) && (0x5555 <= req->get_last)
+ && (get_posted_message( queue, get_win, 0x5555, 0x5555, req->flags, reply ))))
+ return;
+
/* now check for WM_PAINT */
if ((filter & QS_PAINT) &&
You said after those previous instructions I can now install the patch, how do I got about doing this or is it self-explanitory after I've reinstalled Wine etc.?
Bookmarks