Commit graph

220 commits

Author SHA1 Message Date
Dmitry Timoshkov
65681a0e18 user32: Add the tests for minimize/restore MDI child sequence, fix some failures. 2007-02-05 21:04:20 +01:00
Dmitry Timoshkov
0fcc10fc3c user32: Although Windows sends WM_GETMINMAXINFO at the window creation time, it doesn't use returned values to set window size. 2007-02-05 14:01:49 +01:00
Andrew Talbot
e463110e22 winex11.drv: Declare variable signed to accept possible negative return value (Coverity). 2007-02-05 12:33:10 +01:00
Ken Thomases
a790ff5568 winex11.drv: Copy the GL extensions string because it may be freed. 2007-01-25 11:06:21 +01:00
Dmitry Timoshkov
635bb11049 winex11.drv: Fix the typos in the fullscreen state debug trace. 2007-01-15 12:44:24 +01:00
Francois Gouget
c255bf4676 xrandr: Small X11DRV_XRandR_(Get|Set)CurrentMode() code optimisations. 2007-01-12 12:33:40 +01:00
Dmitry Timoshkov
f6702ec4af winex11.drv: Force the fullscreen state update once the window is mapped. 2007-01-10 11:58:56 +01:00
Vitaliy Margolen
edd84eedc8 winex11drv: Change FIXME to WARN in X11DRV_GetKeyNameText. 2007-01-08 21:13:31 +01:00
Vitaliy Margolen
c3dc692b20 winex11drv/user32: Add ClipCursor to x11drv to pass clip rectangle to x11drv. 2007-01-06 11:40:46 +01:00
Dmitry Timoshkov
d57dc9da0a user32: Fix some failures in the MDI message test. 2007-01-04 21:12:26 +01:00
Roderick Colenbrander
e4eac235f1 wgl: Fix piAttributes NULL crash. 2007-01-04 09:55:36 +01:00
Roderick Colenbrander
86d4a9e078 winex11.drv: Remove get_drawable. 2007-01-02 12:08:30 +01:00
Roderick Colenbrander
1b3fec9699 winex11.drv: Remove desktop double buffering option. 2007-01-02 12:08:11 +01:00
Dmitry Timoshkov
92faf7aa96 user32: Make more ShowWindow tests pass under Wine. 2007-01-01 17:15:30 +01:00
Dmitry Timoshkov
0995a6ea43 winex11.drv: Fix the regression caused by a previous change. 2007-01-01 17:03:18 +01:00
Vitaliy Margolen
291d7e05ce winex11drv: Make dxgrab global. 2006-12-29 20:54:46 +01:00
Roderick Colenbrander
8da7b13343 wgl: Fix wglGetPixelFormatAttribiv bug. 2006-12-28 12:18:50 +01:00
Dmitry Timoshkov
910660253b user32: Add a message test for various ShowWindow() calls, fix some failures. 2006-12-22 11:52:13 +01:00
Roderick Colenbrander
c026faaeed winex11.drv: pbuffer detection. 2006-12-20 12:31:04 +01:00
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