Commit Graph

1807 Commits

Author SHA1 Message Date
Ken Thomases 3e09763835 winex11: Remove dead store into win_gravity in get_window_attributes(). 2014-04-21 10:42:18 +02:00
Eriks Dobelis 235100bb72 wintab: Initialize lcOutExtX and Y values. 2014-04-01 13:31:02 +02:00
Eriks Dobelis 2de64560fe wintab: Fix incorrectly classifying cursor as stylus instead of eraser. 2014-04-01 13:31:01 +02:00
Ken Thomases 809166def7 winex11: Remove set-but-never-read hwnd and fbconfig_id fields of struct x11drv_escape_set_drawable. 2014-04-01 10:44:57 +02:00
Ken Thomases 4325ecdca8 winex11: Maintain the swap interval when the drawable is recreated.
The swap interval is a property of the GLX drawable, which is destroyed and
recreated by set_gl_drawable_parent() and wglSetPixelFormatWINE().  When that
happens, copy the interval from the old gl_drawable and apply it at the next
call to wglSwapBuffers().
2014-04-01 10:44:34 +02:00
Ken Thomases eb235b6b98 winex11: Remove unused "parent" parameter from create_gl_drawable(). 2014-03-21 11:17:32 +01:00
Ken Thomases 6696e7d9e1 winex11: Don't reset OpenGL swap interval of window on SetParent(). 2014-03-21 11:17:23 +01:00
Aric Stewart 7a907f1fd7 imm32: Add IME_CMODE_FULLSHAPE to conversion mode. 2014-03-12 10:42:29 +01:00
Ken Thomases eef81f5ecc winex11: Don't leak client window and colormap when pixel format is changed. 2014-03-11 19:39:23 +01:00
André Hentschel a35b41acaa winex11: Use boolean return values in boolean function. 2014-01-30 14:51:38 +01:00
Alexandre Julliard 754b65062e configure: Merge the X_LIBS and XLIB variables. 2014-01-30 14:51:32 +01:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Sebastian Lackner f3568a5e12 winex11: Catch invalid values from broken QX11EmbedContainer implementations. 2014-01-27 14:13:29 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy 323bec99b3 winex11.drv: Use BOOL type where appropriate. 2013-11-29 13:32:46 +01:00
Sebastian Lackner 2e0ca3e746 winex11: Send XEMBED_REQUEST_FOCUS request for embedded windows. 2013-11-19 19:03:40 +01:00
Sebastian Lackner df6dc091e6 winex11: Implement additional XEMBED events. 2013-11-11 20:06:56 +01:00
Rico Schüller 2fa9b7ebb5 opengl32: Use opengl xml registry files. 2013-11-05 20:38:21 +01:00
Alexandre Julliard 7cc272cdef winex11: Use an init once function to register IME classes. 2013-10-22 10:25:28 +02:00
Alexandre Julliard fdde51580d winex11: Clear the thread data explicitly on detach. 2013-10-16 19:45:52 +02:00
Alexandre Julliard 13149b67d3 explorer: Create the driver desktop window after the window handle is created. 2013-10-16 12:13:50 +02:00
Alexandre Julliard 0f03f264b7 winex11: Add a helper function to return the primary monitor rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 9f1f29cc91 winex11: Add a helper function to return the virtual screen rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 0b71e0bf12 winex11: Add helper functions for converting between root and virtual screen coords. 2013-10-14 17:26:13 +02:00
Frédéric Delanoy 387fafd39e winex11.drv: Use BOOL type where appropriate. 2013-10-09 10:08:54 +02:00
Sebastian Lackner 4e9646a7f7 winex11: Call sync_context for DC_GL_CHILD_WIN drawables before swapping buffers. 2013-10-02 13:03:19 +02:00
Frédéric Delanoy ff7fc1fd45 winex11.drv: Use BOOL type where appropriate. 2013-10-02 11:06:39 +02:00
Sebastian Lackner e915cfd4e7 winex11: Call destroy_gl_drawable before destroying the window. 2013-09-30 20:36:33 +02:00
Sebastian Lackner 5fb74c48d1 winex11: Added missing release_win_data() to create_foreign_window(). 2013-09-25 11:54:52 +02:00
Michael Stefaniuc 5fd4f943dc winex11.drv: Avoid using CONST. 2013-09-24 12:58:03 +02:00
Akihiro Sagawa 310a3b1d11 winex11.drv: Fix empty glyph handling. 2013-09-23 20:32:24 +02:00
Ken Thomases cf973bd28d winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB(). 2013-09-20 14:11:24 +02:00
Roderick Colenbrander af58ccebba winex11: Support GLX_MESA_swap_control for WGL_EXT_swap_control. 2013-09-18 13:14:47 +02:00
Rafał Mużyło bb50d6fd95 configure: Don't use X_PRE_LIBS. 2013-09-05 13:21:58 +02:00
Roderick Colenbrander dee3418d3a winex11: Support WGL_EXT_swap_control_tear. 2013-09-04 16:27:29 +02:00
Roderick Colenbrander e95e77a19f winex11: Refactor wglSwapIntervalEXT for use with glXSwapIntervalEXT.
In preparation for WGL_EXT_swap_control_tear support, transition to using glXSwapIntervalEXT.
2013-09-04 16:27:25 +02:00
Alexandre Julliard cf380c9c67 winex11: Use a InitOnce function to initialize GDI device parameters. 2013-08-29 19:56:18 +02:00
Charles Davis d8cd280579 winex11.drv: Advertise some legacy WGL extensions in the GL_EXTENSIONS string. 2013-08-16 11:55:24 +02:00
Ričardas Barkauskas cde84a7bcc winex11.drv: When skipping unknown attribute also skip its value. 2013-07-02 11:09:30 +02:00
Austin English 44e69805e9 winex11.drv: Print the architecture when showing driver problems. 2013-06-27 13:38:53 +02:00
Alexandre Julliard ba54de6ed5 winex11: Don't use a surface if there is a client window.
We can't get clipping right for child windows if using a surface.
2013-06-11 18:07:42 +02:00
Matteo Bruni 667bd327be winex11.drv: Fix wglCreateContextAttribsARB's attributes handling for real. 2013-05-31 16:39:19 +02:00
Roderick Colenbrander 1f47580e9c winex11: Store opengl swap interval with gl_drawable. 2013-05-23 19:02:59 +02:00
C John Klehm d2ab8e454e winex11.drv: Add pen to tablet stylus detection whitelist. 2013-05-16 12:11:19 +02:00
Sam Edwards 3a5eef4eed winex11: Cache XRandR 1.2 display mode. 2013-05-13 11:05:13 +02:00
Sam Edwards 3fc2bccac2 winex11: Cache XRandR 1.0 display mode. 2013-05-13 11:05:10 +02:00
Henri Verbeet 76bbf106a2 winex11: Move the desktop process check from X11DRV_ClipCursor() to grab_clipping_window().
We don't want to clip in the desktop process, but we still need it to call
ungrab_clipping_window() if the process that was previously clipping didn't.
This can happen for example when fullscreen clipping is enabled, but the
corresponding window isn't explicitly destroyed before process exit.
2013-04-25 11:47:39 +02:00
Henri Verbeet 5206e512e2 winex11: Don't ignore hShareContext in X11DRV_wglCreateContextAttribsARB(). 2013-04-23 15:35:07 +02:00
Matteo Bruni d62e5874a9 winex11.drv: Print the error in wglCreateContextAttribsARB() when context creation fails. 2013-04-22 17:55:49 +02:00
Alexandre Julliard 04ad06353d user32: Move the common parts of ScrollDC into user32 and the null driver. 2013-04-19 16:16:16 +02:00
Matteo Bruni 6118676c20 winex11.drv: Fix attributes conversion in wglCreateContextAttribsARB(). 2013-04-11 19:32:28 +02:00
Alexander Monakov 7d61c7b158 winex11.drv: Simplify test for pbuffer availability. 2013-04-01 13:17:34 +02:00
Alexandre Julliard c2d53af33b winex11: Don't use uninitialized variables (Coverity). 2013-03-26 17:15:53 +01:00
Andrew Talbot 0ff8c9da52 winex11.drv: Avoid signed-unsigned integer comparisons. 2013-03-06 11:43:06 +01:00
Alexandre Julliard 4391deb930 winex11: Wait for the client window to be created on the server side. 2013-03-04 13:34:28 +01:00
Alexandre Julliard f15a5ff70f winex11: Explicitly set the border pixel when creating the client window. 2013-03-04 13:34:11 +01:00
Alexandre Julliard 76b8612c3e winex11: Preserve the client window when changing the window visual. 2013-02-13 17:19:40 +01:00
Alexandre Julliard ca5746ad1a server: Also exclude the top-level client rectangle for windows that have a pixel format. 2013-02-11 17:08:19 +01:00
Alexandre Julliard bdfab8cd88 winex11: Ignore color key and exposures when using the null surface. 2013-02-11 11:46:12 +01:00
Alexandre Julliard a73c5d5c81 explorer: Return a simple boolean instead of a window in the wine_create_desktop entry point. 2013-02-06 12:50:04 +01:00
Dmitry Timoshkov c7d33e1d44 gdi32: Add support for 16-bit QUERYESCSUPPORT queries. 2013-02-05 10:54:23 +01:00
Gerald Pfeifer e835f034fb winex11: Push down variable attrib down in create_gl_drawable. 2013-01-28 15:34:48 +01:00
Alexandre Julliard 8373f8b6f6 winex11: Handle Expose events on top-level client windows. 2013-01-23 19:09:29 +01:00
Alexandre Julliard 951415b602 winex11: Store the client window in the window data again, now that it can be accessed from all threads. 2013-01-23 19:06:32 +01:00
Alexandre Julliard 77af9035d8 winex11: Fallback to the standard cursor font when XCursor is missing. 2013-01-17 15:33:09 +01:00
Alexandre Julliard ae0ae4b9ba winex11: Check the bpp instead of the depth in the R8G8B8 format test. 2013-01-17 14:36:51 +01:00
Vincent Povirk 9dcc21e3e7 winex11.drv: Don't join INCR data until the transfer finishes. 2013-01-15 12:09:43 +01:00
Vincent Povirk 47217eaa83 winex11.drv: Flush property notify events before deleting properties. 2013-01-04 12:00:15 +01:00
Vincent Povirk 4013dc85e9 winex11.drv: Select property change events on selection request windows. 2013-01-04 12:00:08 +01:00
Alexandre Julliard defcfde17c winex11: Add an option to disable shaping of layered window to work around compositor bugs. 2013-01-02 18:09:34 +01:00
Andrew Talbot 9acc966688 winex11.drv: Indentation fix. 2012-12-24 13:30:11 +01:00
Alexandre Julliard 91ebca2bf1 winex11: Send WM_ENTERSIZEMOVE when starting to poll for a window move/resize. 2012-12-11 15:49:04 +01:00
Alexandre Julliard ed47a507d0 winex11: Send WM_EXITSIZEMOVE when the mouse has been released. 2012-12-10 20:30:29 +01:00
Alexandre Julliard b057c5f140 gdi32: Fix handling of font orientation in advanced graphics mode. 2012-12-10 17:36:23 +01:00
Alexandre Julliard b4ef8a0ee1 winex11: Support caching glyphs by character code and not only by glyph index. 2012-12-05 17:46:24 +01:00
Michael Stefaniuc 563ed3abde winex11.drv: Remove superfluous function pointer casts. 2012-12-04 10:54:43 +01:00
Alexandre Julliard 8e65485732 winex11: Fall back to normal expose processing for areas outside of the surface region. 2012-12-03 18:24:44 +01:00
Alexandre Julliard aa85f33c31 winex11: Store a copy of the surface region. 2012-12-03 18:24:43 +01:00
Michael Stefaniuc abf4250c72 winex11.drv: The winediag debug channel is only used for HAVE_XRRGETSCREENRESOURCES. 2012-11-30 19:12:16 +01:00
Andrew Talbot 00360e7c03 winex11.drv: Remove unused variable. 2012-11-29 00:15:48 +01:00
Alexandre Julliard e2da590a85 winex11: Don't bother waiting for XShmPutImage to finish. 2012-11-28 14:40:13 +01:00
Huw Davies 2232fef56c winex11: Add a few 'fall through' comments. 2012-11-27 17:00:16 +01:00
Henri Verbeet 8776e1c0e1 winex11: Detect broken NVIDIA RandR setups. 2012-11-26 11:51:18 +01:00
Alexandre Julliard 67d16ddee3 winex11: Move the screen saver support to a new SystemParametersInfo entry point. 2012-11-15 21:21:50 +01:00
Alexandre Julliard e5b18af9e8 winex11: Avoid using the system GL headers. 2012-11-07 18:12:03 +01:00
Alexandre Julliard 548e126454 winex11: Store the anti-aliasing flags in the device instead of the font cache. 2012-11-05 16:48:47 +01:00
Alexandre Julliard 11875bf40a winex11: Use the default anti-aliasing parameters from gdi32. 2012-11-05 16:25:48 +01:00
André Hentschel 574cf27f2a winex11: Avoid memory leaks (coverity). 2012-11-05 11:11:37 +01:00
Alexandre Julliard 9cdb0e1ca6 gdi32: Disable anti-aliasing when necessary in the various drivers. 2012-11-02 16:41:26 +01:00
Alexandre Julliard 6164d533a9 gdi32: Add a parameter to return anti-aliasing flags in the SelectFont driver entry point. 2012-11-02 16:41:21 +01:00
André Hentschel 585a66a463 winex11: Avoid memory leaks (coverity). 2012-10-31 16:12:27 +01:00
Alexandre Julliard 3ad40bf647 winex11: Delay mapping a layered window until its attributes are set. 2012-10-29 14:39:55 +01:00
Henri Verbeet f08854ac3d winex11: Avoid depending on ddraw.h. 2012-10-25 22:29:04 +02:00
Alexandre Julliard 0eef9075f3 winex11: Ignore WM_PAINT for layered system tray icons. 2012-10-25 11:54:09 +02:00
Alexandre Julliard f950f41bfe Revert "winex11: Refuse to set the pixel format for HWND_MESSAGE windows."
This reverts commit 53806917a3.
Tests show that this is allowed.
2012-10-23 16:39:32 +02:00
Alexandre Julliard 900b5f4b79 winex11: Remove some remainders of the ddraw HAL support. 2012-10-22 14:36:31 +02:00
Ken Thomases 60c60ece80 winex11: Fix name of extension WGL_NV_render_texture_rectangle. 2012-10-22 11:34:07 +02:00
Alexandre Julliard 5fae649bdf winex11: Never use a surface for embedded windows, even for the parents. 2012-10-21 12:18:28 +02:00
Alexandre Julliard 64aed7c5be winex11: Don't delete the DC if it's not for a valid pbuffer. 2012-10-18 19:19:42 +02:00
Alexandre Julliard 0f71ff281f winex11: Get rid of the __wine_x11_managed property. 2012-10-15 16:19:09 +02:00
Alexandre Julliard 0bc93684f0 winex11: Move the icon window off-screen for managed windows. 2012-10-15 16:17:22 +02:00
Alexandre Julliard 710858abee winex11: Remove the no longer needed GetAsyncKeyState entry point. 2012-10-15 15:25:01 +02:00
Marcus Meissner c9bd05d89e winex11.drv: Free bitmap info after being done (Coverity). 2012-10-15 13:31:05 +02:00
Alexandre Julliard fad3ca07e6 winex11: Don't return an alpha channel for DIBs read from the screen. 2012-10-10 20:34:09 +02:00
Alexandre Julliard 76272e0773 gdi32: Use BI_BITFIELDS to indicate that a 32-bpp DIB doesn't have an alpha channel. 2012-10-10 20:34:08 +02:00
Alexandre Julliard c6e0daa200 winex11: Recreate the GL drawable when changing the window parent. 2012-10-10 20:33:54 +02:00
Alexandre Julliard 47983d819f winex11: Create a surface even for OpenGL windows, to allow painting the non-client area. 2012-10-10 18:56:53 +02:00
Alexandre Julliard cc7bf355c5 user32: Add support for setting the window surface visible region. 2012-10-09 15:22:56 +02:00
Alexandre Julliard 20768173ba server: Add flags in the set_window_pos request to inform the server about the window surface. 2012-10-09 15:22:14 +02:00
Henri Verbeet 32125fe65e winex11: Don't send SC_RESTORE when a maximized window switches to fullscreen. 2012-10-04 14:11:29 +02:00
Alexandre Julliard 2500e21a90 winex11: Hold a reference to the surface in UpdateLayeredWindow. 2012-10-04 10:34:41 +02:00
Alexandre Julliard e41a482890 user32: Add a Wine-specific entry point to set the pixel format of a window. 2012-10-03 23:08:22 +02:00
Alexandre Julliard 3d73e0a357 winex11: Add a helper function to get a pixel format index. 2012-10-03 23:01:19 +02:00
Alexandre Julliard 5a9de7a498 winex11: Use the XShm extension to copy window surfaces. 2012-10-03 15:37:07 +02:00
Alexandre Julliard 70a511739e winex11: Maintain a separate copy of the surface image bits when we need byte swapping. 2012-10-03 15:24:21 +02:00
Alexandre Julliard 219e2a3545 winex11: Split copy_image_bits into a couple of helper functions. 2012-10-03 14:32:54 +02:00
Alexandre Julliard 37f36b7326 winex11: Don't try to change the window visual if we don't have a valid ARGB visual. 2012-10-03 11:19:39 +02:00
Alexandre Julliard 6f3b097a20 winex11: Fix a typo in the surface region computation with an alpha channel. 2012-10-03 11:19:39 +02:00
Alexandre Julliard dbff4f422c winex11: Copy the existing surface bits when a dirty rectangle is specified in UpdateLayeredWindow. 2012-10-03 11:19:38 +02:00
Alexandre Julliard 4ac1a5ac60 winex11: Allow changing the pixel format of a window from a different thread. 2012-10-03 11:19:35 +02:00
Alexandre Julliard 28721d69f4 winex11: Get rid of the OpenGL GDI driver. 2012-10-02 22:06:06 +02:00
Alexandre Julliard 05fe1e4e35 winex11: Move the FLUSH_GL_DRAWABLE implementation to the main ExtEscape routine. 2012-10-02 21:56:43 +02:00
Alexandre Julliard d8de77f01e winex11: Pass the source drawable to the FLUSH_GL_DRAWABLE escape. 2012-10-02 21:50:54 +02:00
Alexandre Julliard 53806917a3 winex11: Refuse to set the pixel format for HWND_MESSAGE windows. 2012-10-02 19:52:41 +02:00
Alexandre Julliard e03b8e1a1d winex11: Use ARGB layered windows for system tray icons when supported. 2012-10-02 14:08:37 +02:00
Alexandre Julliard d8247efd5e winex11: Take the alpha channel into account to compute the region of layered windows. 2012-10-02 14:08:37 +02:00
Alexandre Julliard f12c1c6630 winex11: Switch to an ARGB visual for layered windows with per-pixel alpha. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 8dcbeff760 winex11: Add support for per-window visuals. 2012-10-02 14:08:37 +02:00
Alexandre Julliard a81c23a450 winex11: Don't put window manager decorations on layered windows. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 24eee97d21 user32: Add a driver entry point for UpdateLayeredWindow. 2012-10-01 13:20:20 +02:00
Alexandre Julliard 91b0ee56cf user32: Default to the dummy surface if the driver doesn't provide something else. 2012-10-01 13:09:27 +02:00
Henri Verbeet 3ac14606ae winex11: Use the first active CRTC as primary if no primary is explicitly set. 2012-09-28 11:26:36 +02:00
Henri Verbeet 73d68c5a31 winex11: Handle a NULL cursor clipping rect the same as a fullscreen rect.
We want to avoid ungrabbing the clipping window if "fullscreen clipping" is
enabled.
2012-09-28 11:26:33 +02:00
Henri Verbeet 47c54c4ae7 winex11: Fullscreen windows are never maximized.
Some window managers incorrectly set maximized state on fullscreen windows.
2012-09-28 11:26:22 +02:00
Aric Stewart 5f5f20d6cf imm32: Properly separate the IME UI window and the thread default IME window. 2012-09-27 16:49:18 +02:00
Rico Schüller 9be6846224 winex11.drv: Remove unneeded include file. 2012-09-26 14:40:49 +02:00
Alexandre Julliard 7ee7d3a83f winex11: Recreate the graphics context when setting the drawable. 2012-09-26 14:40:43 +02:00
Alexandre Julliard 014ec638d6 winex11: Remove some unused palette code. 2012-09-26 14:40:42 +02:00
Alexandre Julliard 3c57f11374 winex11: Create a default colormap along with the default visual info. 2012-09-26 14:40:40 +02:00
Alexandre Julliard 988f2fde86 winex11: Store the full visual info for the default visual. 2012-09-26 14:40:39 +02:00
Alexandre Julliard 0a9398421c winex11: Add a workaround for XInput support with mouse drivers that don't provide labels. 2012-09-26 14:40:38 +02:00
Ken Thomases 5844105223 winex11: Avoid a redundant TRACE. 2012-09-24 22:27:27 +02:00
Alexandre Julliard 313157a036 winex11: Add window data structure locking to the remaining entry points. 2012-09-24 22:27:27 +02:00
Alexandre Julliard b515beb4a0 winex11: Add window data structure locking to the SetLayeredWindowAttributes entry point. 2012-09-24 22:27:27 +02:00
Alexandre Julliard 84918e7f06 winex11: Add window data structure locking to the SetWindowStyle entry point. 2012-09-24 22:27:27 +02:00
Alexandre Julliard 4c58210390 winex11: Add window data structure locking to the WindowPosChanging/Changed entry points. 2012-09-24 22:27:27 +02:00
Alexandre Julliard 803fc6e27c winex11: Add window data structure locking to the SysCommand entry point. 2012-09-24 22:27:27 +02:00
Alexandre Julliard 6a9f5e18d1 winex11: Add window data structure locking to the ShowWindow entry point. 2012-09-24 22:27:26 +02:00
Alexandre Julliard a6c543d0e6 winex11: Add window data structure locking to the map/unmap functions. 2012-09-21 16:54:40 +02:00