Jan Zerebecki
2db1e421f1
winex11.drv: Add DebugInfo to critical sections.
2007-03-12 13:40:28 +01:00
Stefan Huehner
51a7ca3440
Change some functions arguments from () -> (void).
2007-03-12 12:25:31 +01:00
Andrew Talbot
4b515b6adf
winex11.drv: Replace const pointer parameters with correct non-const pointers.
2007-03-12 12:00:59 +01:00
Alexandre Julliard
9dd1f1e341
Added version information for a number of dlls.
2007-03-07 21:25:16 +01:00
Dmitry Timoshkov
d2092ae2bd
winex11.drv: Do not ignore the keysyms assigned to a group switch, it leads to side effects like missing KeyRelease events.
2007-03-06 12:25:20 +01:00
Aric Stewart
4f944f7f01
winex11.drv: Make sure keyboard state is up to date before processing GetAsyncKeyState.
2007-03-01 20:42:48 +01:00
Tomas Carnecky
24eabb8a46
winex11.drv: Spring cleanup in X11DRV_setup_opengl_visual, and added one new visual config (with aux buffers).
2007-03-01 12:17:34 +01:00
Jan Zerebecki
fbaf31c50f
winex11.drv: Change virtual desktop refresh rate from 0 to 60.
2007-03-01 11:39:09 +01:00
Stefan Dösinger
8b70b91cba
winex11.drv: Ignore depth mismatch when using a virtual desktop.
2007-02-27 12:19:27 +01:00
Pierre d'Herbemont
0e28140ff8
winex11.drv: Check the valid rects after the set_window_pos wineserver call.
2007-02-26 15:55:13 +01:00
Jan Zerebecki
85d9b0249f
winex11.drv: Set the refresh rate for NoRes to 60 instead of 0.
2007-02-23 11:24:29 +01:00
Francois Gouget
3e6aa43229
winex11.drv: Catch and report screen resolution change errors.
2007-02-23 11:24:16 +01:00
Ken Thomases
44c2db175b
winex11.drv: Pass correct coords into X11DRV_InternalFloodFill.
...
The (x,y) should be relative to the XImage, not the drawable. The (xOrg,yOrg)
is what should be relative to the drawable. This fixes a crash when XGetPixel
tried to access memory outside the XImage's buffer.
2007-02-21 19:48:39 +01:00
Dmitry Timoshkov
ac3646cc08
winex11.drv: Clients should pass only KeyPress events to XmbLookupString.
2007-02-21 15:21:14 +01:00
Dmitry Timoshkov
e35db3408b
user32: Add traces to the cursor APIs.
2007-02-21 10:55:01 +01:00
Marcus Meissner
f4d7b4444c
winex11.drv: Small fixes.
2007-02-19 12:36:33 +01:00
Alexandre Julliard
5fce682f41
winex11.drv: Added a check for the ATI driver corrupting %fs.
...
Based on a patch by Lei Zhang.
2007-02-14 18:18:07 +01:00
Alexandre Julliard
34c5104bcc
winex11.drv: We still have to flush the display after mapping a window.
...
The Photoshop splash screen needs this.
2007-02-13 17:17:26 +01:00
Vitaliy Margolen
abcbcc35da
winex11.drv: Popup windows with system menu are managed.
2007-02-13 17:16:54 +01:00
Andrew Talbot
a9446b9c5c
winex11.drv: Remove unused items.
2007-02-08 11:55:44 +01:00
Vitaliy Margolen
8e52754226
winex11drv: Do extra error checking when opening XInput device.
2007-02-07 11:34:13 +01:00
Marcus Meissner
3afd7282bd
winex11.drv: Removed dead code (Coverity).
2007-02-06 14:59:40 +01:00
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
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
Roderick Colenbrander
4b212dc401
gdi32: Route WGL context code through gdi32.dll.
2006-10-04 10:07:33 +02:00
Francois Gouget
222c167969
Assorted spelling fixes.
2006-09-29 16:28:30 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
cf47c3afbb
winex11.drv: Fix typo that confuses winapi_check.
2006-09-29 14:43:59 +02:00
Juan Lang
ec1ef77b26
winex11.drv: Don't deadlock if GL init fails.
2006-09-29 14:43:00 +02:00
Dmitry Timoshkov
84a6330690
winex11.drv: Use a proper protector for X11/XKBlib.h.
2006-09-26 12:29:12 +02:00
Roderick Colenbrander
272196f514
winex11.Drv: Remove unneeded wgl exports.
2006-09-26 11:41:46 +02:00
Roderick Colenbrander
b669fcaf7b
opengl: Move wgl font code to winex11.drv.
2006-09-21 11:45:08 +02:00
Alexandre Julliard
a27d0aa4e9
include: Added definitions for the fault address exception information.
2006-09-20 11:27:53 +02:00