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
Peter Urbanec
ab081aa845
winex11: Implement AlphaBlend mode for the case where SourceConstantAlpha is combined with source alpha.
2009-11-11 15:13:38 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Gerald Pfeifer
1f2611607f
winex11: Handle error situation earlier in X11DRV_GetDIBits().
2009-11-03 21:21:14 +01:00
Roderick Colenbrander
f8786eacb7
winex11: Check format in XRender_GetSrcAreaStretch instead of depth.
2009-10-30 15:08:38 +01:00
Roderick Colenbrander
00bbab491b
winex11: Make sure the formats are the same instead of the depths since the bit ordering can be different.
2009-10-30 15:08:31 +01:00
Ken Thomases
e606da3be9
winex11: Allow assigning non-OEM virtual key codes for remaining keys.
...
This is safe because the keyboard layout tables and standard virtual
key code assignments have all already been done. This is necessary
because some X11 keyboard mappings (e.g. Greek keyboard layout on a
Mac) are full of non-Latin keysyms.
2009-10-27 11:32:04 +01:00
Ken Thomases
58156740f9
winex11: Use a table of available OEM virtual key codes.
...
Restore availability of vkeys prior to VK_OEM_8. That's safe now that OEM
vkeys are assigned in a separate loop after standard OEM vkey assignments
have been made.
2009-10-27 11:31:34 +01:00
Ken Thomases
f6a6712a31
winex11: Assign OEM virtual key codes in a separate loop.
2009-10-27 11:31:18 +01:00
Alexandre Julliard
9ea4e18be6
winex11: Do not give focus to a WS_EX_NOACTIVATE window.
2009-10-23 12:25:22 +02:00
Henri Verbeet
ac14a2eec8
winex11.drv: Properly free "visinfo" in get_formats() (Valgrind).
2009-10-21 16:05:57 +02:00
Ge van Geldorp
e77bef234a
winex11.drv: Fix build on systems without libXrender.
2009-10-19 11:43:01 +02:00
Roderick Colenbrander
a9cafb8f2e
winex11: Use get_xrender_picture in X11DRV_AlphaBlend.
2009-10-16 13:43:19 +02:00
Alexandre Julliard
af683e711c
winex11: The xrender tile picture must be used only inside the critical section.
2009-10-14 14:24:17 +02:00
Roderick Colenbrander
a705257393
winex11: Use get_xrender_picture in X11DRV_XRender_GetSrcAreaStretch.
2009-10-14 14:23:19 +02:00
Roderick Colenbrander
14e21d955a
winex11: Add X11DRV_XRender_SetDeviceClipping for syncing the clipping region with XRender pictures.
2009-10-14 14:01:34 +02:00
Erich Hoover
8c9a6e9f5c
winex11: Send WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used.
2009-10-14 12:59:39 +02:00
Alexandre Julliard
2fda19ca98
winex11: Store the device format in the Xrender info structure.
2009-10-13 12:21:53 +02:00
Alexandre Julliard
6193d7def4
winex11: Make all render format pointers const.
2009-10-13 12:06:38 +02:00
Roderick Colenbrander
34116289a5
winex11: Introduce get_xrender_picture for retrieving a Picture from a physDev and allocating a Picture when needed.
2009-10-13 12:03:58 +02:00
Alexandre Julliard
344cf57f1b
winex11: Rename the XRENDERINFO type to make it clear it's a pointer.
2009-10-08 12:10:59 +02:00
Roderick Colenbrander
3e5e0ee807
winex11: Move XRENDERINFO allocation in a separate function.
2009-10-08 12:08:38 +02:00
Alexandre Julliard
fa6ffb4d5d
Fix empty function prototypes.
2009-10-07 12:24:53 +02:00
Wim Lewis
a1c66499bf
winex11: Fix font metric cache filename generation.
...
Recognize Mac OS X's launchd pathnames as being local. Avoid
generating an invalid pathname if $DISPLAY contains slashes.
Don't include the screen number in the cache filename.
2009-10-05 15:52:30 +02:00
Wim Lewis
d535419daa
winex11: Font metric cache file cleanups.
2009-10-05 15:51:34 +02:00
Alexandre Julliard
4c52a28e6b
winex11: Use explicit prototypes for function pointers.
2009-10-02 15:06:59 +02:00
Roderick Colenbrander
6b8753185f
winex11: Add support for 16-bit/32-bit DIB sections.
2009-10-01 13:47:53 +02:00
Alexandre Julliard
89c91ac0b1
winex11: Remove BITBLT_InternalStretchBlt now that it's identical to X11DRV_StretchBlt.
2009-09-30 20:56:56 +02:00
Alexandre Julliard
77b9b8a307
winex11: Move the DIB locking and the client-side optimizations into BITBLT_InternalStretchBlt.
...
This way they also apply to the non-stretching StretchBlt case.
2009-09-30 20:56:36 +02:00
Alexandre Julliard
7bc4b074fc
winex11: Move X11DRV_ClientSideDIBCopy to avoid forward declarations.
...
Change the name to reflect that it's a purely internal function.
2009-09-30 20:56:35 +02:00
Alexandre Julliard
ab35d6e727
winex11.drv: BS_DIBPATTERN brushes use a 32-bit handle in 32-bit mode.
2009-09-26 13:30:54 +02:00
Roderick Colenbrander
9465700083
winex11: Don't use ColorShifts for non-TrueColor bitmaps.
2009-09-25 13:16:56 +02:00
Vincent Povirk
2151272e45
winex11: Re-add the optimization for blending 1x1 pixel bitmaps.
2009-09-23 12:33:15 +02:00
André Hentschel
7b285a4ebd
winex11: Add alternative header for xf86vm.
2009-09-22 16:20:26 +02:00
Roderick Colenbrander
2d1f55cce2
winex11: Fix a null pointer bug in ToLogical in case of 8-bit. Move the code to the place where the shifts are needed.
2009-09-10 15:32:55 +02:00
Roderick Colenbrander
efa37f56ec
winex11: Add helper function for copying brushes.
2009-09-10 12:13:45 +02:00
Roderick Colenbrander
88b990b2c1
winex11: Add helper function get_xrender_format_from_color_shifts.
2009-09-10 12:13:45 +02:00
Roderick Colenbrander
4ef7bd6943
winex11: Add helper function for calculating ColorShifts.
2009-09-09 16:25:24 +02:00
Roderick Colenbrander
bb457f7ffd
winex11: Use ColorShifts in get_xrender_format_from_pdevice.
2009-09-09 16:25:23 +02:00
Dmitry Timoshkov
9dbdd708e3
winex11.drv: Handle WM_DELETE_WINDOW by simulating clicking the caption Close button.
2009-09-09 12:18:28 +02:00
Roderick Colenbrander
70241904b9
winex11: Always adjust the color_shifts pointer when SelectBitmap is called.
2009-09-08 12:12:13 +02:00
Roderick Colenbrander
5db05dfea9
winex11: Use ColorShifts data in X11DRV_PALETTE_ToLogical.
2009-09-02 16:09:07 +02:00
Roderick Colenbrander
5fc017c497
winex11: Use ColorShifts from physDev in X11DRV_PALETTE_ToPhysical.
2009-09-02 16:08:36 +02:00
Roderick Colenbrander
3ad349f316
winex11: Prepare X11DRV_PALETTE_ToPhysical/_ToLogical for a new ColorShift structure.
2009-09-02 16:07:41 +02:00
Roderick Colenbrander
3878b4810e
winex11: Introduce a new function for looking up the physical color of a pixel for use with colormap generation-like functions.
...
This prepares to a rewrite of X11DRV_PALETTE_ToPhysical which requires
the physDev for retrieving the color shifts.
2009-09-02 16:07:11 +02:00
Alexandre Julliard
1fba2ee22d
winex11: Bytes per line is signed so make it an int instead of a DWORD.
2009-08-29 21:43:51 +02:00
Andrew Eikum
55736136e2
winex11: Support KEYEVENTF_UNICODE in SendInput.
2009-08-19 12:16:19 +02:00
Alexandre Julliard
12d1ff8ef6
winex11: Add handling of take focus event on the desktop window.
2009-08-17 16:32:45 +02:00
Alexandre Julliard
e3720c2810
winex11: Use the Globally Active focus model with take focus.
2009-08-13 18:18:33 +02:00
Dmitry Timoshkov
32e3539413
winex11.drv: Handle failure of XcursorImageCreate.
2009-08-12 12:53:32 +02:00
Henri Verbeet
85fe381daf
winex11.drv: Fallback to X11DRV_SHM_NONE in X11DRV_DIB_DoCopyDIBSection() if dest doesn't match the pixmap.
...
Falling back to X11DRV_SHM_IMAGE doesn't work, the image's data isn't in
shared memory if the pixmap was created as Shm pixmap.
2009-08-07 12:11:55 +02:00
Henri Verbeet
9fd29492c1
winex11.drv: Add support for XShm pixmaps.
...
Most of this is "Copyright 2004 Huw Davies for CodeWeavers", I just did a
little bit of integration.
2009-08-06 17:26:31 +02:00
Roderick Colenbrander
083aaca98f
winex11: Fix XRender_GetSrcAreaStretch compile bug for when XRender isn't around.
2009-08-03 15:00:29 +02:00
Roderick Colenbrander
390d3929f2
wgl: Fix usage of non-GLX visual in glXCreateContext.
2009-08-03 15:00:19 +02:00
Roderick Colenbrander
6a1aa9b166
winex11: XRenderComposite can be inaccurate when scaled x / y source coordinates are passed to it.
...
Moving this translation to the transformation matrix fixes the problem.
2009-07-24 13:10:12 +02:00
Roderick Colenbrander
c6570a50f8
winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.
2009-07-23 16:10:51 +02:00
Roderick Colenbrander
d01235332c
winex11: Make BRUSH_DitherColor independent of the screen_depth.
2009-07-23 16:10:11 +02:00
Roderick Colenbrander
e082bf6626
winex11: Add support for GCs at more depths.
2009-07-23 16:08:33 +02:00
Roderick Colenbrander
618b410aa8
winex11: Add a function for retrieving the bitmap GC.
2009-07-16 11:19:34 +02:00
Roderick Colenbrander
eeeb349eee
winex11: Use set_xrender_transformation in AlphaBlend.
2009-07-14 10:45:36 +02:00
Roderick Colenbrander
004eabfbd3
winex11: Add an XRender based GetSrcAreaStretch.
2009-07-13 11:58:26 +02:00
Roderick Colenbrander
ea700f5d54
winex11: Add a helper function for converting a random color to a XRenderColor.
2009-07-13 11:08:55 +02:00
Yuri Khan
f1c131ba27
winex11.drv: Handle clipboard on an auxiliary thread for windowless apps.
2009-07-13 10:48:56 +02:00
Roderick Colenbrander
cce1c44afa
winex11: Get rid of depth conversion fixme.
2009-07-10 13:07:29 +02:00
Roderick Colenbrander
e13865285e
winex11: Move glyph code over to get_xrender_format.
2009-07-06 15:25:16 +02:00
Roderick Colenbrander
bf86daa0b6
winex11: Move AlphaBlend over to get_xrender_format.
2009-07-06 15:25:10 +02:00
Roderick Colenbrander
8262e0a800
winex11: Get rid of the static Xrender picture format table.
2009-07-06 15:24:57 +02:00
Austin English
349337d7ef
winex11: Make sure GetKeyNameText gets the correct length to return.
2009-06-26 12:05:17 +02:00
Alexandre Julliard
edebc2b75f
winex11: Try to use the correct window rectangle as far as possible at XCreateWindow time.
2009-06-25 12:10:44 +02:00
Vincent Povirk
6259aeaacb
winex11.drv: Link the windows JFIF format to the X image/jpeg format.
2009-06-22 11:22:23 +02:00
Vincent Povirk
e4663206be
winex11.drv: Link the windows PNG format to the X image/png format.
2009-06-22 11:22:19 +02:00
Detlef Riekenberg
a30624143a
winex11: Get rid of glext.h in remaining locations.
2009-06-22 11:22:02 +02:00
Roderick Colenbrander
28a2646d21
wgl: Get rid of glXQueryDrawable because officially it only works on GLXDrawables.
...
Nvidia allows it to operate on a standard Window too but Mesa and AMD
don't and this isn't needed according to the GLX specs. This prevents
crashes when creating +wgl logs.
2009-06-17 12:04:55 +02:00
Damjan Jovanovic
36685b0761
winex11.drv: Fix file drops on KDE4 and XFCE.
2009-06-15 13:42:28 +02:00
Austin English
99069ab61f
winex11: Return correct length for GetKeyNameText.
2009-06-09 17:01:13 +02:00
Vincent Povirk
cedc8e7099
winex11.drv: Don't use XEvents uninitialized when waits time out.
2009-06-04 12:11:47 +02:00
André Hentschel
ef016c32c1
winex11: Fix Ctrl+Shift+Tab translation.
2009-06-02 11:57:21 +02:00
André Hentschel
cc688148ac
winex11: Fix Ctrl+Tab translation.
2009-05-28 15:02:01 +02:00
Dmitry Timoshkov
2fdbeefc96
winex11.drv: Avoid a crash if not in a desktop mode.
2009-05-28 12:42:18 +02:00
Francois Gouget
fa7f46e85a
winex11: Also define X11DRV_OpenGL_Cleanup() when OpenGL is not supported.
2009-05-27 11:10:53 +02:00
Vincent Povirk
5c41156ab0
winex11: Set the fullscreen state of virtual desktops based on size.
2009-05-27 11:10:34 +02:00
Francois Gouget
c642481305
winex11.drv: Replace an strdup() with HeapAlloc() in the OpenGL code.
...
Free the corresponding memory when the library is unloaded.
2009-05-26 14:25:12 +02:00
Vincent Povirk
9eaf6a29fe
winex11.drv: Optimize AlphaBlend of 1x1 source bitmaps.
2009-05-21 16:17:51 +02:00
Vincent Povirk
603675d0d4
winex11.drv: Use the proper enum value for repeat.
2009-05-21 16:17:51 +02:00
Roderick Colenbrander
d66ded939c
wgl: Set PFD_GENERIC_FORMAT on bitmap formats instead of PFD_GENERIC_ACCELERATED.
2009-05-20 10:51:20 +02:00
Roderick Colenbrander
f83b299bd2
wgl: Use local pixel format data for WGL_ACCELERATION_ARB.
2009-05-19 11:58:53 +02:00
Roderick Colenbrander
73546edc9f
wgl: Make sure WGL_DRAW_TO_BITMAP_ARB is only seen on our duplicated bitmap-capable formats.
2009-05-18 13:23:34 +02:00
Roderick Colenbrander
2eec8aca02
wgl: Make sure WGL_SUPPORT_GDI_ARB is only seen on formats on which we set it during startup (in get_formats).
2009-05-18 13:22:09 +02:00
Roderick Colenbrander
cc96ce438a
wgl: Add WGL_SWAP_METHOD_ARB support.
2009-05-18 12:34:48 +02:00
Roderick Colenbrander
c315d75dab
wgl: Offer PFD_GENERIC_ACCELERATED on bitmap capable formats.
...
Windows drivers do this as well and some apps rely on this (it might
fix Sketchup but I can't reproduce the issues on this system).
2009-05-15 11:55:12 +02:00
Roderick Colenbrander
2b58d2dc06
wgl: Select bitmap capable formats when PFD_DRAW_TO_BITMAP is requested by the caller.
2009-05-15 11:54:57 +02:00
Roderick Colenbrander
b5a62756aa
wgl: Duplicate some single buffered pixel formats for bitmap rendering and restrict bitmap rendering to these formats.
...
The use of direct / indirect rendering is now tied to the bitmapFormat
flag of a pixel format. Indirect is fine for bitmap rendering since on
windows it is only supported using the software gdi renderer and
indirect rendering can also indicate software rendering.
2009-05-15 11:54:05 +02:00
Austin English
2b03dd373d
winex11.drv: Remove an outdated comment.
2009-05-06 16:09:43 +02:00
Alexandre Julliard
a4644f126b
winex11: Limit window dimensions to 65535 to avoid 16-bit truncation issues.
2009-05-05 15:36:25 +02:00
Vincent Povirk
56a3e788ea
winex11.drv: Export copied images as image/bmp.
2009-05-04 12:49:54 +02:00
Vincent Povirk
272e2d2251
winex11.drv: Convert image/bmp X selections to Windows DIB.
2009-05-01 13:19:20 +02:00
Rein Klazes
5265e0f2e5
winex11: GetPixel() on a monochrome bitmap should return black or white, not dark red.
2009-04-29 15:50:25 +02:00
Huw Davies
3f7b2b9932
winex11.drv: Print clipboard formats in hex.
2009-04-24 15:02:20 +02:00
Alexandre Julliard
eafc9caa80
winex11.drv: Don't give focus to a minimized window upon take focus.
2009-04-23 12:41:57 +02:00
Roderick Colenbrander
9b889626d0
opengl: Add WGL_EXT_pixel_format_packed_float support.
2009-04-21 13:16:09 +02:00
Huw Davies
0b6d74c428
winex11.drv: Fix typo so that emf -> mfpict synthesis works.
2009-04-20 14:13:46 +02:00
Huw Davies
0d4451a85d
winex11.drv: Fix ordering of synthesized text formats.
2009-04-20 14:13:40 +02:00
Hans Leidekker
67a11c60af
winex11.drv: Set HKCU\Keyboard Layout\Preload key.
2009-04-14 15:27:08 -05:00
Hans Leidekker
ed70c76add
user32: By default, return all zeroes in the first half of the keyboard layout name.
2009-04-14 15:25:52 -05:00
Kusanagi Kouichi
bcdf8f6edd
winex11.drv: Make import/export functions static.
2009-03-25 12:17:56 +01:00
Andrew Talbot
2024592b41
winex11.drv: Remove order-of-evaluation dependencies.
2009-03-24 11:35:39 +01:00
Eric Pouech
21c3e79e52
winex11: Correctly pad 1 bpp DDB's lines with 0 values.
2009-03-02 15:02:43 +01:00
Dmitry Timoshkov
0abee3d23c
winex11.drv: Take into account current world transform when caching glyphs.
...
This patch basically duplicates the logic for caching fonts from gdi32,
and fixes the problem with a test application which rotates a text string.
2009-03-02 12:11:28 +01:00
David Korth
728d87d0f5
winex11.drv: Map Super_L, Super_R, and Menu keys correctly.
2009-02-26 12:30:01 +01:00
Michael Stefaniuc
7d2b787783
imm32: Make space for a 64bit pointer in the IMM window.
2009-02-12 11:52:31 +01:00
Francois Gouget
d7033b4be5
xrandr: X11DRV_XRandR_Cleanup() is unused so remove it.
2009-02-05 13:14:54 +01:00
Francois Gouget
930061c252
winex11.drv: X11DRV_XF86VM_SetExclusiveMode() is unused so remove it.
2009-02-05 13:14:50 +01:00
Dmitry Timoshkov
f623053022
winex11.drv: The MAT2 parameter of GetGlyphOutline is mandatory.
2009-02-03 12:40:19 +01:00
Andrew Talbot
f63ceec432
winex11.drv: Declare some functions static.
2009-01-30 11:43:41 +01:00
Alexandre Julliard
95cf00f30b
winex11: Flush the display after releasing the capture to make sure it happens right away.
2009-01-26 15:12:55 +01:00
Michael Gruber
8c914986a6
winex11.drv: Remove "German keyboard layout without dead keys 105".
2009-01-19 14:25:39 +01:00
Michael Stefaniuc
a2187cad1f
winex11.drv: Remove superfluous pointer casts.
2009-01-19 13:36:25 +01:00
Vincent Povirk
538cf8b847
winex11: Select StructureNotifyMask input on all windows.
2009-01-10 17:43:11 +01:00
Damjan Jovanovic
3613b15785
winex11: Support the startup notification fd.o spec.
2009-01-07 14:17:46 +01:00
Dmitry Timoshkov
48973dad53
winex11: Indicate that dmDisplayFlags is also initialized.
2009-01-05 12:40:50 +01:00
Andrew Riedi
73393fab16
winex11: Factor out the 'alpha_zero' test and use it for legacy cursor support.
2009-01-02 12:46:47 +01:00
Byeongsik Jeon
3807ca733d
winex11.drv: Add the basic antialias type decision code.
2008-12-31 14:07:18 +01:00
Andrew Riedi
cdf88e9c29
winex11.drv: Calculate the cursor bitmap offsets in a way consistent with user32.
2008-12-31 12:28:23 +01:00
Maarten Lankhorst
0a6459598a
user32/winex11.drv: Change all user32 operations to use CDECL.
2008-12-23 13:06:04 +01:00
Maarten Lankhorst
131d0a79a1
gdi32/winex11.drv: Change all gdi/opengl operations to use CDECL calling convention.
2008-12-23 13:02:33 +01:00
Maarten Lankhorst
4eca43e702
winex11.drv/wined3d: Fix tsx11 calling convention.
2008-12-23 12:51:44 +01:00
Andrew Talbot
1b802bd5ac
winex11.drv: Superfluous semicolons fix.
2008-12-23 12:51:37 +01:00
ByeongSik Jeon
028617b90b
gdi32, winex11: Add support for subpixel font rendering.
2008-12-22 16:33:03 +01:00
Vincent Povirk
1a2216cbc7
winex11.drv: Do not assume window managers support _NET_WORKAREA.
2008-12-20 11:30:58 +01:00
Aric Stewart
5c779bfa0a
user32: Remove the driver call for GetKeyboardLayoutList and instead populate from the registry.
2008-12-18 14:19:39 +01:00
Aric Stewart
b3d308b96f
x11drv: Allow ActivateKeyboardLayout to set the keyboard for the thread and GetKeyboardLayout to return the stored keyboard.
2008-12-18 14:19:13 +01:00
Aric Stewart
0c53ce5d20
x11drv: If a keyboard layout is an IME only check the loword when comparing to the x11 keyboard layout.
2008-12-18 13:48:36 +01:00
Maarten Lankhorst
d6bc9fc9f3
winex11.drv/explorer: Add CDECL to exported functions.
2008-12-17 15:02:25 +01:00
Maarten Lankhorst
602b9b0833
winex11.drv: Make XIM functions hidden.
2008-12-17 15:02:25 +01:00
Maarten Lankhorst
569de388fa
wintab32/winex11.drv: Add CDECL to imported functions.
2008-12-17 15:02:24 +01:00
Henri Verbeet
6de9cfaf7f
winex11.drv: Fix color conversion for 16 bpp cursors.
2008-12-17 14:04:58 +01:00
Alexandre Julliard
7fdadbb377
server: Add functions for conversions between server user handles and pointer-style handles.
2008-12-08 16:58:20 +01:00
Alexandre Julliard
d1b3d484f7
server: Add functions for conversions between server object handles and pointer-style handles.
2008-12-08 16:05:17 +01:00
Andrew Talbot
ff380900c2
winex11.drv: Sign-compare warnings fix.
2008-12-08 12:01:03 +01:00
Vincent Povirk
75b5322242
winex11.drv: Fix string format warning.
2008-12-05 12:30:02 +01:00
Andrew Talbot
dd8e833db2
winex11.drv: Sign-compare warnings fix.
2008-12-05 12:03:27 +01:00
Vitaly Lipatov
934aa492b4
winex11: Add check for XmbTextPropertyToTextList result.
2008-12-03 12:16:40 +01:00
Alexandre Julliard
b4debd66a2
winex11: Make some functions static.
2008-12-03 12:10:32 +01:00
Alexandre Julliard
e48283bedd
winex11: Remove some unused functions.
2008-12-03 12:10:21 +01:00
Michael Stefaniuc
82a3c433b3
winex11.drv: Remove some superfluous casts.
2008-12-01 12:57:00 +01:00
Krzysztof Kotlenga
1c3e81bf5e
winex11: Make pens of width = 1 scalable.
2008-11-07 13:23:48 +01:00
Sergey Khodych
11d17fafc4
winex11: BitBlt returns TRUE when drawing outside of the clipping or visible region.
2008-11-06 11:09:16 +01:00
Kusanagi Kouichi
fcaeffb7b4
winex11: Implement large data transfers.
2008-11-05 16:43:10 +01:00
Michael Stefaniuc
66006129af
winex11.drv: ImmLockIMCC() returns a void pointer; no need to cast that.
2008-11-03 13:38:38 +01:00
Dmitry Timoshkov
fc48f7743d
user32: Make ToAscii(Ex) and ToUnicode(Ex) prototypes match PSDK.
2008-10-27 12:38:57 +01:00
Dmitry Timoshkov
0d2bc3fa35
winex11.drv: Print the characters returned by ToUnicode.
2008-10-27 12:38:30 +01:00
Roderick Colenbrander
a1e11f3533
winex11: Move all delayed GLX context creation code to create_glxcontext in order to prepare for WGL_ARB_create_context.
2008-10-27 11:43:24 +01:00
Chris Wilson
822e4cba1e
winex11: Ignore source clipping in BitBlt.
2008-10-21 13:22:51 +02:00
Muneyuki Noguchi
edd24b613f
winex11: Prevent XCreateIC from returning NULL when input style isn't "root".
2008-10-20 13:58:20 +02:00
Alexandre Julliard
f62ac19fb5
winex11: Convert source files to utf-8.
2008-10-18 19:21:41 +02:00
Tobias Jakobi
f151180330
winex11: Remove acute/apostrophe from German keyboard layout tables.
2008-10-15 16:52:09 +02:00
Ivan Sinitsin
7ea2738517
winex11: Set copy mode when rendering OpenGL picture.
2008-10-15 16:50:52 +02:00
Dmitry Timoshkov
15c8206118
winex11.drv: Use the monitor work area to decide whether a window should be made managed.
2008-10-07 12:13:03 +02:00
Aric Stewart
6d652ddc4f
x11drv: ime: In the update functions if we get a null string with a len report this and fix len to be 0 (Coverity 656 and 655).
2008-10-06 14:11:24 +02:00
Dmitry Timoshkov
9aaa24091f
winex11.drv: Add support for _NET_WORKAREA.
2008-10-02 10:40:13 -05:00
Alexandre Julliard
fb84ba59d9
winex11: Fix SetLayeredWindowAttributes when called on a thread that doesn't have any window.
2008-09-22 12:52:53 +02:00
Alexandre Julliard
8e7dad93ef
winex11: Compare the window position against the cached position in ConfigureNotify.
2008-09-17 21:17:12 +02:00
Alexandre Julliard
ecf579b8c4
winex11: Ignore the initial WM_STATE transition out of withdrawn state.
2008-09-17 21:17:11 +02:00
Alexandre Julliard
3cb23d3455
winex11: Don't try to retrieve the X11 size on ShowWindow for zero-sized windows.
2008-09-17 21:17:11 +02:00
Alexandre Julliard
308476ef2f
winex11: Force the X11 size of zero-sized window to always be 1x1.
2008-09-17 21:11:47 +02:00
Muneyuki Noguchi
f8446f2606
winex11.drv: Make X11DRV_XIMLookupChars handle a long string properly.
2008-09-15 11:48:37 +02:00
Alexandre Julliard
be3c3a5214
winex11: Driver-side implementation of SetLayeredWindowAttributes.
...
Based on a patch by Rob Shearman.
2008-09-12 15:54:02 +02:00
Alexandre Julliard
2f11213168
user32: Notify the user driver about window extended style changes too.
2008-09-12 14:55:07 +02:00
Juan Lang
6e726e2a91
winex11: Make button_state as large as the maximum number of cursors. Fixes Coverity id 728.
2008-09-12 11:41:16 +02:00
Muneyuki Noguchi
18d2653c3b
winex11: Fix a buffer overflow bug in X11DRV_KeyEvent() and X11DRV_ToUnicodeEx().
2008-09-12 11:40:31 +02:00
Alexandre Julliard
9fab7b458a
winex11: Fixed mapping of the move/resize starting point to X11 root coordinates.
2008-09-12 11:03:26 +02:00
Alexandre Julliard
ec4cc7f76b
winex11: Remove debug hack that slipped into commit a4a5a2ec12
.
2008-09-11 20:19:11 +02:00
Dmitry Timoshkov
73569a95c1
winex11.drv: Fix the scan codes keypad keys section to match the vkeys one.
2008-09-11 11:45:56 +02:00
Huw Davies
165b21dd2d
winex11.drv: Fix SetDIBits optimization to work with top-down dib sections.
2008-09-10 10:39:28 +02:00
Alexandre Julliard
9d45cfde33
winex11: Support setting the window region on windows belonging to other threads.
2008-09-08 15:51:08 +02:00
Alexandre Julliard
370368aace
winex11: Moved the X11DRV_WindowMessage function to window.c.
2008-09-08 15:42:24 +02:00
Alexandre Julliard
ac40efa911
winex11: Always set the z-order when a window is being made visible.
2008-08-29 13:34:55 +02:00
Alexandre Julliard
90ef43ab26
winex11: Allocate image data from the process heap where possible.
2008-08-29 13:34:11 +02:00
Dmitry Timoshkov
dddec81dfb
user32: Add a test for monitor work area, fix some failures.
2008-08-27 13:21:20 +02:00
Stefan Dösinger
058ebe3789
winex11: Add a run-total fps counter to the fps debug channel.
2008-08-26 12:07:41 +02:00
Stefan Dösinger
08f4b87f96
winex11: Do not cap the cursor size.
2008-08-21 13:28:57 +02:00
Michael Karcher
3843d5beee
winex11: Fix GetDIBits with monochrome pixmaps.
2008-08-18 17:15:56 +02:00
James Hawkins
30b6954c3d
winex11: Reduce console spam for AlphaBlend deficiencies.
2008-08-05 14:09:34 +02:00
Alexandre Julliard
4a69797c43
winex11: Also check the maximized when restoring a minimized window.
2008-07-31 17:12:16 +02:00
Alexandre Julliard
aca0296879
winex11: Check for wm maximized state in ConfigureNotify and update the window state accordingly.
2008-07-31 17:11:28 +02:00
Alexandre Julliard
8d77c375b2
winex11: Send WM_SYSCOMMAND instead of calling ShowWindow directly to minimize/restore a window.
2008-07-31 12:08:38 +02:00
Alexandre Julliard
31b4061c9b
winex11: Fetch the current X window position on ShowWindow resulting from a window manager event.
...
This ensures that we get the correct size for maximized windows too,
which cannot be done with SetWindowPlacement.
2008-07-31 11:40:49 +02:00
Francois Gouget
c5acad84a8
winex11.drv: Fix the SysCommand() and ImeGetRegisterWordStyle() prototypes.
2008-07-28 11:34:29 +02:00
Aric Stewart
c6fd037d88
winex11: Add Japanese Mac keyboard layout as many of the vkey code are quite different.
2008-07-23 13:13:05 +02:00
Lei Zhang
e031ef4807
winex11: X11DRV_DIB_[GS]etImageBits should return 0 on failure.
2008-07-21 14:36:48 +02:00
Mathias Kosch
f296f27e96
winex11: Fix typo in X11DRV_SetDIBits optimization.
2008-07-18 11:32:28 +02:00
Andrew Talbot
9b5d26ed8b
winex11.drv: Remove unneeded address-of operators from array names.
2008-07-14 11:50:37 +02:00
Francois Gouget
dbaec0a101
Assorted spelling fixes.
2008-07-10 13:40:15 +02:00