Alexandre Julliard
3f1c526ea2
winex11: Fix handling of bitmap header size for V4/V5 bitmaps.
2010-04-21 14:56:32 +02:00
Alexandre Julliard
8ec6359bbb
user32: Remove the CURSORICON parameter in the SetCursor entry point.
2010-04-21 11:07:45 +02:00
Alexandre Julliard
eed9c63ac7
winex11: Update the cursor from the thread input status instead of caching it per-thread in x11drv.
2010-04-21 11:07:45 +02:00
Alexandre Julliard
776527f38f
winex11: Move creation of an empty cursor to a separate helper function.
2010-04-20 21:23:28 +02:00
Alexandre Julliard
9485f0b756
winex11: Implement the entry points for creating and destroying cursors.
2010-04-20 21:20:10 +02:00
Alexandre Julliard
d676bf246d
user32: Add driver entry points for cursor creation and destruction, and pass the cursor handle to SetCursor.
2010-04-20 19:22:38 +02:00
Roderick Colenbrander
9eaab2cec1
wgl: Print the fbconfig fmt_id in ConvertPixelFormatWGLtoGLX instead of the meaningless pointer.
2010-04-20 16:24:29 +02:00
Roderick Colenbrander
26862c5ece
wgl: Ignore fbconfigs which are window drawable but which lack a visual.
2010-04-20 16:24:25 +02:00
Alexandre Julliard
f84f939411
winex11: Fix memory leaks in get_bitmap_argb.
2010-04-20 16:21:37 +02:00
Alexandre Julliard
a551dfe311
winex11: Add the small icon to the NET_WM_ICON hint.
2010-04-19 17:59:09 +02:00
Alexandre Julliard
f0644c6d07
winex11: Generate an alpha channel from the bitmask for icons that don't have one.
2010-04-19 17:54:43 +02:00
Alexandre Julliard
4253120745
winex11: Move creation of an ARGB bitmap for icons to a separate function.
2010-04-19 17:53:24 +02:00
Alexandre Julliard
6ef5ccb90e
winex11: Fix 16-bpp cursor conversions.
2010-04-16 16:24:24 +02:00
Alexandre Julliard
ea1d71c7a4
winex11: Set the NET_WM_ICON hint for 32-bpp icons.
2010-04-16 16:23:33 +02:00
Alexandre Julliard
da57adf271
winex11: Mask out the alpha channel when converting from color to monochrome.
2010-04-15 22:53:27 +02:00
Alexandre Julliard
5cafb7c917
winex11: Add support for big-endian 32-bpp Xrender formats.
2010-04-15 16:22:34 +02:00
Alexandre Julliard
a53a3f50ad
winex11: Rewrite AlphaBlend to do everything on the server side, and support all types of source bitmaps.
2010-04-15 15:44:46 +02:00
Alexandre Julliard
246e3732c0
winex11: Use the BITBLT_GetVisRectangles helper function for AlphaBlend too.
2010-04-15 14:39:37 +02:00
Alexandre Julliard
439223d43a
winex11: Move logical to physical mapping into the BITBLT_GetVisRectangles helper function.
2010-04-15 14:39:36 +02:00
Alexandre Julliard
39493b0660
winex11: Define a structure to hold coordinates information for BitBlt operations.
2010-04-15 14:39:33 +02:00
Alexandre Julliard
5842971b15
winex11: Use repeating instead of scaling when stretching a 1x1 source bitmap.
2010-04-15 14:26:41 +02:00
Alexandre Julliard
e9173e1e65
winex11: Add a separate helper function for Xrender mono->color blits.
2010-04-15 14:25:32 +02:00
Alexandre Julliard
13f203a5f6
winex11: The source offset for mirrored Xrender blits must be scaled too.
2010-04-15 14:24:20 +02:00
Roderick Colenbrander
c29cf05919
winex11: Add support for 32-bit DDBs.
2010-04-13 13:06:32 +02:00
Henri Verbeet
3255b21456
winex11.drv: Allow OpenGL on minimized windows.
2010-04-12 11:38:05 +02:00
Alexandre Julliard
3bc0a1099d
winex11: Fix the calling convention of X11DRV_wglCreateContextAttribsARB.
2010-04-07 23:44:14 +02:00
Dmitry Timoshkov
e35e75b4bf
winex11.drv: Do not allow WM actions for windows with WS_DISABLED style set.
...
Some applications do not expect and could have undefined behaviour (or even
crash) when a not active (and disabled) main window under a dialog popup is
being closed or minimized/maximazed. Most of Window Managers allow that, but
Windows doesn't.
2010-04-07 13:51:21 +02:00
Vincent Povirk
986a534ebe
winex11.drv: Clip rectangle values to 16-bit limits.
2010-04-02 15:22:51 +02:00
Mikhail Maroukhine
3069ad44cb
winex11.drv: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:17:46 +02:00
Alexandre Julliard
b6ef8a5944
winex11: Don't make the owner window managed if its popup isn't.
2010-03-20 20:16:42 +01:00
Vincent Povirk
e4a50e1615
winex11.drv: Use CurrentTime to focus windows if we have no timestamp.
2010-03-18 10:22:59 +01:00
Vincent Povirk
1eff311e8d
winex11.drv: ReadSelectionData should fail if the import function fails.
2010-03-18 10:22:55 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Roderick Colenbrander
22a247047d
wgl: Add more OpenGL diagnosing checks.
2010-03-15 13:28:24 +01:00
Jörg Höhle
9079109a45
winex11: Log keycode decimal <-> hex for keysym & MS vkey and scancode.
2010-03-04 12:28:22 +01:00
Alexandre Julliard
9cd1ce2510
winex11: Don't try to create the owner window if it belongs to a different thread.
2010-03-01 17:06:19 +01:00
Henri Verbeet
724026dc5f
winex11.drv: GetObject() already returns a DIB's absolute height.
2010-03-01 14:03:34 +01:00
Henri Verbeet
508b00a329
winex11.drv: Use the bitmap's "topdown" field in X11DRV_DIB_DoCopyDIBSection().
2010-03-01 14:03:33 +01:00
Henri Verbeet
ba38340cdb
winex11.drv: Use the bitmap's "topdown" field in X11DRV_AlphaBlend().
2010-03-01 14:03:33 +01:00
Henri Verbeet
a2d569a0e6
winex11.drv: Use the bitmap's "topdown" field in X11DRV_SetDIBits().
2010-03-01 14:03:33 +01:00
Henri Verbeet
f331fe4c27
winex11.drv: Store if a bitmap is top-down in X_PHYSBITMAP.
...
GetObject() is supposed to return the absolute height, and there's no other
way to retrieve this information after the bitmap is created.
2010-03-01 14:03:33 +01:00
Kusanagi Kouichi
32c39db84d
winex11.drv: Add a new debug channel for XIM.
2010-02-24 15:12:31 +01:00
Kusanagi Kouichi
097d3f0aa0
winex11.drv: There seems to be nothing to be done for IMN_SETOPENSTATUS.
2010-02-24 15:12:31 +01:00
Kusanagi Kouichi
f32483dde1
winex11.drv: Generate IME messages as needed.
2010-02-24 15:12:31 +01:00
Alexandre Julliard
913cab1353
winex11: Switch owner window to managed when displaying one of its popups.
2010-02-23 12:35:10 +01:00
Alexandre Julliard
391afac66f
winex11: Windows that own popups should be managed.
2010-02-23 12:34:19 +01:00
Alexandre Julliard
7b3a00c09e
winex11: Make sure that the owner window exists when setting the transient for attribute.
2010-02-23 12:33:01 +01:00
Roderick Colenbrander
d11b99b3aa
winex11: Also take into account source offsets when a mask is around.
2010-02-22 12:01:49 +01:00
Roderick Colenbrander
c6a290fa94
winex11: When a mask picture is active, the source offsets should be relative to mask_pict instead of src_pict.
2010-02-22 12:01:39 +01:00
Kusanagi Kouichi
10789142fc
winex11.drv: Check XDND version.
2010-02-22 11:55:42 +01:00
Kusanagi Kouichi
f7b18148d4
winex11.drv: Keep the state of XIM and IME consistent.
2010-02-22 11:55:25 +01:00
Roderick Colenbrander
a19abd9fd5
winex11: Use PictOpOver instead of PictOpSrc in 1-bit -> color blits.
2010-02-17 16:49:53 +01:00
Roderick Colenbrander
5b29189da4
winex11: Fix xrender mono->mono blit.
...
Use plain xrender_blit for mono -> mono copies, masking in combination
with PictOpOver doesn't make sense and doesn't work.
2010-02-17 16:33:05 +01:00
Alexandre Julliard
bcf88b5885
winex11: Fix the DC rect offset for a released DC.
2010-02-16 12:37:42 +01:00
Kusanagi Kouichi
e5f0cdfcf6
winex11.drv: Show the default IME window only when necessary.
2010-02-16 12:30:30 +01:00
Kusanagi Kouichi
4ccbcb02b2
winex11.drv: Handle result string directly.
2010-02-16 12:28:41 +01:00
Roderick Colenbrander
3afa657636
winex11: Fix palette conversion bug.
...
The LookupPixel code assumed we want to convert pixels to the format
corresponding the default color shifts.
2010-02-16 11:32:44 +01:00
Jörg Höhle
da49030b39
winex11: Add vkey codes for functions keys upto F24.
...
Scancodes 63..6B for F16-F24 were not added because they conflict
with the 60.. reassignment heuristic in InitKeyboard.
2010-02-15 12:20:03 +01:00
Jörg Höhle
7155742d70
winex11: Initialize KeyPressEvent for XmbLookupString.
2010-02-15 12:20:02 +01:00
Kusanagi Kouichi
30872b0ebf
winex11.drv: Fold X11DRV_ImmSetOpenStatus into XIMPreEditDoneCallback.
2010-02-12 14:49:38 +01:00
Kusanagi Kouichi
3739dcd6e5
winex11.drv: Simplify X11DRV_ImmSetInternalString.
2010-02-12 14:49:38 +01:00
Kusanagi Kouichi
af0882862f
winex11.drv: Private copy of a result string is unnecessary.
2010-02-12 14:49:38 +01:00
Alexandre Julliard
08b8325460
winex11: Shape offset must be relative to the window position.
2010-02-08 17:49:47 +01:00
Alexandre Julliard
4c7b8ca524
winex11: Update the window shape offset when the window rect changes.
2010-02-04 17:27:19 +01:00
Alexandre Julliard
aa47784130
winex11: Synchronize the shaped flag with the window region before determining the window size.
2010-02-02 20:28:21 +01:00
Alexandre Julliard
baa7eed11c
winex11: Use the thread connection to clear the systray icon window.
2010-01-22 12:44:59 +01:00
Ilya Shpigor
a374b3cbbe
winex11.drv: Produce VK_CANCEL vkey on the Ctrl+Pause/Break pressing.
2010-01-19 15:03:58 +01:00
Marcus Meissner
6fb5e61afb
winex11: Remove more superflous NULL checks (Coverity).
2010-01-08 10:13:18 +01:00
Marcus Meissner
065fa22adc
winex11.drv: physDev cannot be NULL (Coverity).
2010-01-07 19:41:34 +01:00
Alexandre Julliard
00b06dac85
winex11: Don't process ConfigureNotify events that have been superseded by a later configure request.
2010-01-04 17:56:32 +01:00
Rob Shearman
e4888b0e3c
winex11.drv: Empty clipboard cache on process unload to avoid false positives being reported for memory leaks.
2009-12-30 13:39:55 +01:00
Michael Stefaniuc
425cc7e033
winex11.drv: Remove some explicit LPARAM/WPARAM casts.
2009-12-28 12:27:13 +01:00
Alexandre Julliard
10e12c8183
winex11: Only check for fs register corruption on i386.
2009-12-24 12:58:51 +01:00
Alexandre Julliard
83b66549da
user32: Get rid of 16-bit handles in the driver clipboard interface.
2009-12-23 14:27:31 +01:00
Roderick Colenbrander
48db6abae1
winex11: Fix a null pointer crash when XRender isn't around.
2009-12-22 13:48:24 +01:00
Michael Stefaniuc
32d0ef3911
winex11: Fix missing unlock & free on an error path (Smatch).
2009-12-15 11:44:49 +01:00
Alexandre Julliard
d18ad16331
winex11: Make GetKeyboardLayoutName() use the same default layout as GetKeyboardLayout().
2009-12-14 16:14:38 +01:00
Vincent Povirk
6f9533feb1
winex11.drv: Use the old method to delete the desktop window.
2009-12-14 12:04:02 +01:00
Alexandre Julliard
e099b80a6f
winex11: Fix a compiler warning.
2009-12-09 13:13:29 +01:00
Roderick Colenbrander
662653c8ff
winex11: Move X11 display failure MESSAGE to winediag.
2009-12-08 17:52:20 +01:00
Marcus Meissner
478592cd3d
winex11.drv: Handle if cursor not found (Cpverity).
2009-12-04 14:34:57 +01:00
Roderick Colenbrander
a191184ae9
wgl: Add a direct rendering check to new winediag channel.
2009-12-04 14:34:56 +01:00
Marcus Meissner
8a06bd9e1c
winex11.drv: Check NULL before calling (Coverity).
2009-12-02 13:14:47 +01:00
Rob Shearman
b894925b0e
winex11.drv: Make sure that the selectionAcquired flag has been set before returning from X11DRV_AcquireClipboard.
...
X11DRV_CLIPBOARD_UpdateCache depends on selectionAcquired being set if
the current process is the selection owner, otherwise it will defer to
getting the clipformats from X, manufacturing extra formats that the
app may not be expecting, having just set the formats itself. Worse
still, since selectionAcquired is set in another thread this behaviour
is not predicatable and it may sometimes use the clipformats already
set and other times defer to X.
2009-12-01 15:10:37 +01:00
John Klehm
bc95ef3cbc
winex11.drv: Report correctly when wintab is disabled.
2009-11-30 12:47:46 +01:00
Vincent Povirk
1bd13dec61
winex11.drv: Generate text/html clipboard data from HTML Format.
2009-11-23 13:34:15 +01:00
Vincent Povirk
56b8536336
winex11.drv: Remove the HTML Format -> text/html clipboard mapping.
...
The two formats do not match exactly.
2009-11-23 13:34:09 +01:00
Austin English
a3cf7a4e06
winex11.drv: Downgrade an ERR to a WARN.
2009-11-19 11:45:59 +01:00
Roderick Colenbrander
9a85426389
wgl: Add support for WGL_ARB_create_context_profile which is required for OpenGL 3.2.
2009-11-19 11:04:35 +01:00
Roderick Colenbrander
41f061ea1b
wgl: Add initial WGL_ARB_create_context support.
2009-11-18 11:39:57 +01:00
Alexandre Julliard
184f1fe331
winex11: Get rid of the SetDCOrg entry point.
2009-11-17 15:14:54 +01:00
Roderick Colenbrander
50a8b2a633
wgl: The GLX context creation code isn't needed anymore in wglCopyContext because we always have a GLX context now.
2009-11-17 12:05:40 +01:00
Roderick Colenbrander
f4b88e34ec
wgl: Get rid of delayed GLX context creation. Instead attempt to re-create a context when wglShareLists is called.
2009-11-16 17:42:54 +01:00
Roderick Colenbrander
e7590fcfb5
wgl: Make sure we set a valid value for GLX_DRAWABLE_TYPE. Right now we default to 0 which is illegal.
2009-11-13 13:37:10 +01:00
Roderick Colenbrander
a46bd4bc9f
wgl: None of the WGL_render_texture attribute values makes sense for GLX_X_RENDERABLE, so get rid of it.
2009-11-13 13:36:55 +01:00
Vincent Povirk
4622889bd5
winex11.drv: Ignore FocusOut events on virtual desktop windows.
...
We don't want to send WM_CANCELMODE or set the foreground window to the
desktop when a virtual desktop loses focus. It has its own focus independent
of X.
2009-11-12 14:39:54 +01:00
Vincent Povirk
6823f4aaf8
winex11.drv: Allow explorer to focus other process windows.
...
When explorer gets a take focus message, it tries to focus the foreground
window, but this doesn't work because set_focus can only focus windows in
the current process. We have to look for the focus window in the foreground
thread, not the current one, or we won't find the other process's windows.
Since the other process may crash at any time, causing its windows to be
destroyed, we also have to ignore the BadWindow error that will occur if that
happens at a critical time.
2009-11-12 14:39:39 +01:00
Vincent Povirk
05f00f4ed8
winex11.drv: Allow windows in a virtual desktop to have X focus.
2009-11-12 14:39:14 +01:00
Roderick Colenbrander
61633b6251
winex11: Fix a regression when the same depth was used but in a different bit-ordering.
2009-11-12 13:11:05 +01:00
Roderick Colenbrander
521598560e
wgl: Fix a violation of the GLX specs in ConvertAttribWGLtoGLX.
...
Nvidia and Mesa ignore GLX_RENDER_TYPE when it is set to an invalid
value like 0 but AMD for instance doesn't, which is legal.
2009-11-12 13:09:11 +01:00