Commit Graph

449 Commits

Author SHA1 Message Date
Gerald Pfeifer fcdca0e809 winex11.drv: Simplify condition in create_xcursor_cursor() based on the unsignedness of types. 2007-12-31 19:23:28 +01:00
Jeremy White 659494660e wintab32: If we could not find a stylus sort of device, we haven't found a tablet. 2007-12-31 17:47:16 +01:00
Jeremy White 51aecf8056 wintab32: Add logic to detect specific tablet cursor types, use it to discard non tablet X devices. 2007-12-31 17:47:12 +01:00
Jeremy White ca89d7e809 wintab32: Add modest trace information for tablets. 2007-12-31 17:45:10 +01:00
Jeremy White f193197a66 wintab32: Capture the number of buttons earlier, allowing our button maps to be filled in. 2007-12-26 13:20:58 +01:00
Jeremy White 3036e7f626 wintab32: Implement the ability to return the number of devices and cursors. 2007-12-26 13:18:53 +01:00
Jeremy White f5adac3b19 wintab32: Don't return information for non existent cursors. 2007-12-26 13:18:47 +01:00
Jeremy White 9267fcd99f wintab32: Correctly handle devices with a device id of 0.
The XInput macros such as DeviceMotionNotify will correctly return an eventclass of 0
if the device id is 0.  Given that, we cannot use eventclass != 0 as a meaningful
test, and must instead use the returned type.
2007-12-26 13:18:32 +01:00
Jeremy White d58429d085 wintab32: Compute our physical device characteristics based on the first tablet device that looks like a stylus.
Otherwise, we may be computing based on a mouse or cursor, and then
come to incorrect values for our tilt and pressure settings.
2007-12-26 13:18:25 +01:00
Jeremy White 5132ab4693 wintab32: Add additional device tracing. 2007-12-26 13:18:15 +01:00
Jeremy White 64a929c483 wintab32: Order the cursor array by the standard Wacom promulgates. 2007-12-26 13:17:48 +01:00
Jeremy White 047a969658 wintab32: Add constants for cursor types and use them. 2007-12-26 13:17:00 +01:00
Jeremy White ee0554b737 wintab32: Do not offset the physical device id by the cursor number. 2007-12-24 16:22:51 +01:00
Jeremy White c9fcb15b11 wintab32: Store and use the physical device id to match device to cursor. 2007-12-24 16:22:44 +01:00
Peter Oberndorfer 730d546903 winex11: Remove unused SWAP_INT macro. 2007-12-23 14:17:11 +01:00
Zhangrong Huang 0e4f8d1e2c gdi32, winex11.drv: Correct default Chinese font name. 2007-12-21 13:46:10 +01:00
Dmitry Timoshkov 78718a41c7 user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine. 2007-12-20 10:47:49 +01:00
Rob Shearman 486326ed48 include: Add more types and function declarations to the rpcasync.h header file.
Fix up a couple of conflicts with the Status field in the
RPC_EXTENDED_ERROR_INFO and the X Status define.
2007-12-18 12:32:55 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Stefan Dösinger ccab10bd46 winex11: Distinguish between bpp and depth. 2007-12-17 12:24:51 +01:00
Stefan Dösinger 7f97af2e2e winex11: Ignore the alpha if all pixels are 0. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 211f429579 winex11: Remove an unused variable. 2007-12-13 13:09:46 +01:00
Stefan Dösinger d5d8a5be48 gdi32: Test bitmap depths. 2007-12-12 13:48:06 +01:00
Stefan Dösinger aa390e840b gdi32, winex11drv: Add a test for compatible bitmap depths. 2007-12-12 13:46:42 +01:00
Stefan Dösinger ab8deb275e winex11: Remove an unused variable. 2007-12-12 13:46:10 +01:00
Francois Gouget 5f7a9cea38 Assorted spelling fixes. 2007-12-07 16:35:32 +01:00
Dmitry Timoshkov a7dba33cf3 winex11.drv: Use registry settings as a default display mode. 2007-12-05 12:21:32 +01:00
Dmitry Timoshkov e388a49308 winex11.drv: Don't forget to initialize dmFields. 2007-12-05 12:21:10 +01:00
Alexandre Julliard d4e1debee7 winex11.drv: Make sure to erase the dragging frame before moving the window. 2007-11-21 13:22:42 +01:00
Dmitry Timoshkov efda990877 winex11.drv: Use display device guid managed by explorer. 2007-11-19 15:00:11 +01:00
Francois Gouget 4f4cc28132 winex11: Add the trailing '\n' to a Wine trace. 2007-11-16 12:38:24 +01:00
Roderick Colenbrander 8295c547f3 wgl: Add wglCopyContext support. 2007-11-12 14:16:44 +01:00
Dmitry Timoshkov 1efd4c02e5 winex11.drv: Get rid of unused variables. 2007-11-12 12:15:55 +01:00
Francois Gouget f288ed99b0 winex11: Add C alternatives to the assembly bits in X11DRV_DIB_SetImageBits_8(). 2007-11-09 13:07:25 +01:00
Francois Gouget 83e2f44268 winex11: Fix compilation on systems that don't support either nameless unions or nameless structs. 2007-11-05 15:06:35 +01:00
Dmitry Timoshkov 407db36684 winex11.drv: Initialize buffer size. 2007-11-02 12:35:57 +01:00
Dmitry Timoshkov 7bb12b9e8c winex11.drv: Add support for saving/reading display settings. 2007-11-01 12:41:39 +01:00
Dmitry Timoshkov 2712eb50b1 user32: Initialize more fields in the DEVMODE structure. 2007-11-01 12:41:30 +01:00
Alexandre Julliard 83fd17f216 winex11.drv: Set the WM_STATE_ABOVE hint on topmost windows. 2007-10-31 18:13:20 +01:00
Alexandre Julliard 917f288f1b server: Also return the new extended style in the set_window_pos request. 2007-10-31 17:51:05 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Francois Gouget 602ab961c4 winex11: Remove some unneeded casts. 2007-10-23 18:19:31 +02:00
Michael Stefaniuc 4e2eef2b25 winex11.drv: Fix two missing unlocks on error paths. Found by Smatch. 2007-10-22 12:36:08 +02:00
Francois Gouget 0d24ebfcbb winex11.drv: Remove the coloruse == -1 special case. Add X11DRV_DIB_GetColorCount() for computing a bitmap's number of colors. 2007-10-19 14:43:39 +02:00
Alexandre Julliard 952c82c271 server: Avoid refreshing areas of a window that have already been copied by the X server. 2007-10-17 17:28:04 +02:00
Alexandre Julliard 7fa032d1a4 winex11: Process all types of messages while moving/resizing a window. 2007-10-17 12:40:24 +02:00
Francois Gouget 860cf251f6 winex11.drv: The 'lossy' parameter is always false so remove it. 2007-10-15 12:04:54 +02:00
Francois Gouget fda899a778 Assorted spelling fixes. 2007-10-11 19:52:49 +02:00
Francois Gouget 0b67c0a6e1 winex11.drv: Add the trailing '\n' to a Wine trace. 2007-10-11 19:52:32 +02:00
Francois Gouget e396288ec5 winex11.drv: Remove an obsolete FIXME comment. 2007-10-11 19:52:25 +02:00
Alexandre Julliard c881875c07 winex11: Don't use a window manager border for a simple WS_BORDER-style border. 2007-10-11 16:24:28 +02:00
Alexandre Julliard c4e20e7462 winex11: Reuse the mwm hints when computing the window X11 rectangle.
This allows more flexibility in deciding which elements of the decor
are done by the window manager.
2007-10-11 16:24:28 +02:00
Alexandre Julliard a0019801eb winex11: Set the SKIP_PAGER and SKIP_TASKBAR styles on tool windows. 2007-10-11 16:24:28 +02:00
Alexandre Julliard 8a87429d12 winex11: Add generic mechanism for managing WM_STATE properties. 2007-10-11 16:24:28 +02:00
Chris Robinson 0cca1ea876 winex11: Don't choose double buffered modes with gdi support. 2007-10-10 17:40:24 +02:00
Chris Robinson d298b68f50 winex11: Use the specified format for GL Bitmaps. 2007-10-10 17:40:03 +02:00
Chris Robinson fa6598a260 winex11: Create GLXPixmap for bitmaps in SetPixelFormat. 2007-10-10 17:39:35 +02:00
Alexandre Julliard 6cd7d06823 winex11: Don't store a physdev pointer in the GL context. 2007-10-10 17:38:51 +02:00
Alexandre Julliard 771d61a886 winex11: Use ExtEscape to flush the GL drawable to the physdev.
Based on a patch by Chris Robinson.
2007-10-10 17:33:35 +02:00
Vitaliy Margolen 82b1ba1f95 winex11drv: Ignore mouse move events when position did not change only when other events are present. 2007-10-05 10:24:35 +02:00
Chris Robinson d053049fd5 winex11: Load and use GLX_MESA_copy_sub_buffer for swapping buffers on a GLXPixmap. 2007-10-03 11:57:00 +02:00
Chris Robinson 37d835bf9a winex11: Use a GLXPixmap for offscreen OpenGL rendering when XComposite isn't available. 2007-10-03 11:56:55 +02:00
Chris Robinson 3629ea4cfd winex11: Track async GL drawable changes. 2007-10-03 11:47:14 +02:00
Chris Robinson 86a9b76076 winex11: Pass a display parameter when destroying glxpixmaps. 2007-10-03 11:47:02 +02:00
Chris Robinson 00633e37bc winex11: Use an offscreen redirected window for child OpenGL rendering. 2007-10-03 11:46:52 +02:00
Chris Robinson ebfba49e27 wgl: Remove GL scissors/viewport override. 2007-10-03 11:40:12 +02:00
Chris Robinson a8124f97e6 winex11: Store a GL-specific drawable with the window. 2007-10-03 11:39:07 +02:00
Gerald Pfeifer fe534ddde1 winex11.drv: Move X11DRV_XRender_Installed under #ifdef SONAME_LIBXRENDER. 2007-10-02 11:45:25 +02:00
Alexandre Julliard e36ed76139 winex11.drv: Always drag the full window for top-level windows to avoid having to grab the server. 2007-09-27 20:13:57 +02:00
Francois Gouget b2bc712323 Assorted spelling fixes. 2007-09-27 20:12:53 +02:00
Alexandre Julliard 809af590a1 winex11.drv: Don't call GDI functions while holding the X11 lock. 2007-09-27 18:02:26 +02:00
Chris Robinson 909f7ffcb9 winex11: Be compatible with older XComposite headers. 2007-09-27 11:57:54 +02:00
Chris Robinson 665a8add92 wgl: Override glFinish and glFlush. 2007-09-25 13:33:37 +02:00
Chris Robinson 4258465868 winex11.drv: Load the XComposite extension when available. 2007-09-25 13:32:46 +02:00
Mikolaj Zalewski 29a634728d winex11.drv/wintab32: Make wintab strings in winex11.drv Unicode, implement WTInfoW. 2007-09-21 12:42:00 +02:00
Alexandre Julliard d08fbfc3b0 winex11.drv: Don't call GDI functions while holding the xrender lock. 2007-09-21 10:47:45 +02:00
Chris Robinson 87e3cd66ab wgl: Don't set a pixel format on windows that already have one. 2007-09-20 16:49:07 +02:00
Mikolaj Zalewski 8072f6985c winex11.drv: wintab: Add missing CTX_PKTDATA support. 2007-09-20 16:34:38 +02:00
Mikolaj Zalewski 704a56864d winex11.drv: wintab: Add a missing break. 2007-09-20 16:34:33 +02:00
Alexandre Julliard 8be5b58ba7 winex11.drv: Update the wm hints when the window frame is changed. 2007-09-19 17:55:22 +02:00
Alexandre Julliard 7d21e6b375 winex11.drv: If a window is not resizable through the window manager fall back to non-managed resizing. 2007-09-19 17:54:33 +02:00
Dmitry Timoshkov 3407307a50 winex11.drv: Use symbolic names for MapVirtualKey translation types. 2007-09-18 11:15:01 +02:00
Alexandre Julliard 12b4930f96 winex11.drv: Invalidate the DCE when the window format is changed. 2007-09-18 09:34:08 +02:00
Chris Robinson d9571c9e6f wgl: Store the fbconfig id with the window when a pixel format is set. 2007-09-18 09:28:06 +02:00
Roderick Colenbrander 2a839e96c9 wgl: Fix a major ATI regression.
ATI's latest drivers (8.41.7) don't advertise visualids anymore for GLXFBConfigs.
2007-09-13 12:44:59 +02:00
Chris Robinson f0e0e9fb9b winex11: Remove improper comment and dead code from SetPixelFormat. 2007-09-12 12:46:52 +02:00
Chris Robinson e46d621bb6 winex11: Remove useless checks from wglCreateContext. 2007-09-12 12:46:47 +02:00
Chris Robinson 57380c2d9a winex11: Free visual info stored with the context. 2007-09-12 12:46:43 +02:00
Chris Robinson f825db6d0f winex11: Don't assume just one on-screen pixel format. 2007-09-12 12:37:46 +02:00
Chris Robinson 6c5b58a44a winex11: Simplify ConvertPixelFormatWGLtoGLX. 2007-09-12 12:37:22 +02:00
Chris Robinson 5221921fa6 winex11: Don't choose pixel formats with incorrect doublebuffer/stereo settings. 2007-09-12 12:36:38 +02:00
Vitaliy Margolen 6444f574c7 winex11drv: Don't ignore mouse move events even when position did not change. 2007-09-11 11:47:49 +02:00
Jacek Caban b5c0573dd8 winex11: Fixed GetClipboardFormatName spec entry. 2007-09-10 16:15:20 +02:00
Mikolaj Zalewski ee2db299de winex11.drv: wintab: Copy also the button #0 state. 2007-08-31 13:24:55 +02:00
Lionel Debroux d99882a384 winex11.drv: Fix memory leak in create_cursor (found by Smatch). 2007-08-31 13:21:07 +02:00
Mikolaj Zalewski ee747f3d70 winex11.drv: Support GdiAlphaBlend with blendfn.AlphaFormat == 0. 2007-08-31 12:08:58 +02:00
Alexandre Julliard a2a5118362 winex11: Set initial wm hints on the desktop window too. 2007-08-30 12:19:55 +02:00
Steven Edwards 13f9b0a642 x11drv: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:28 +02:00
Mikolaj Zalewski 9a72a865a2 winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend. 2007-08-29 12:03:08 +02:00
Alexandre Julliard 74cd76c9c7 winex11: Tool windows should not have WM decorations. 2007-08-29 12:02:57 +02:00