Commit Graph

684 Commits

Author SHA1 Message Date
Ken Thomases a30327afef winex11.drv: Accomodate XGetWindowProperty returning an actual format of something other than 32 for the TARGETS property.
We shouldn't care what format the property was set with, as long as we
trust that the property is an atom type.
2008-01-25 13:44:24 +01:00
Alexandre Julliard e6dfbcb07f winex11: Check for managed mode in create_whole_window again now that it is called lazily. 2008-01-25 12:07:11 +01:00
Alexandre Julliard d6f6745c9c user32: Moved the bulk of CreateWindow and SetWindowPos from the driver back into user32. 2008-01-24 11:23:09 +01:00
Alexandre Julliard a7cdf6e110 winex11: Catch DIB memory accesses that touch the last page beyond the DIB bits end. 2008-01-24 10:21:17 +01:00
Alexandre Julliard 8913182b89 winex11: Check for need to make window managed when WS_VISIBLE is set outside of SetWindowPos. 2008-01-24 10:21:07 +01:00
Alexandre Julliard 026974f5be winex11: Create the window data structure lazily, once the window is made visible. 2008-01-24 10:20:51 +01:00
Alexandre Julliard b6cc7f9bcc winex11: Don't create a win_data structure for the root window in non-desktop mode. 2008-01-24 10:20:11 +01:00
Alexandre Julliard cbdf1294e6 winex11: Export a function to dock a window into the system tray, and get rid of the WS_EX_TRAYWINDOW style. 2008-01-23 21:40:45 +01:00
Alexandre Julliard d147e02087 winex11: Remove obsolete code to set Z-order for child windows. 2008-01-23 21:39:32 +01:00
Dmitry Timoshkov e5e261f104 user32: Make MapVirtualKeyEx(MAPVK_VK_TO_CHAR) behave more like in Windows. 2008-01-23 20:39:19 +01:00
Alexandre Julliard e929e3b603 winex11: Get the icon from the window in case it was changed before the whole window was created. 2008-01-23 16:41:09 +01:00
Alexandre Julliard 12d1d4041a winex11: Set icon hints on non-managed windows too, since they may become managed later on. 2008-01-23 16:40:19 +01:00
Alexandre Julliard 3ba20257ce winex11: Set hints for the existing window text when creating the whole window. 2008-01-23 16:32:55 +01:00
Alexandre Julliard 395928dfb1 winex11: Apply the existing window region (if any) when creating the whole window.
Move X11DRV_SetWindowRgn to window.c.
2008-01-23 16:30:18 +01:00
Alexandre Julliard 9fc4e5f740 winex11: Add a mapped flag to the window data instead of relying on WS_VISIBLE. 2008-01-23 12:28:32 +01:00
Alexandre Julliard c567556dfe winex11: Move code around in X11DRV_SetWindowPos to reduce indentation levels. 2008-01-23 12:28:12 +01:00
Alexandre Julliard bbfbe24681 winex11: Update the win data rectangles before doing anything else in SetWindowPos. 2008-01-23 12:28:01 +01:00
Alexandre Julliard a76abc0322 winex11: Leave it up to explorer to specify the correct size and position for the desktop. 2008-01-23 11:31:07 +01:00
Alexandre Julliard dbfe24c33c winex11: Move resetting of the cursor clip rectangle into xinerama_init(). 2008-01-23 10:30:42 +01:00
Alexandre Julliard 235dd63fdc winex11: Move the window bits according to the valid rects instead of invalidating. 2008-01-22 20:34:11 +01:00
Alexandre Julliard b90baa1127 winex11: Properly invalidate moved child windows instead of forcing SWP_NOCOPYBITS.
Add a move_window_bits() function where the missing functionality of
moving the window contents should go.
2008-01-22 20:30:46 +01:00
Alexandre Julliard f1a0348b4e winex11: Make the client rect relative to the parent window for consistency with the server side. 2008-01-22 20:08:56 +01:00
Alexandre Julliard 5df4e62312 winex11: Abstract the server part of SetWindowPos into a separate function. 2008-01-22 20:08:03 +01:00
Alexandre Julliard 2f69329a37 server: Add a separate request to set the window visible rect. 2008-01-22 20:01:21 +01:00
Alexandre Julliard dc07b6f969 winex11.drv: Only allocate wm hints if we have an X11 window. 2008-01-22 10:17:52 +01:00
Alexandre Julliard 390ae9cc28 winex11.drv: Fix handling of strange window sizes in CreateWindow, with tests. 2008-01-22 10:16:19 +01:00
Alexandre Julliard 30d84fcd77 user32,server: Set the initial window rectangles to 0,0-0,0. 2008-01-22 10:15:38 +01:00
Alexandre Julliard 6a23bd885d winex11.drv: Set the initial icon hints in set_initial_wm_hints(). 2008-01-21 11:13:37 +01:00
Alexandre Julliard c5a95025cf winex11.drv: Moved initialization of screen_width/height to xinerama_init to do it inside the x11 lock. 2008-01-17 19:59:22 +01:00
Alexandre Julliard c19af910eb winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
Handle desktop size changes by sending a message to the desktop owner.
2008-01-17 19:53:59 +01:00
Alexandre Julliard c975876cb9 winex11.drv: Don't fetch the atom for a null device type. 2008-01-17 15:23:37 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Dmitry Timoshkov 2fdaa56693 gdi32: Add a test for undocumented EnumFontFamiliesEx(NULL), make it pass under Wine. 2008-01-15 11:38:15 +01:00
Marcus Meissner 75de624377 winex11: Set last error on enumerating display settings. 2008-01-09 13:38:03 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00
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
Roderick Colenbrander 49c635094b wgl: Degrade an ERR to a WARN. 2007-08-29 11:58:39 +02:00
Alexandre Julliard effdfa7da4 winex11: Child windows don't get activated even when requested, so don't make them managed either. 2007-08-27 12:37:14 +02:00
Alexandre Julliard 8bbeadf565 user32: IsChild must not consider the desktop window. 2007-08-24 10:56:51 +02:00
Rob Shearman fba87b110f winex11.drv: Don't activate the systray window when repositioning it. 2007-08-23 20:18:32 +02:00
Alexandre Julliard 372492436a winex11: Get rid of get_context_from_GLXContext. 2007-08-23 12:52:57 +02:00
Alexandre Julliard f36536f7ab winex11: Properly update the hdc in the GL context. 2007-08-23 12:50:29 +02:00
Roderick Colenbrander daceb4564f wgl: Fix wglGetCurrentReadDCARB bugs. 2007-08-23 12:38:39 +02:00
Alexandre Julliard a37a2fa4c5 winex11: Update the wm hints also when mapping a previously zero-size window. 2007-08-21 21:38:20 +02:00
Roderick Colenbrander 22eea683ff wgl: Cleanup pixelformat initialization code. 2007-08-20 22:25:28 +02:00
Roderick Colenbrander d5c0888bba wgl: Fix a typo in the trace code. 2007-08-20 22:25:24 +02:00
Alexandre Julliard f48eb1581d winex11: Force a window to managed mode when it is activated. 2007-08-20 22:06:50 +02:00
Alexandre Julliard ac98e0c075 winex11: Switch windows to managed mode in SetWindowPos instead of at creation time. 2007-08-20 22:06:33 +02:00
Alexandre Julliard 0ce718702d winex11: Don't select for StructureNotify events on unmanaged windows. 2007-08-20 14:23:10 +02:00
Alexandre Julliard f3ae5f5215 winex11: Don't set the cursor on the desktop window since it's managed by another process. 2007-08-20 14:04:53 +02:00
Alexandre Julliard 7d9739e2b5 winex11: Move setting of the initial wm hints to a separate function. 2007-08-20 14:04:36 +02:00
Roderick Colenbrander d068bdd820 wgl: Fix a render_texture regression. Only enable GLX_ATI_render_texture when the ati extension is around. 2007-08-17 12:22:09 +02:00
Alexandre Julliard eaad370987 winex11: Don't try to activate the desktop window on take focus. 2007-08-16 23:43:58 +02:00
Alexandre Julliard bde89576b3 winex11: Store wm hints in the window data instead of fetching them when needed. 2007-08-16 23:27:37 +02:00
Chris Robinson 5e6d3c15e7 wgl: GDI support is not advertised with double buffering. 2007-08-14 20:29:21 +02:00
Roderick Colenbrander 454a612223 wgl: Proper stereo / double buffering support for ChoosePixelFormat. 2007-08-14 12:47:49 +02:00
Roderick Colenbrander aab98fc6ea wgl: Recognize Vista's PFD_SUPPORT_COMPOSITION flag. 2007-08-14 12:46:58 +02:00
Chris Robinson 308da6313e winex11: Set proper pixel format flags. 2007-08-13 13:05:37 +02:00
Roderick Colenbrander 04d383381f wgl: Re-enable GLX_ATI_render_texture support. 2007-08-13 13:05:29 +02:00
Damjan Jovanovic 28ddfe802e winex11.drv: Correctly handle overlapping source and destination regions on the same DIB when copying DIBs client-side. 2007-08-13 11:58:21 +02:00
Roderick Colenbrander f879f69f98 wgl: Make sure onscreen pixelformats are on top in wglChoosePixelFormatARB. 2007-08-10 16:18:54 +02:00
Chris Robinson 7959be3850 winex11: Don't add spaces to the beginning of the wglExtensions list. 2007-08-10 12:58:17 +02:00
Roderick Colenbrander dee2fc09f5 wgl: Rewrite ChoosePixelFormat. 2007-08-09 14:10:50 +02:00
Roderick Colenbrander ae98679ebe wgl: Correctly check GLX capabilities. Use client GLX extensions on ATI hardware to work around driver bugs. 2007-08-09 14:09:49 +02:00
Chris Robinson 68c5477d27 winex11: Be consistent with GLX_SLOW_CONFIG meaning GENERIC_ACCELERATION. 2007-08-06 13:59:15 +02:00
Chris Robinson b4c11e3033 winex11: Properly handle WGL_PBUFFER_LOST_ARB. 2007-08-06 13:59:06 +02:00
Michael Stefaniuc 0bd2548bbf winex11.drv: Move the TRACE before the return. Found by Smatch. 2007-08-06 12:18:07 +02:00
Chris Robinson 3fc8ac5546 wgl: WGL_COLOR_BITS_ARB does include alpha. 2007-08-06 12:12:08 +02:00
Roderick Colenbrander 462a3c3d74 wgl: wglChooosePixelFormatARB returns the total number of matching pixelformats and not the number of pixelformats stored in the buffer.
This didn't work due to bugs in wglChoosePixelFormatARB but also due
to strange behavior of glXChooseFBConfig. Some of its default values
are not zero or GLX_DONT_CARE which cause some formats not to appear.
2007-08-03 13:38:44 +02:00
Chris Robinson a2475921b1 winex11: Don't use ConvertAttribWGLtoGLX for wglCreatePbufferARB. 2007-08-03 12:35:43 +02:00
Chris Robinson ccb9da5f85 winex11: Report accumulation buffer bits for pixel formats. 2007-08-03 12:35:34 +02:00
Chris Robinson c37b95bbaa winex11: Check for WGL drawing caps. 2007-08-02 12:58:07 +02:00
Roderick Colenbrander b25b287e6c wgl: Support WGL_FLOAT_COMPONENTS_NV in wglGetPixelFormatAttrib*. 2007-08-02 12:18:41 +02:00
Roderick Colenbrander 5717dede77 wgl: Print more debug info. 2007-08-02 12:18:41 +02:00
Roderick Colenbrander 323d9e428c wgl: SetPixelFormat should fail on the root window. 2007-08-02 12:18:22 +02:00
Roderick Colenbrander 219269c0f1 wgl: GetPixelFormat fix for offscreen formats. 2007-08-02 12:04:33 +02:00
Roderick Colenbrander aa225419f3 wgl: Silence an error in ConvertPixelFormatWGLtoGLX. 2007-08-02 11:54:05 +02:00
Roderick Colenbrander bfe2d11b05 wgl: Fix compilation on systems without GLX_RGBA_FLOAT_ARB. 2007-07-30 23:37:58 +02:00
Roderick Colenbrander d03e2696cf wgl: Replace glReadPixels in wglBindTexImage2D by the MUCH faster glCopyTexImage2D. 2007-07-30 15:03:25 +02:00
Roderick Colenbrander 8cbb0a6f18 wgl: wglBindTexImageARB should return TRUE on success. 2007-07-30 15:03:06 +02:00
Roderick Colenbrander 14e17b0a2e wgl: Add WGL_ATI_pixel_format_float/WGL_ARB_pixel_format_float support. 2007-07-30 15:02:53 +02:00
Roderick Colenbrander daaf08f0d2 wgl: Enable WGL_EXT_swap_control by default even when the GLX version isn't there. 2007-07-30 15:02:27 +02:00
Roderick Colenbrander 96f9cceb68 wgl: Use correct types and pixelformats for pbuffers. 2007-07-30 15:02:13 +02:00
Roderick Colenbrander 8873478e05 wgl: Add WGL_NV_float_buffer and WGL_NV_texture_rectangle support. 2007-07-30 12:51:03 +02:00
Roderick Colenbrander ae9119f8d0 wgl: Fix another BadMatch error by giving a pbuffer its own GLXContext. 2007-07-30 12:50:44 +02:00
Roderick Colenbrander 7d8c31075b wgl: Fix a BadMatch error resulting from ignoring that iPixelFormat stars counting from 1. 2007-07-30 12:50:24 +02:00
Roderick Colenbrander 6f3e8a2fcf wgl: Fix a typo in the WGL_TEXTURE_TARGET_ARB emulation code. 2007-07-27 12:21:33 +02:00
Roderick Colenbrander 4682f8f77a wgl: Enable offscreen pixelformats for pbuffers. 2007-07-27 12:21:18 +02:00
Roderick Colenbrander 4a96be5a72 wgl: Replace the GLXFBConfigIDs in the pixelformat list with real GLXFBConfigs. 2007-07-27 12:21:06 +02:00
Roderick Colenbrander cfd81827ac wgl: Fill the format table with offscreen pixelformats which are needed for pbuffers. 2007-07-27 12:20:54 +02:00
Roderick Colenbrander 1855eb25f3 wgl: Set pbuffer dimensions in HDC. 2007-07-26 11:50:47 +02:00
Roderick Colenbrander 8a02dbb43c opengl: WGL_ARB_render_texture support. 2007-07-26 11:49:28 +02:00
Peter Dons Tychsen d0b21abe81 x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP. 2007-07-25 14:01:14 +02:00
Nigel Liang 3f02c27da9 winex11.drv: Take into account position of preedit area in PreEditCaretCallback. 2007-07-25 13:03:53 +02:00
Vitaliy Margolen d836a50621 winex11drv: Correctly react to focus loss away from Wine. 2007-07-23 11:53:17 +02:00
Dmitry Timoshkov 7b77b91723 winex11.drv: Constify the pen dash data. 2007-07-20 12:25:42 +02:00
Nigel Liang c52ce9bccc winex11.drv: Implement XIMPreEditCaretCallback. 2007-07-20 11:58:35 +02:00
Evan Stade 9b9e08c210 winex11.drv: Draw dashed lines for extended pens. 2007-07-19 12:04:00 +02:00
Michael Stefaniuc 02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
Lei Zhang d0e068744a winex11.drv: Remove old dnd code. 2007-07-12 12:57:23 +02:00
Alexandre Julliard a851854a36 configure: Merge the libX11 and libXext existence check with the soname check. 2007-07-09 22:43:45 +02:00
Alexandre Julliard d68d4335af configure: Make the libXi soname check depend on the header check. 2007-07-09 22:42:49 +02:00
Alexandre Julliard 19a988a25c configure: Make the libXcursor soname check depend on the header check. 2007-07-09 22:42:28 +02:00
Alexandre Julliard 35d2fd7a25 configure: Merge the libXinerama existence check with the soname check. 2007-07-04 12:48:50 +02:00
Alexandre Julliard 629639ee60 configure: Merge the libXrender existence check with the soname check. 2007-07-04 12:47:57 +02:00
Alexandre Julliard af928ecbfa configure: Merge the libXrandr existence check with the soname check. 2007-07-04 12:45:03 +02:00
Alexandre Julliard 31353e1edd configure: Merge the libGL existence check with the soname check. 2007-07-04 12:44:12 +02:00
Peter Dons Tychsen cf7cfa85eb winex11: Fix X11DRV_DIB_GetImageBits() when target bitmaps are larger than fetched. 2007-07-04 12:07:01 +02:00
Huw Davies bd2fe1a2fa winex11.drv: Use global Pictures for the tiles. 2007-07-03 20:39:31 +02:00
Huw Davies 030ef1ef05 winex11.drv: Move the PictFormats into an array. 2007-07-03 20:39:31 +02:00
Huw Davies ee40cb4b9f winex11.drv: Pass root_window to XCreatePixmap to avoid BadDrawable errors. 2007-07-03 20:39:30 +02:00
Alexandre Julliard 446befbb4d configure: Don't use a default soname if a library is not found, leave it undefined. 2007-07-02 14:35:05 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Damjan Jovanovic b6030cb26d winex11.drv: Added better support for the X file drag protocol. 2007-06-27 14:32:27 +02:00
Lei Zhang e20625e5c9 winex11.drv: Reset focus if application does not want to be activated. 2007-06-22 12:28:45 +02:00
Nigel Liang 2f3a02ea2f winex11.drv: Remove call to XCreateFontSet. 2007-06-22 12:19:45 +02:00
Lei Zhang 9a67bded8c winex11.drv: Send WM_MOUSEACTIVATE before closing a window. 2007-06-21 16:39:02 +02:00
Kolbjørn Fredheim c960cae979 winex11.drv: Echo the video mode requested in the error message when not finding a matching mode. 2007-06-15 13:24:27 +02:00
Ulrich Czekalla 191a29c1e7 opengl: Use get_glxdrawable to grab the drawable. 2007-06-15 12:40:27 +02:00
Alexandre Julliard 1d9874a09e winex11.drv: Glyph width is rounded to 32 bits, make sure to provide enough null data. 2007-06-12 16:51:31 +02:00
Huw Davies c9fd5a265f winex11.drv: XRenderCompositeText has a problem with 0x0 glyphs, so we'll pretend they're 1x1. 2007-06-06 20:34:06 +02:00
Dmitry Timoshkov 4978194fde winex11.drv: Fix compilation warnings in 64-bit mode. 2007-05-30 11:55:35 +02:00
Dmitry Timoshkov ab2934781c gdi32: Make SetDCHook 64-bit safe. 2007-05-30 11:51:26 +02:00
Andrew Talbot 080635bdeb winex11.drv: Exclude unused headers. 2007-05-29 12:10:21 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Huw Davies e0150c357d winex11.drv: Use XRenderCompositeText instead of XRenderCompositeString. 2007-05-25 20:21:06 +02:00
Huw Davies 4edc46cbdb winex11.drv: Merge some common code. 2007-05-25 20:21:02 +02:00
Dmitry Timoshkov 130278f34a winex11.drv: Synchronize debug output between X11DRV_KeyEvent and X11DRV_ToUnicodeEx. 2007-05-21 15:55:51 +02:00
Rob Shearman ec4be6a258 winex11.drv: Remove an unneeded include. 2007-04-30 12:33:16 +02:00
Andrew Riedi 2c709c59b8 winex11.drv: Add legacy 32-bit cursor support. 2007-04-27 11:43:04 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
Alexandre Julliard 5c19285da6 winex11.drv: Hack to disable XInitThreads when an XIM is used. 2007-04-13 12:56:01 +02:00
Dan Kegel c2ae970e60 winex11.drv: GetAsyncKeyState must check mouse buttons, too. 2007-04-13 11:38:03 +02:00
Dmitry Timoshkov 56852a5eac user32: Windows uses ptMaxTrackSize to set an initial window size not ptMaxSize. 2007-04-06 12:37:53 +02:00
Alexandre Julliard 072698c953 winex11.drv: Store the display file descriptor directly in the server message queue.
Get rid of a few WaitForMultipleObjectsEx hacks.
2007-04-04 18:02:53 +02:00
Huw Davies 13c0c0d047 winex11.drv: Delete the tile pixmap whenever the drawable is changed. 2007-03-29 21:02:00 +02:00
Huw Davies 232c16fadb winex11.drv: Rename a local variable to avoid confusion with a global. 2007-03-29 21:01:48 +02:00
Andrew Riedi 23e2cb1f59 winex11.drv: Add Xcursor support for 32 bit cursors.
Based on patch by Henri Verbeet.
2007-03-28 11:17:13 +02:00
Alexandre Julliard f143010038 winex11.drv: Relax the bitmap depth check in CreateBitmap to accept some compatible formats. 2007-03-21 15:56:10 +01:00
Dmitry Timoshkov 520aa9f548 winex11.drv: In the case requested glyphs do not present in the font fail gracefully instead of asserting. 2007-03-19 12:16:57 +01:00
Andrew Talbot a33f71a32d winex11.drv: Replace inline static with static inline. 2007-03-17 20:04:54 +01:00
Louis Lenders d9445ce76b winex11.drv: Small spelling fix. 2007-03-14 13:13:52 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Jan Zerebecki 2db1e421f1 winex11.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:28 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Andrew Talbot 4b515b6adf winex11.drv: Replace const pointer parameters with correct non-const pointers. 2007-03-12 12:00:59 +01:00
Alexandre Julliard 9dd1f1e341 Added version information for a number of dlls. 2007-03-07 21:25:16 +01:00
Dmitry Timoshkov d2092ae2bd winex11.drv: Do not ignore the keysyms assigned to a group switch, it leads to side effects like missing KeyRelease events. 2007-03-06 12:25:20 +01:00
Aric Stewart 4f944f7f01 winex11.drv: Make sure keyboard state is up to date before processing GetAsyncKeyState. 2007-03-01 20:42:48 +01:00
Tomas Carnecky 24eabb8a46 winex11.drv: Spring cleanup in X11DRV_setup_opengl_visual, and added one new visual config (with aux buffers). 2007-03-01 12:17:34 +01:00
Jan Zerebecki fbaf31c50f winex11.drv: Change virtual desktop refresh rate from 0 to 60. 2007-03-01 11:39:09 +01:00
Stefan Dösinger 8b70b91cba winex11.drv: Ignore depth mismatch when using a virtual desktop. 2007-02-27 12:19:27 +01:00
Pierre d'Herbemont 0e28140ff8 winex11.drv: Check the valid rects after the set_window_pos wineserver call. 2007-02-26 15:55:13 +01:00
Jan Zerebecki 85d9b0249f winex11.drv: Set the refresh rate for NoRes to 60 instead of 0. 2007-02-23 11:24:29 +01:00
Francois Gouget 3e6aa43229 winex11.drv: Catch and report screen resolution change errors. 2007-02-23 11:24:16 +01:00
Ken Thomases 44c2db175b winex11.drv: Pass correct coords into X11DRV_InternalFloodFill.
The (x,y) should be relative to the XImage, not the drawable.  The (xOrg,yOrg)
is what should be relative to the drawable.  This fixes a crash when XGetPixel
tried to access memory outside the XImage's buffer.
2007-02-21 19:48:39 +01:00
Dmitry Timoshkov ac3646cc08 winex11.drv: Clients should pass only KeyPress events to XmbLookupString. 2007-02-21 15:21:14 +01:00
Dmitry Timoshkov e35db3408b user32: Add traces to the cursor APIs. 2007-02-21 10:55:01 +01:00
Marcus Meissner f4d7b4444c winex11.drv: Small fixes. 2007-02-19 12:36:33 +01:00
Alexandre Julliard 5fce682f41 winex11.drv: Added a check for the ATI driver corrupting %fs.
Based on a patch by Lei Zhang.
2007-02-14 18:18:07 +01:00
Alexandre Julliard 34c5104bcc winex11.drv: We still have to flush the display after mapping a window.
The Photoshop splash screen needs this.
2007-02-13 17:17:26 +01:00
Vitaliy Margolen abcbcc35da winex11.drv: Popup windows with system menu are managed. 2007-02-13 17:16:54 +01:00
Andrew Talbot a9446b9c5c winex11.drv: Remove unused items. 2007-02-08 11:55:44 +01:00
Vitaliy Margolen 8e52754226 winex11drv: Do extra error checking when opening XInput device. 2007-02-07 11:34:13 +01:00
Marcus Meissner 3afd7282bd winex11.drv: Removed dead code (Coverity). 2007-02-06 14:59:40 +01:00
Dmitry Timoshkov 65681a0e18 user32: Add the tests for minimize/restore MDI child sequence, fix some failures. 2007-02-05 21:04:20 +01:00
Dmitry Timoshkov 0fcc10fc3c user32: Although Windows sends WM_GETMINMAXINFO at the window creation time, it doesn't use returned values to set window size. 2007-02-05 14:01:49 +01:00
Andrew Talbot e463110e22 winex11.drv: Declare variable signed to accept possible negative return value (Coverity). 2007-02-05 12:33:10 +01:00
Ken Thomases a790ff5568 winex11.drv: Copy the GL extensions string because it may be freed. 2007-01-25 11:06:21 +01:00
Dmitry Timoshkov 635bb11049 winex11.drv: Fix the typos in the fullscreen state debug trace. 2007-01-15 12:44:24 +01:00
Francois Gouget c255bf4676 xrandr: Small X11DRV_XRandR_(Get|Set)CurrentMode() code optimisations. 2007-01-12 12:33:40 +01:00
Dmitry Timoshkov f6702ec4af winex11.drv: Force the fullscreen state update once the window is mapped. 2007-01-10 11:58:56 +01:00
Vitaliy Margolen edd84eedc8 winex11drv: Change FIXME to WARN in X11DRV_GetKeyNameText. 2007-01-08 21:13:31 +01:00
Vitaliy Margolen c3dc692b20 winex11drv/user32: Add ClipCursor to x11drv to pass clip rectangle to x11drv. 2007-01-06 11:40:46 +01:00
Dmitry Timoshkov d57dc9da0a user32: Fix some failures in the MDI message test. 2007-01-04 21:12:26 +01:00
Roderick Colenbrander e4eac235f1 wgl: Fix piAttributes NULL crash. 2007-01-04 09:55:36 +01:00
Roderick Colenbrander 86d4a9e078 winex11.drv: Remove get_drawable. 2007-01-02 12:08:30 +01:00
Roderick Colenbrander 1b3fec9699 winex11.drv: Remove desktop double buffering option. 2007-01-02 12:08:11 +01:00
Dmitry Timoshkov 92faf7aa96 user32: Make more ShowWindow tests pass under Wine. 2007-01-01 17:15:30 +01:00
Dmitry Timoshkov 0995a6ea43 winex11.drv: Fix the regression caused by a previous change. 2007-01-01 17:03:18 +01:00
Vitaliy Margolen 291d7e05ce winex11drv: Make dxgrab global. 2006-12-29 20:54:46 +01:00
Roderick Colenbrander 8da7b13343 wgl: Fix wglGetPixelFormatAttribiv bug. 2006-12-28 12:18:50 +01:00
Dmitry Timoshkov 910660253b user32: Add a message test for various ShowWindow() calls, fix some failures. 2006-12-22 11:52:13 +01:00
Roderick Colenbrander c026faaeed winex11.drv: pbuffer detection. 2006-12-20 12:31:04 +01:00
Ulrich Czekalla b2f33ffbbb winex11.drv: Don't crash when called with a NULL gl context. 2006-12-20 12:30:49 +01:00
Juris Smotrovs 00982465c4 user32: Extend the support for SWP_STATECHANGED for all windows. 2006-12-19 16:58:24 +01:00
Vitaliy Margolen 7de64a3ab8 winex11drv: Return cached cursor_pos in GetCursorPos(). 2006-12-19 12:39:08 +01:00
Ulrich Czekalla 4d8135e0c8 winex11.drv: Avoid grabbing syslevel locks in the wrong order. 2006-12-15 13:43:14 +01:00
Dmitry Timoshkov 6c73f7395b user32: Add support for the VK_APPS (Menu) key. 2006-12-15 12:20:05 +01:00
Vitaliy Margolen 1d9ea46cd4 user32: ClipCursor should use virtual screen resolution for empty/invalid rects. 2006-12-14 21:13:15 +01:00
Vitaliy Margolen ff721806ca winex11.drv: Update cached cursor position after calling hook. 2006-12-13 16:17:04 +01:00
Vitaliy Margolen b13681797a winex11.drv: Only events with MOUSEEVENTF_MOVE flag should change mouse position. 2006-12-13 16:16:12 +01:00
Alexandre Julliard aa25e2938c winex11.drv: Fixed computation of viewport and scissor position. 2006-12-12 21:07:39 +01:00
Pierre d'Herbemont 221b044740 user32: Factorize graphics driver SetParent into user32. 2006-12-12 20:38:32 +01:00
Alexandre Julliard fdcd9859b4 winex11.drv: Get rid of the display pointer in the GL context. 2006-12-12 18:23:34 +01:00
Alexandre Julliard 6e01e4aa51 opengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.
This causes lock inversions when the driver accesses the DC.
2006-12-12 18:21:01 +01:00
Ulrich Czekalla 715d0e8409 winex11.drv: Correctly position and clip opengl child windows. 2006-12-12 17:28:12 +01:00
Alexandre Julliard 0ab5590479 winex11.drv: Get rid of the unused set_drawable function. 2006-12-12 15:37:32 +01:00
Alexandre Julliard 21635133fb winex11.drv: Implemented DESKTOPHORZ/VERTRES device caps. 2006-12-12 14:59:55 +01:00
Alexandre Julliard d302db41aa winex11.drv: Make sure the drawable rect is always updated and use it where appropriate. 2006-12-12 13:46:15 +01:00
Ulrich Czekalla 4bdf4345b8 winex11.drv: Store window and drawable rects in X11DRV_PDEVICE. 2006-12-12 13:45:10 +01:00