http://bugs.winehq.org/show_bug.cgi?id=10413
Jeremy White jwhite@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jwhite@codeweavers.com Status|NEW |ASSIGNED
--- Comment #2 from Jeremy White jwhite@codeweavers.com 2007-12-19 17:14:44 --- This is arguably a required change in the users configuration.
That is, Photoshop 7 requires that devices be in a particular order, and the user can reorder those devices by changing the X configuration:
http://www.codeweavers.com/support/docs/cxoffice/faq#id2509050
However, a counter argument is that Wine should reorder the devices to present them in the order they normally appear on Windows.
A patch to do this is attached, and seems to work.
I would appreciate feedback on whether or not this patch works for others, or looks correct.
A related cleanup patch is attached, for completeness (the first patch exposes a bug that needs to be fixed).
One final niggle on all of this: I have a nagging feeling that a simpler fix is to get Photoshop to respect the TPS_INVERT flag to find the eraser, instead of relying on the cursor index. However, nothing I can do seems to cause that change in behavior.