Commit Graph

201 Commits

Author SHA1 Message Date
Ulrich Czekalla b2f33ffbbb winex11.drv: Don't crash when called with a NULL gl context. 2006-12-20 12:30:49 +01:00
Juris Smotrovs 00982465c4 user32: Extend the support for SWP_STATECHANGED for all windows. 2006-12-19 16:58:24 +01:00
Vitaliy Margolen 7de64a3ab8 winex11drv: Return cached cursor_pos in GetCursorPos(). 2006-12-19 12:39:08 +01:00
Ulrich Czekalla 4d8135e0c8 winex11.drv: Avoid grabbing syslevel locks in the wrong order. 2006-12-15 13:43:14 +01:00
Dmitry Timoshkov 6c73f7395b user32: Add support for the VK_APPS (Menu) key. 2006-12-15 12:20:05 +01:00
Vitaliy Margolen 1d9ea46cd4 user32: ClipCursor should use virtual screen resolution for empty/invalid rects. 2006-12-14 21:13:15 +01:00
Vitaliy Margolen ff721806ca winex11.drv: Update cached cursor position after calling hook. 2006-12-13 16:17:04 +01:00
Vitaliy Margolen b13681797a winex11.drv: Only events with MOUSEEVENTF_MOVE flag should change mouse position. 2006-12-13 16:16:12 +01:00
Alexandre Julliard aa25e2938c winex11.drv: Fixed computation of viewport and scissor position. 2006-12-12 21:07:39 +01:00
Pierre d'Herbemont 221b044740 user32: Factorize graphics driver SetParent into user32. 2006-12-12 20:38:32 +01:00
Alexandre Julliard fdcd9859b4 winex11.drv: Get rid of the display pointer in the GL context. 2006-12-12 18:23:34 +01:00
Alexandre Julliard 6e01e4aa51 opengl32: Don't use ENTER_GL/LEAVE_GL around calls to driver functions.
This causes lock inversions when the driver accesses the DC.
2006-12-12 18:21:01 +01:00
Ulrich Czekalla 715d0e8409 winex11.drv: Correctly position and clip opengl child windows. 2006-12-12 17:28:12 +01:00
Alexandre Julliard 0ab5590479 winex11.drv: Get rid of the unused set_drawable function. 2006-12-12 15:37:32 +01:00
Alexandre Julliard 21635133fb winex11.drv: Implemented DESKTOPHORZ/VERTRES device caps. 2006-12-12 14:59:55 +01:00
Alexandre Julliard d302db41aa winex11.drv: Make sure the drawable rect is always updated and use it where appropriate. 2006-12-12 13:46:15 +01:00
Ulrich Czekalla 4bdf4345b8 winex11.drv: Store window and drawable rects in X11DRV_PDEVICE. 2006-12-12 13:45:10 +01:00
Alexandre Julliard e7b9a5f166 winex11.drv: Remove unused PropertyAliasMap variable. 2006-12-12 12:14:38 +01:00
Roderick Colenbrander 055f8712b4 wgl: Make the WGL code independant of the number of supported pixel formats. 2006-12-11 14:38:08 +01:00
Chris Robinson 9da10277ce wgl: Properly handle GLX_DRAWABLE_TYPE queries. 2006-12-11 14:36:39 +01:00
Chris Robinson 34c40097a5 wgl: Implement wglGetPixelFormatAttribfvARB. 2006-12-07 14:05:58 +01:00
Chris Robinson 28c2ebb937 wgl: Fix for missing NV GLX extension. 2006-12-06 11:42:24 +01:00
Roderick Colenbrander 900094cbfe wgl: Cleanup wglMakeCurrent. 2006-12-06 11:34:50 +01:00
Chris Robinson b4f0adbf96 wgl: Don't return prematurely if ConvertPixelFormatWGLtoGLX receives an invalid pixel format. 2006-12-04 12:39:04 +01:00
Roderick Colenbrander 7466390143 wgl: (W)GL_NV_vertex_array_range. 2006-12-04 12:23:26 +01:00
Tomas Carnecky 9d1686c8c5 winex11.drv: Don't update the key state table in mouse related functions. 2006-12-01 13:16:15 +01:00
Roderick Colenbrander eb0350bb1b wgl: Relax the pixel format attribute conversion code a bit. 2006-12-01 12:26:58 +01:00
Pierre d'Herbemont d208ad82dd winex11.drv: Fix SetWindowPos parameters in the spec file. 2006-11-30 12:26:03 +01:00
Pierre d'Herbemont e5e58a6b13 user32: Factorize driver's SetWindowPos in user32. 2006-11-29 14:05:33 +01:00
Dmitry Timoshkov 0bde8135fc winex11.drv: Make some data const. 2006-11-29 12:37:31 +01:00
Alexandre Julliard d5ee62342a winex11.drv: Don't use the specified DC when mapping RGB colors for a DIB.
The DC palette only matters for DIB_PAL_COLORS.
2006-11-27 17:04:19 +01:00
Andrew Talbot 4659870d0d winex11.drv: Cast-qual warnings fix. 2006-11-27 17:03:52 +01:00
Andrew Talbot c8e64830f9 winex11.drv: Cast-qual warnings fix. 2006-11-27 17:03:52 +01:00
Andrew Talbot 3be7b8b64c winex11.drv: Cast-qual warnings fix. 2006-11-27 17:03:51 +01:00
Vitaliy Margolen b417435744 winex11drv: State of side mouse buttons (X-buttons) is not returned from XQueryPointer. 2006-11-27 17:03:51 +01:00
Roderick Colenbrander 57ff710cde wgl: Unify pixel format code. 2006-11-27 13:46:47 +01:00
Kevin Koltzau 44685c234f winex11.drv: Process browser and multimedia key events. 2006-11-27 13:44:35 +01:00
Ken Thomases 9124858b08 winex11.drv: Correct the count of characters matching with layout. 2006-11-20 12:00:17 +01:00
Ken Thomases 89bdf03989 winex11.drv: Enable code for picking layout-independent vkey as second pass. 2006-11-20 12:00:10 +01:00
Ken Thomases c7ffd04be7 winex11.drv: Changed indenting of some dead code. 2006-11-20 12:00:02 +01:00
Ken Thomases fac3dc6075 winex11.drv: Move some dead code from inside a loop to just after the loop. 2006-11-20 11:59:54 +01:00
Ken Thomases 0dee5eb160 winex11.drv: Replace no-longer-existent VK_A, VK_Z, VK_0, and VK_9 constants. 2006-11-20 11:59:46 +01:00
Ken Thomases 8c768fb437 winex11.drv: Track which vkeys have already been assigned to keycodes. 2006-11-20 11:59:23 +01:00
Ken Thomases 30f691f56b winex11.drv: Reset the keyc2vkey table to empty before rebuilding it. 2006-11-20 11:59:15 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard 5e7afb8c3b winex11.drv: Store the palette mapping in an X context instead of the GDI object. 2006-11-17 14:38:43 +01:00
Alexandre Julliard 719b7068a9 winex11.drv: Abstract accesses to the palette color mapping. 2006-11-17 14:36:34 +01:00
Alexandre Julliard 385ceeb8bc winex11.drv: Avoid some direct accesses to the PALETTEOBJ structure. 2006-11-17 14:34:56 +01:00
Alexandre Julliard ed4f22ab5f gdi32: Moved the system palette flags to winex11.drv. 2006-11-17 14:34:44 +01:00
Alexandre Julliard 00e097b6e3 winex11.drv: Update the X11 window position when the primary monitor origin changes. 2006-11-14 10:40:49 +01:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget e9fb8c6728 winex11.drv: Fix some comments so they are properly formatted documentation headers. 2006-11-13 13:01:05 +01:00
Roderick Colenbrander 5b026479c5 wgl: Fix a typo in the pbuffer pixelformat enumeration code. 2006-11-13 12:48:01 +01:00
H. Verbeet 22b5890862 winex11.drv: The y coordinate should be offset agaist the height, not the width. 2006-11-13 12:47:33 +01:00
Damjan Jovanovic 5ec9d9b2f6 winex11.drv: Check for incompatible bpps and negative widths. 2006-11-10 11:35:09 +01:00
Damjan Jovanovic c6fa30a2cf winex11.drv: Fix copying top-down/bottom-up DIBs. 2006-11-10 11:35:00 +01:00
Ken Thomases d88d2d4d13 winex11.drv: Fix off-by-one in map of non-char keysyms to vkeys. 2006-11-08 19:58:39 +01:00
Ken Thomases 75195ad4bc winex11.drv: Map XK_KP_Equal to VK_OEM_NEC_EQUAL. 2006-11-08 19:58:30 +01:00
Alexandre Julliard 3cb51cd3c4 winex11.drv: Get rid of the DIB color table now that it's stored in gdi32. 2006-11-08 19:57:37 +01:00
Detlef Riekenberg 2a14dc958a winex11.drv: Fix failure of X11DRV_ChoosePixelFormat. 2006-11-08 15:49:17 +01:00
Dmitry Timoshkov ffd80ba7b1 winex11.drv: Call SetWindowPos with SWP_FRAMECHANGED set when switching from minimized state in X11DRV_MapNotify. 2006-11-08 11:26:50 +01:00
Dmitry Timoshkov d949867ded winex11.drv: Map VK codes for arrow keys to an X11 keycode manually as we do for other keypad keys. 2006-11-08 11:26:42 +01:00
Damjan Jovanovic d29c9c84b4 winex11: Fix regression caused by client-side DIB copy patch. 2006-11-08 11:19:45 +01:00
Alexandre Julliard ac227461ac winex11.drv: Detect an XLookupString that returns Latin-1 and avoid codepage mapping in that case. 2006-11-07 17:28:02 +01:00
Alexandre Julliard 187d52bc2d winex11.drv: Added mapping for Unicode keysyms in ToUnicodeEx. 2006-11-07 17:27:35 +01:00
Alexandre Julliard 4026dfa8f4 winex11.drv: Only load the keycode->keysym mapping once in DetectLayout, instead of once per supported layout. 2006-11-07 17:22:52 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Alexandre Julliard 7dd0eaa904 winex11.drv: Fixed build without OpenGL headers. 2006-11-06 15:40:01 +01:00
Mike McCormack 671e9c0658 user32: ToUnicodeEx should return 0 for an unknown key. 2006-11-06 13:47:46 +01:00
Damjan Jovanovic 54fd8b3d14 winex11.drv: Added a basic client-side DIB copy optimization. 2006-11-06 13:43:54 +01:00
Roderick Colenbrander 1d4effcaa5 wgl: Fix WoW screen flickering. 2006-11-06 12:13:09 +01:00
Huw Davies 7d4163b5fa winex11.drv: If the app asks for a single buffered pixel format, then it should be happy with a double buffered one.
Likewise for mono vs stereo.
Add some TRACEs so that we know what condition is failing.
2006-11-03 21:00:44 +01:00
Roderick Colenbrander 3314367238 winex11.drv: Opengl init fix. 2006-11-03 13:51:27 +01:00
Alexandre Julliard 8310d4ae15 winex11.drv: Fixed the prototype of many OpenGL functions. 2006-10-31 21:41:02 +01:00
Roderick Colenbrander 2506677c60 winex11.drv: Route wglMakeContextCurrentARB through gdi32. 2006-10-31 21:34:36 +01:00
Roderick Colenbrander 88ad69f9bd wgl: Move part of wglGetProcAddress to gdi32. 2006-10-27 12:43:31 +02:00
Alexandre Julliard a06aeaba39 winex11.drv: Offset X11 coordinates with the primary monitor position.
No longer force the primary monitor to contain the X11 (0,0) coordinate.
2006-10-26 13:04:52 +02:00
Alexandre Julliard af9574cead Revert "kernel32: Exit from initial thread with ExitThread not by ExitProcess."
This reverts commit 5a1fd50db3.
I committed the wrong file.
2006-10-24 20:48:17 +02:00
Aric Stewart 0bcc941f96 winex11.drv: Only create a fontSet if we are going to be using it in the XIC. 2006-10-24 20:07:31 +02:00
Dmitry Timoshkov 5a1fd50db3 kernel32: Exit from initial thread with ExitThread not by ExitProcess. 2006-10-24 20:06:57 +02:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Huw Davies d7eb2262b0 winex11.drv: Only initialize static variables once per process. 2006-10-24 17:46:20 +02:00
Huw Davies 87fbc7a3a8 winex11.drv: Give XCloseIM another chance. 2006-10-24 17:46:17 +02:00
Huw Davies becf09f3f8 winex11.drv: Initialize data->xim to NULL if xim has been disabled. 2006-10-24 11:42:35 +02:00
Eric Pouech 54ac76a387 winex11.drv: As the min keycode is always greater or equal to 8, we
don't need to scan XKeymapEvent.key_vector from 0 but from 8.
2006-10-24 11:31:55 +02:00
Alexandre Julliard 8a8903516c user: Moved GetMonitorInfo and EnumDisplayMonitors to the display driver.
Added Xinerama support for these functions.
2006-10-23 14:38:10 +02:00
Alexandre Julliard 3c305f9db9 winex11.drv: Preliminary support for Xinerama. 2006-10-23 14:37:17 +02:00
Alexandre Julliard 60f88a5ac1 winex11.drv: Avoid X error with unsupported pen styles. 2006-10-20 10:21:08 +02:00
Alexandre Julliard 8532cc5654 winex11.drv: Hack to work around an Xlib bug when XInitThreads is used. 2006-10-19 13:36:33 +02:00
Pierre d'Herbemont 7d2917ced5 x11drv: Fix a typo in x11drv.h about X11DRV_GetTextExtentExPoint. 2006-10-18 12:35:35 +02:00
Dmitry Timoshkov dbd43c622f user: Add a test for ShowWindow(SW_MAXIMIZE) called on an invisible maximized MDI child, make it mostly pass under Wine. 2006-10-17 16:11:41 +02:00
Roderick Colenbrander 8c32dd77a3 wgl: Move wglGetCurrentDC to gdi32. 2006-10-16 12:05:20 +02:00
Roderick Colenbrander ad7bc71c0c wgl: Move wglGetCurrentContext to gdi32. 2006-10-16 12:03:47 +02:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Nickolay V. Shmyrev 1a1b902e7f winex11.drv: Always set window type. 2006-10-12 11:37:52 +02:00
Vitaliy Margolen 6069d0d596 winex11drv: Win64 printf format warning fixes. 2006-10-09 15:23:33 +02:00
Alexandre Julliard 0f8706ec33 winex11.drv: Give XInitThreads another chance. 2006-10-06 17:56:51 +02:00
Dmitry Timoshkov ac387bbe13 winex11.drv: Make all windows moveable by default. 2006-10-05 18:07:10 +02:00
Roderick Colenbrander 9461c0c634 x11drv: Fix wgl pixel format bug. 2006-10-04 10:10:24 +02:00
Roderick Colenbrander 95a67ab373 gdi32: Route WGL font code through gdi32.dll. 2006-10-04 10:10:03 +02:00