Commit Graph

650 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 28dec19921 Fix Estonian keyboard layout to better match the X11 one. 2005-05-29 20:01:17 +00:00
Dmitry Timoshkov d5e1804c1b SetParent needs to clear 'managed' flag for former top level window. 2005-05-24 11:44:59 +00:00
Daniel Schepler 27792f6f16 Implement CDS_TEST flag in ChangeDisplaySettings. 2005-05-23 09:52:23 +00:00
Dmitry Timoshkov ac5b025103 Do not pass an invalid target buffer info to WideCharToMultiByte. 2005-05-12 09:56:35 +00:00
Raphael Junqueira 075f8cfe8f Fix X11DRV_ChoosePixelFormat to choose 24 bpp as 32 bpp for depth
buffers (needed as many X11 drivers only support 24bpp).
2005-05-10 08:26:08 +00:00
Rein Klazes ce8c9426eb Don't set the pen width to 1 in X11DRV_PolyLine. 2005-05-07 17:54:51 +00:00
Robert Lunnon 16a37e1eaf Avoid passing NULL buffer elements and status pointers to
XmbLookupString.
2005-05-07 12:18:24 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Francois Gouget 63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +00:00
Raphael Junqueira 9e034b7fb8 - valid implementation of X11DRV_ChoosePixelFormat using GLX1.3 API
(ie. using real card caps and not ugly way using visuals array) to
  be compatible with opengl32 pixel formats (wgl*PixelFormat* APIs) as
  they need to be the same
- add more traces to xrandr
2005-04-28 18:29:12 +00:00
Ulrich Czekalla a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Huw Davies cc255b0c8b If XShmAttach fails then reset shmid to -1 so that we don't try to use
it later.
2005-04-22 19:06:41 +00:00
Alexandre Julliard 333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Alexandre Julliard d1a36e1929 Avoid a compiler warning. 2005-04-20 18:45:28 +00:00
Dimitrie O. Paun 41c2482984 Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). 2005-04-20 16:24:13 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00