Commit Graph

823 Commits

Author SHA1 Message Date
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
Aric Stewart a4a5a2ec12 winex11: Allow for sane SCIM im processing by processing some filtered KeyRelease events. 2008-07-10 12:30:56 +02:00
Michael Karcher 3d95f5e1c6 winex11: Made local constant static. 2008-07-03 11:50:51 +02:00
Alexandre Julliard 89a3bd0c15 user32: Split the SetWindowPos driver backend in WindowPosChanging/Changed.
This is needed to allow updating the visible rect before invalidating
the DCEs.
2008-07-02 15:40:10 +02:00
Alexandre Julliard 219ae804ba winex11: Check for XKB extension on the GDI display too. 2008-07-02 12:03:59 +02:00
Alexandre Julliard 5998bd59d7 winex11: Get rid of the XKB initialisation workaround now that we no longer use XInitThreads. 2008-07-02 12:03:26 +02:00
Peter Oberndorfer c5a702f513 opengl32: Fix a typo (wglShaderLists -> wglShareLists). 2008-07-02 11:49:56 +02:00
Michael Karcher 8da833494d winex11: Fix GetDIBits of 1 bit DDBs.
1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech.
2008-07-01 14:59:14 +02:00
Francois Gouget a49beb4c5c winex11: Load the XVidMode extension (libXxf86vm) when available. 2008-07-01 13:46:12 +02:00
Alexandre Julliard 93a02e7f65 winex11: Don't create a win data structure for HWND_MESSAGE windows. 2008-06-26 16:49:09 +02:00
Alexandre Julliard e7044cb8f8 winex11: Explicitly request creation of the thread display where necessary. 2008-06-26 16:47:42 +02:00
Alexandre Julliard 9d53a1ae2b winex11: Get rid of the explicit colormap management. 2008-06-26 16:21:32 +02:00
Alexandre Julliard e705764cca winex11: Pass the display as parameter to a few more functions instead of using thread_display(). 2008-06-26 16:20:02 +02:00
Alexandre Julliard 06a1407c13 winex11: Explicitly request creation of the per-thread data where necessary. 2008-06-26 15:08:08 +02:00
Alexandre Julliard aba003de4e winex11: Print more details on OpenGL load failure. Only print errors once. 2008-06-23 22:59:59 +02:00
Gerald Pfeifer 773d53d82e winex11: Remove two unused parameters from BITBLT_GetSrcArea(). 2008-06-23 12:47:39 +02:00
Alexandre Julliard 5b7bec34c1 winex11: Only register an XIM callback if we can't open the XIM right away. 2008-06-21 11:18:07 +02:00
John Klehm 70cf762d31 winex11: Place tablet cursors in slots based on type. 2008-06-20 12:27:23 +02:00
John Klehm 8d70da9fa9 winex11: Cursor iteration is now done by checking ACTIVE cursors. 2008-06-20 12:26:34 +02:00
John Klehm 97b2dcb62c winex11: Always assign a tablet cursor type. 2008-06-20 12:26:13 +02:00
John Klehm a629ece604 winex11: Add comments explaining wintab cursor slotting, type, and clarify x11 config. 2008-06-20 12:26:07 +02:00
Alexandre Julliard fc8c21c259 winex11: Avoid erasing the window when changing the pixel format. 2008-06-18 20:10:56 +02:00
Alexandre Julliard 815baba090 winex11: Check for matching pixel format in wglMakeCurrent. 2008-06-18 20:10:47 +02:00
Alexandre Julliard 77416b8668 winex11: Add a trace in ExtEscape to make wgl problems easier to diagnose. 2008-06-09 16:57:38 +02:00
Alexandre Julliard ca34eb1612 winex11: XInitThreads is hopeless, remove it again. 2008-05-28 20:56:19 +02:00
Alexandre Julliard 2d9b38133b winex11: Add support for performing GL calls on a top-level window DC. 2008-05-28 17:52:06 +02:00
Alexandre Julliard ed37174a71 winex11: Make sure that all glX functions are called under the X11 lock. 2008-05-28 17:02:07 +02:00
Alexandre Julliard 2fba300cef winex11: Change the pixel format initialisation to make sure it happens under the X11 lock. 2008-05-28 16:57:46 +02:00
Vitaliy Margolen ba5f205584 winex11: Use memmove for possibly overlapping memory areas. 2008-05-27 12:11:18 +02:00
John Klehm 189c13daa3 winex11: Support detection of tablet devices from XExtensionKeyboard type. 2008-05-27 12:11:08 +02:00
John Klehm f39f7525fd winex11: Detect acecad tablet as stylus device. 2008-05-27 12:11:04 +02:00
Alexandre Julliard 62b0e91c38 winex11: Add support for X11 mouse buttons 8 and 9. 2008-05-22 20:45:30 +02:00
Ken Thomases c2bc0e21a2 winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.
The scan codes for the numeric keypad keys and those for the arrow keys and
keys like Home, End, etc. often match (ignoring the extended key bit).
However, if you map from one of those scan codes to a vkey, Windows reliably
prefers the non-numpad vkey.
2008-05-21 14:26:13 +02:00
Alexandre Julliard be7b8be8b8 wgl: Don't call ExtEscape if we don't have a GL context. 2008-05-14 12:46:25 +02:00
Alexandre Julliard 26e566b91f explorer: Use a different return value to indicate that the x11 system tray is not available, so that x11drv can return errors too. 2008-05-13 21:02:46 +02:00
Alexandre Julliard 30a133fe00 winex11: When re-creating a client window check the new visual against the current one instead of the default one. 2008-05-13 10:43:48 +02:00
Alexandre Julliard 4d926e3ebc winex11: Silence a harmless error. 2008-05-12 19:58:35 +02:00
Alexandre Julliard b605980bf1 winex11: Create a dummy parent window for composite child windows to avoid using the root. 2008-05-12 19:37:57 +02:00
Alexandre Julliard 6e9dea8a27 winex11: Create all the GL drawables using the gdi_display to avoid synchronization issues. 2008-05-12 19:37:54 +02:00
John Klehm cd550bf6b4 winex11.drv: Move hardware tablet proximity into x11 layer. 2008-05-08 11:13:23 +02:00
John Klehm 8d09d5c8ad winex11.drv: Wintab packet serial numbers are passed via WPARAM. 2008-05-07 12:12:11 +02:00
Francois Gouget 8824bc1ea4 winex11: Standardize a stub trace and add a trailing '\n'. 2008-05-07 12:06:53 +02:00
Maarten Lankhorst 2d50b5cef5 winex11.drv: Fix a compiler warning. 2008-05-05 21:02:03 +02:00
Alexandre Julliard dffab36e8b winex11: The XIM callback is called with the X11 lock held. 2008-05-05 15:08:33 +02:00
Dmitry Timoshkov fa61eac0f7 winex11.drv: Set the size of returned DEVMODE to least common one as XP does. 2008-05-05 12:54:05 +02:00
Andrew Talbot 5156219a1c winex11.drv: Remove unused variables. 2008-05-02 16:08:15 +02:00
Huw Davies 80157c2fa6 winex11.drv: Rename X11DRV_DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks. 2008-05-02 16:07:50 +02:00
Alexandre Julliard 6b9517a70a winex11: Only unmap a window when explicitly hidden, not just when WS_VISIBLE is cleared. 2008-05-01 18:11:26 +02:00
Alexandre Julliard 8a5f578223 winex11: Ignore the specified owner if it's a zero-size window.
Go back to not mapping zero-size windows.
2008-05-01 18:11:26 +02:00
Alexandre Julliard 617e5162a2 winex11: Don't free the pixmap in X11DRV_DIB_CreateDIBFromPixmap since we don't own it. 2008-05-01 18:11:26 +02:00
Alexandre Julliard a9c2f791e1 winex11: Avoid printing traces without a \n. 2008-05-01 12:37:28 +02:00
Alexandre Julliard 4a37308389 winex11: Register IME classes only when needed. 2008-05-01 10:57:34 +02:00
Roderick Colenbrander 18e704f9aa opengl32: Get rid of X/GLX leftovers. 2008-05-01 10:57:34 +02:00
Eric Pouech 21171c403f janitorial: Prototype func() should be func(void). 2008-04-30 13:45:23 +02:00
Roderick Colenbrander 5fe5def3d1 wgl: We were already advertising GL_EXT_framebuffer_sRGB but not the corresponding WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT. 2008-04-30 10:28:59 +02:00
Alexandre Julliard bfb4ec0f3a winex11: Fix debug trace using the removed opengl channel. 2008-04-29 15:25:36 +02:00
Kusanagi Kouichi bf05ded740 winex11: Allow XIM server to be started after Wine. 2008-04-29 13:49:16 +02:00
Alexandre Julliard 2bbf00ed08 winex11: Don't put window manager decorations on shaped windows. 2008-04-29 12:46:16 +02:00
Alexandre Julliard 497714a01f winex11: Merge the contents of clipping.c into graphics.c. 2008-04-28 23:17:10 +02:00
Bryan DeGrendel 6ed80f1529 winex11: Rudimentary drawing support for display balloon tool tips in systray. 2008-04-28 14:31:06 +02:00
Vitaliy Margolen 09c6bf415f winex11: Fix MapVirtualKeyEx to properly map left-right modifier keys. 2008-04-28 13:27:51 +02:00
Vitaliy Margolen 56989b6ed0 winex11: Use constants instead of magic numbers in GetKeyNameText. 2008-04-28 13:27:51 +02:00
Vitaliy Margolen 964687d7c3 winex11: Fix GetKeyNameText for Right Shift. 2008-04-28 13:27:51 +02:00
Kusanagi Kouichi 78cb36d607 winex11: Remove unnecessary #include. 2008-04-28 12:26:12 +02:00
Kusanagi Kouichi 9fa27034a0 winex11: hCompStr should never be NULL because Wine expects it is not NULL. 2008-04-28 12:26:07 +02:00
Alexandre Julliard 405575168f winex11: Check if IsXExtensionPointer is defined before using it. 2008-04-25 16:46:17 +02:00
Kusanagi Kouichi 4f2330ac0c winex11: Destroy the handle to the composition string after it is cancelled. 2008-04-25 15:00:05 +02:00
Alexandre Julliard 1f99d80c06 winex11: Don't force tool windows to unmanaged mode.
The detection algorithm should be good enough for that case now.
2008-04-25 14:26:52 +02:00
John Klehm 2c26ea609d winex11: Add support for IsXExtensionPointer tablet devices. 2008-04-25 11:43:41 +02:00
John Klehm 33d4117e1b winex11: Allow wizardpen to be detected as a stylus. 2008-04-25 11:40:31 +02:00
John Klehm b95c091dbf winex11: Allow wintab devices with less than 5 axes. 2008-04-25 11:40:20 +02:00
Kusanagi Kouichi 4baf6e7edc winex11: Generate WM_IME_ENDCOMPOSITION when composition string is canceled. 2008-04-24 12:47:09 +02:00
Lei Zhang a442d2675e winex11: control + enter should generate '\n' instead of '\r'. 2008-04-24 12:40:40 +02:00
Roderick Colenbrander f0307d9366 wgl: Add a wine specific WGL extension which allows you to change the pixel format multiple times. 2008-04-24 12:32:38 +02:00
Roderick Colenbrander 2823e1d219 wgl: Put the core functionality of X11DRV_SetPixelFormat in a separate function.
This is needed for a new X11DRV_SetPixelFormatWINE function which allows you to change the pixel format multiple times.
2008-04-24 12:29:12 +02:00
Alexandre Julliard bbd32aacff winex11: Don't allow changing the X11 size of a maximized window. 2008-04-23 15:34:07 +02:00
Alexandre Julliard 6ba06fa7af winex11: Make sure that the window gravity is always set. 2008-04-23 15:33:29 +02:00
Alexandre Julliard 855308fd95 winex11: Merged the contents of winpos.c into window.c. 2008-04-23 15:32:58 +02:00