Commit Graph

1616 Commits

Author SHA1 Message Date
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