Commit Graph

668 Commits

Author SHA1 Message Date
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Huw Davies e33f622bd1 Use the gasp table to check whether we should trigger antialiasing. 2005-09-12 11:11:30 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Frank Richter a7b5f5ac3c Make AlphaBlend() respect the destination clipping region. 2005-08-27 09:20:53 +00:00
Pavel Roskin cbb4f7d595 Extend uRelax scale so that yres is relaxed before slant, not at the
same time.
2005-08-26 08:47:45 +00:00
Huw Davies 6a3175032d Use the correct rectangle for ETO_OPAQUE - spotted by James Hawkins. 2005-08-24 10:56:49 +00:00
Huw Davies 5a39abb278 Avoid using XRenderFindStandardFormat as older libraries don't have
it.
2005-08-23 18:14:30 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Saulius Krasuckas 187f7a4a4f Don't dereference a NULL visual pointer. 2005-08-22 09:22:19 +00:00
Todd Mokros 88ac4b9650 Fix a focus stealing bug introduced by the managed flag changes. 2005-08-22 09:14:21 +00:00
Mike McCormack e5efc5a657 gcc 4.0 warning fixes. 2005-08-16 16:02:45 +00:00
Frank Richter a6f081e0db Fix AlphaBlend() to extract the right part of the source DIB. 2005-08-15 14:46:31 +00:00
Mike McCormack 99aac8a665 gcc 4.0 warning fixes. 2005-08-15 10:47:23 +00:00
Frank Richter 5e82e0cb63 Invalidate DCEs when a window region is set. 2005-08-15 09:33:39 +00:00
Mike McCormack c29892b88f Fix some gcc 4.0 warnings. 2005-08-12 10:35:46 +00:00
Michael Kaufmann 0f2c2b8426 Fix for BI_BITFIELDS: The color masks are at the same position in all
the bitmap headers that support this flag (BITMAPINFO: The first color
mask is in bmiColors[0], that's the same position as bV4RedMask in
BITMAPV4HEADER).
2005-08-08 18:40:14 +00:00
Alexandre Julliard 4fa411fa07 Don't call WaitForMultipleObjectsEx if we are just polling for pending
X events.
2005-08-03 15:47:30 +00:00
Oliver Stieber d708acd979 Back out the previous stencil patch and slightly improve on the old
functionality.
2005-08-03 11:01:15 +00:00
Alexandre Julliard 2431a64419 There's no need to update the event mask in X11DRV_sync_window_style,
it never changes.
2005-07-27 15:22:58 +00:00
Dmitry Timoshkov a726387a07 Take into account CS_NOCLOSE window class style and SC_CLOSE system
menu item state while handling WM_X11DRV_DELETE_WINDOW request.
2005-07-25 11:08:43 +00:00
Stefan Huehner 3e05fe1e60 Fix missing-declarations warnings. 2005-07-24 17:10:38 +00:00
Oliver Stieber b9efc4d26c Allow running opengl and DirectX applications without stencil support,
an earlier patch assumed that stencil support was available, but it
isn't in all cases.
2005-07-22 09:05:04 +00:00
Alexandre Julliard 6655fed5a6 Don't set win gravity, the default should work fine. 2005-07-19 11:43:38 +00:00
Alexandre Julliard 2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +00:00
Stefan Huehner aed3fb612d Fix some sign-compare warnings by choosing correct datatypes. 2005-07-15 16:34:04 +00:00
Stefan Huehner 9b65ffbb36 Add some consts to fix discard-qual warnings. 2005-07-15 16:33:38 +00:00
Alexandre Julliard e419cb8869 Moved initialization of the desktop window in the graphics driver to a
separate CreateDesktopWindow entry point instead of overloading
CreateWindow.
2005-07-07 20:33:29 +00:00
Alexandre Julliard af50ad67ad Moved most initializations out of the create_desktop function and into
process_attach.
2005-07-07 17:30:57 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 70c80fb430 Make functions static to fix -Wmissing-declarations warnings. 2005-07-06 15:53:04 +00:00
Oliver Stieber d760208a5a Make sure that the OpenGL visual created for a window has a stencil
buffer.
2005-07-05 10:58:41 +00:00
Lionel Ulmer a167fe2854 Add some resolutions to what Desktop mode supports. 2005-07-03 11:20:56 +00:00
Alexandre Julliard c7dbffca96 Set the class resource name to the name of the main binary (suggested
by Rasterman).
2005-07-01 16:16:00 +00:00
Alexandre Julliard 8ba32b3f9b Delay OpenGL and GDI initialization until they are needed. 2005-06-29 19:28:06 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Alexandre Julliard 35ba3e2752 Moved font settings to HKCU\Software\Wine\X11 Driver\Fonts. 2005-06-22 12:02:47 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Alexandre Julliard f0fcaed630 Moved configuration keys to HKCU\Software\Wine\X11 Driver. 2005-06-16 16:14:46 +00:00
Alexandre Julliard acaa5c5eff Removed the check for the old Resolution option. 2005-06-14 18:13:09 +00:00
Alexandre Julliard cb538c0533 Merged palette option processing into the main configuration code. 2005-06-14 18:12:15 +00:00
Alexandre Julliard 1ba6e1cb16 Avoid repeatedly opening the configuration registry key. 2005-06-14 17:24:28 +00:00
Alexandre Julliard bb1dbb5ac9 Get rid of the PerfectGraphics option, that's not really useful. 2005-06-14 11:52:48 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Glenn Wurster d11bdd5e1d Add declaration of X11DRV_GetDIBColorTable to avoid compile warning. 2005-06-12 10:41:39 +00:00
Glenn Wurster ca46c6a8ae Adds support for the DIBINDEX type of COLORREF. 2005-06-10 19:31:20 +00:00
Alexandre Julliard d286b8a660 Use standard TLS functions instead of a TEB internal field to access
per-thread data.
2005-06-01 11:08:39 +00:00