Chris Robinson
6c5b58a44a
winex11: Simplify ConvertPixelFormatWGLtoGLX.
2007-09-12 12:37:22 +02:00
Chris Robinson
5221921fa6
winex11: Don't choose pixel formats with incorrect doublebuffer/stereo settings.
2007-09-12 12:36:38 +02:00
Vitaliy Margolen
6444f574c7
winex11drv: Don't ignore mouse move events even when position did not change.
2007-09-11 11:47:49 +02:00
Jacek Caban
b5c0573dd8
winex11: Fixed GetClipboardFormatName spec entry.
2007-09-10 16:15:20 +02:00
Mikolaj Zalewski
ee2db299de
winex11.drv: wintab: Copy also the button #0 state.
2007-08-31 13:24:55 +02:00
Lionel Debroux
d99882a384
winex11.drv: Fix memory leak in create_cursor (found by Smatch).
2007-08-31 13:21:07 +02:00
Mikolaj Zalewski
ee747f3d70
winex11.drv: Support GdiAlphaBlend with blendfn.AlphaFormat == 0.
2007-08-31 12:08:58 +02:00
Alexandre Julliard
a2a5118362
winex11: Set initial wm hints on the desktop window too.
2007-08-30 12:19:55 +02:00
Steven Edwards
13f9b0a642
x11drv: Remove some no longer needed wine 16bit headers.
2007-08-29 12:31:28 +02:00
Mikolaj Zalewski
9a72a865a2
winex11.drv: Test for out-of-bound src coordinates in GdiAlphaBlend.
2007-08-29 12:03:08 +02:00
Alexandre Julliard
74cd76c9c7
winex11: Tool windows should not have WM decorations.
2007-08-29 12:02:57 +02:00
Roderick Colenbrander
49c635094b
wgl: Degrade an ERR to a WARN.
2007-08-29 11:58:39 +02:00
Alexandre Julliard
effdfa7da4
winex11: Child windows don't get activated even when requested, so don't make them managed either.
2007-08-27 12:37:14 +02:00
Alexandre Julliard
8bbeadf565
user32: IsChild must not consider the desktop window.
2007-08-24 10:56:51 +02:00
Rob Shearman
fba87b110f
winex11.drv: Don't activate the systray window when repositioning it.
2007-08-23 20:18:32 +02:00
Alexandre Julliard
372492436a
winex11: Get rid of get_context_from_GLXContext.
2007-08-23 12:52:57 +02:00
Alexandre Julliard
f36536f7ab
winex11: Properly update the hdc in the GL context.
2007-08-23 12:50:29 +02:00
Roderick Colenbrander
daceb4564f
wgl: Fix wglGetCurrentReadDCARB bugs.
2007-08-23 12:38:39 +02:00
Alexandre Julliard
a37a2fa4c5
winex11: Update the wm hints also when mapping a previously zero-size window.
2007-08-21 21:38:20 +02:00
Roderick Colenbrander
22eea683ff
wgl: Cleanup pixelformat initialization code.
2007-08-20 22:25:28 +02:00
Roderick Colenbrander
d5c0888bba
wgl: Fix a typo in the trace code.
2007-08-20 22:25:24 +02:00
Alexandre Julliard
f48eb1581d
winex11: Force a window to managed mode when it is activated.
2007-08-20 22:06:50 +02:00
Alexandre Julliard
ac98e0c075
winex11: Switch windows to managed mode in SetWindowPos instead of at creation time.
2007-08-20 22:06:33 +02:00
Alexandre Julliard
0ce718702d
winex11: Don't select for StructureNotify events on unmanaged windows.
2007-08-20 14:23:10 +02:00
Alexandre Julliard
f3ae5f5215
winex11: Don't set the cursor on the desktop window since it's managed by another process.
2007-08-20 14:04:53 +02:00
Alexandre Julliard
7d9739e2b5
winex11: Move setting of the initial wm hints to a separate function.
2007-08-20 14:04:36 +02:00
Roderick Colenbrander
d068bdd820
wgl: Fix a render_texture regression. Only enable GLX_ATI_render_texture when the ati extension is around.
2007-08-17 12:22:09 +02:00
Alexandre Julliard
eaad370987
winex11: Don't try to activate the desktop window on take focus.
2007-08-16 23:43:58 +02:00
Alexandre Julliard
bde89576b3
winex11: Store wm hints in the window data instead of fetching them when needed.
2007-08-16 23:27:37 +02:00
Chris Robinson
5e6d3c15e7
wgl: GDI support is not advertised with double buffering.
2007-08-14 20:29:21 +02:00
Roderick Colenbrander
454a612223
wgl: Proper stereo / double buffering support for ChoosePixelFormat.
2007-08-14 12:47:49 +02:00
Roderick Colenbrander
aab98fc6ea
wgl: Recognize Vista's PFD_SUPPORT_COMPOSITION flag.
2007-08-14 12:46:58 +02:00
Chris Robinson
308da6313e
winex11: Set proper pixel format flags.
2007-08-13 13:05:37 +02:00
Roderick Colenbrander
04d383381f
wgl: Re-enable GLX_ATI_render_texture support.
2007-08-13 13:05:29 +02:00
Damjan Jovanovic
28ddfe802e
winex11.drv: Correctly handle overlapping source and destination regions on the same DIB when copying DIBs client-side.
2007-08-13 11:58:21 +02:00
Roderick Colenbrander
f879f69f98
wgl: Make sure onscreen pixelformats are on top in wglChoosePixelFormatARB.
2007-08-10 16:18:54 +02:00
Chris Robinson
7959be3850
winex11: Don't add spaces to the beginning of the wglExtensions list.
2007-08-10 12:58:17 +02:00
Roderick Colenbrander
dee2fc09f5
wgl: Rewrite ChoosePixelFormat.
2007-08-09 14:10:50 +02:00
Roderick Colenbrander
ae98679ebe
wgl: Correctly check GLX capabilities. Use client GLX extensions on ATI hardware to work around driver bugs.
2007-08-09 14:09:49 +02:00
Chris Robinson
68c5477d27
winex11: Be consistent with GLX_SLOW_CONFIG meaning GENERIC_ACCELERATION.
2007-08-06 13:59:15 +02:00
Chris Robinson
b4c11e3033
winex11: Properly handle WGL_PBUFFER_LOST_ARB.
2007-08-06 13:59:06 +02:00
Michael Stefaniuc
0bd2548bbf
winex11.drv: Move the TRACE before the return. Found by Smatch.
2007-08-06 12:18:07 +02:00
Chris Robinson
3fc8ac5546
wgl: WGL_COLOR_BITS_ARB does include alpha.
2007-08-06 12:12:08 +02:00
Roderick Colenbrander
462a3c3d74
wgl: wglChooosePixelFormatARB returns the total number of matching pixelformats and not the number of pixelformats stored in the buffer.
...
This didn't work due to bugs in wglChoosePixelFormatARB but also due
to strange behavior of glXChooseFBConfig. Some of its default values
are not zero or GLX_DONT_CARE which cause some formats not to appear.
2007-08-03 13:38:44 +02:00
Chris Robinson
a2475921b1
winex11: Don't use ConvertAttribWGLtoGLX for wglCreatePbufferARB.
2007-08-03 12:35:43 +02:00
Chris Robinson
ccb9da5f85
winex11: Report accumulation buffer bits for pixel formats.
2007-08-03 12:35:34 +02:00
Chris Robinson
c37b95bbaa
winex11: Check for WGL drawing caps.
2007-08-02 12:58:07 +02:00
Roderick Colenbrander
b25b287e6c
wgl: Support WGL_FLOAT_COMPONENTS_NV in wglGetPixelFormatAttrib*.
2007-08-02 12:18:41 +02:00
Roderick Colenbrander
5717dede77
wgl: Print more debug info.
2007-08-02 12:18:41 +02:00
Roderick Colenbrander
323d9e428c
wgl: SetPixelFormat should fail on the root window.
2007-08-02 12:18:22 +02:00
Roderick Colenbrander
219269c0f1
wgl: GetPixelFormat fix for offscreen formats.
2007-08-02 12:04:33 +02:00
Roderick Colenbrander
aa225419f3
wgl: Silence an error in ConvertPixelFormatWGLtoGLX.
2007-08-02 11:54:05 +02:00
Roderick Colenbrander
bfe2d11b05
wgl: Fix compilation on systems without GLX_RGBA_FLOAT_ARB.
2007-07-30 23:37:58 +02:00
Roderick Colenbrander
d03e2696cf
wgl: Replace glReadPixels in wglBindTexImage2D by the MUCH faster glCopyTexImage2D.
2007-07-30 15:03:25 +02:00
Roderick Colenbrander
8cbb0a6f18
wgl: wglBindTexImageARB should return TRUE on success.
2007-07-30 15:03:06 +02:00
Roderick Colenbrander
14e17b0a2e
wgl: Add WGL_ATI_pixel_format_float/WGL_ARB_pixel_format_float support.
2007-07-30 15:02:53 +02:00
Roderick Colenbrander
daaf08f0d2
wgl: Enable WGL_EXT_swap_control by default even when the GLX version isn't there.
2007-07-30 15:02:27 +02:00
Roderick Colenbrander
96f9cceb68
wgl: Use correct types and pixelformats for pbuffers.
2007-07-30 15:02:13 +02:00
Roderick Colenbrander
8873478e05
wgl: Add WGL_NV_float_buffer and WGL_NV_texture_rectangle support.
2007-07-30 12:51:03 +02:00
Roderick Colenbrander
ae9119f8d0
wgl: Fix another BadMatch error by giving a pbuffer its own GLXContext.
2007-07-30 12:50:44 +02:00
Roderick Colenbrander
7d8c31075b
wgl: Fix a BadMatch error resulting from ignoring that iPixelFormat stars counting from 1.
2007-07-30 12:50:24 +02:00
Roderick Colenbrander
6f3e8a2fcf
wgl: Fix a typo in the WGL_TEXTURE_TARGET_ARB emulation code.
2007-07-27 12:21:33 +02:00
Roderick Colenbrander
4682f8f77a
wgl: Enable offscreen pixelformats for pbuffers.
2007-07-27 12:21:18 +02:00
Roderick Colenbrander
4a96be5a72
wgl: Replace the GLXFBConfigIDs in the pixelformat list with real GLXFBConfigs.
2007-07-27 12:21:06 +02:00
Roderick Colenbrander
cfd81827ac
wgl: Fill the format table with offscreen pixelformats which are needed for pbuffers.
2007-07-27 12:20:54 +02:00
Roderick Colenbrander
1855eb25f3
wgl: Set pbuffer dimensions in HDC.
2007-07-26 11:50:47 +02:00
Roderick Colenbrander
8a02dbb43c
opengl: WGL_ARB_render_texture support.
2007-07-26 11:49:28 +02:00
Peter Dons Tychsen
d0b21abe81
x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP.
2007-07-25 14:01:14 +02:00
Nigel Liang
3f02c27da9
winex11.drv: Take into account position of preedit area in PreEditCaretCallback.
2007-07-25 13:03:53 +02:00
Vitaliy Margolen
d836a50621
winex11drv: Correctly react to focus loss away from Wine.
2007-07-23 11:53:17 +02:00
Dmitry Timoshkov
7b77b91723
winex11.drv: Constify the pen dash data.
2007-07-20 12:25:42 +02:00
Nigel Liang
c52ce9bccc
winex11.drv: Implement XIMPreEditCaretCallback.
2007-07-20 11:58:35 +02:00
Evan Stade
9b9e08c210
winex11.drv: Draw dashed lines for extended pens.
2007-07-19 12:04:00 +02:00
Michael Stefaniuc
02933a11de
dlls: Remove unreachable break after return/break. Found by Smatch.
2007-07-19 11:57:49 +02:00
Lei Zhang
d0e068744a
winex11.drv: Remove old dnd code.
2007-07-12 12:57:23 +02:00
Alexandre Julliard
a851854a36
configure: Merge the libX11 and libXext existence check with the soname check.
2007-07-09 22:43:45 +02:00
Alexandre Julliard
d68d4335af
configure: Make the libXi soname check depend on the header check.
2007-07-09 22:42:49 +02:00
Alexandre Julliard
19a988a25c
configure: Make the libXcursor soname check depend on the header check.
2007-07-09 22:42:28 +02:00
Alexandre Julliard
35d2fd7a25
configure: Merge the libXinerama existence check with the soname check.
2007-07-04 12:48:50 +02:00
Alexandre Julliard
629639ee60
configure: Merge the libXrender existence check with the soname check.
2007-07-04 12:47:57 +02:00
Alexandre Julliard
af928ecbfa
configure: Merge the libXrandr existence check with the soname check.
2007-07-04 12:45:03 +02:00
Alexandre Julliard
31353e1edd
configure: Merge the libGL existence check with the soname check.
2007-07-04 12:44:12 +02:00
Peter Dons Tychsen
cf7cfa85eb
winex11: Fix X11DRV_DIB_GetImageBits() when target bitmaps are larger than fetched.
2007-07-04 12:07:01 +02:00
Huw Davies
bd2fe1a2fa
winex11.drv: Use global Pictures for the tiles.
2007-07-03 20:39:31 +02:00
Huw Davies
030ef1ef05
winex11.drv: Move the PictFormats into an array.
2007-07-03 20:39:31 +02:00
Huw Davies
ee40cb4b9f
winex11.drv: Pass root_window to XCreatePixmap to avoid BadDrawable errors.
2007-07-03 20:39:30 +02:00
Alexandre Julliard
446befbb4d
configure: Don't use a default soname if a library is not found, leave it undefined.
2007-07-02 14:35:05 +02:00
Alexandre Julliard
5a95cfbd9c
configure: Export the shared library extension instead of hardcoding .so.
2007-07-02 14:35:05 +02:00
Damjan Jovanovic
b6030cb26d
winex11.drv: Added better support for the X file drag protocol.
2007-06-27 14:32:27 +02:00
Lei Zhang
e20625e5c9
winex11.drv: Reset focus if application does not want to be activated.
2007-06-22 12:28:45 +02:00
Nigel Liang
2f3a02ea2f
winex11.drv: Remove call to XCreateFontSet.
2007-06-22 12:19:45 +02:00
Lei Zhang
9a67bded8c
winex11.drv: Send WM_MOUSEACTIVATE before closing a window.
2007-06-21 16:39:02 +02:00
Kolbjørn Fredheim
c960cae979
winex11.drv: Echo the video mode requested in the error message when not finding a matching mode.
2007-06-15 13:24:27 +02:00
Ulrich Czekalla
191a29c1e7
opengl: Use get_glxdrawable to grab the drawable.
2007-06-15 12:40:27 +02:00
Alexandre Julliard
1d9874a09e
winex11.drv: Glyph width is rounded to 32 bits, make sure to provide enough null data.
2007-06-12 16:51:31 +02:00
Huw Davies
c9fd5a265f
winex11.drv: XRenderCompositeText has a problem with 0x0 glyphs, so we'll pretend they're 1x1.
2007-06-06 20:34:06 +02:00
Dmitry Timoshkov
4978194fde
winex11.drv: Fix compilation warnings in 64-bit mode.
2007-05-30 11:55:35 +02:00
Dmitry Timoshkov
ab2934781c
gdi32: Make SetDCHook 64-bit safe.
2007-05-30 11:51:26 +02:00
Andrew Talbot
080635bdeb
winex11.drv: Exclude unused headers.
2007-05-29 12:10:21 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Huw Davies
e0150c357d
winex11.drv: Use XRenderCompositeText instead of XRenderCompositeString.
2007-05-25 20:21:06 +02:00
Huw Davies
4edc46cbdb
winex11.drv: Merge some common code.
2007-05-25 20:21:02 +02:00
Dmitry Timoshkov
130278f34a
winex11.drv: Synchronize debug output between X11DRV_KeyEvent and X11DRV_ToUnicodeEx.
2007-05-21 15:55:51 +02:00
Rob Shearman
ec4be6a258
winex11.drv: Remove an unneeded include.
2007-04-30 12:33:16 +02:00
Andrew Riedi
2c709c59b8
winex11.drv: Add legacy 32-bit cursor support.
2007-04-27 11:43:04 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Alexandre Julliard
5c19285da6
winex11.drv: Hack to disable XInitThreads when an XIM is used.
2007-04-13 12:56:01 +02:00
Dan Kegel
c2ae970e60
winex11.drv: GetAsyncKeyState must check mouse buttons, too.
2007-04-13 11:38:03 +02:00
Dmitry Timoshkov
56852a5eac
user32: Windows uses ptMaxTrackSize to set an initial window size not ptMaxSize.
2007-04-06 12:37:53 +02:00
Alexandre Julliard
072698c953
winex11.drv: Store the display file descriptor directly in the server message queue.
...
Get rid of a few WaitForMultipleObjectsEx hacks.
2007-04-04 18:02:53 +02:00
Huw Davies
13c0c0d047
winex11.drv: Delete the tile pixmap whenever the drawable is changed.
2007-03-29 21:02:00 +02:00
Huw Davies
232c16fadb
winex11.drv: Rename a local variable to avoid confusion with a global.
2007-03-29 21:01:48 +02:00
Andrew Riedi
23e2cb1f59
winex11.drv: Add Xcursor support for 32 bit cursors.
...
Based on patch by Henri Verbeet.
2007-03-28 11:17:13 +02:00
Alexandre Julliard
f143010038
winex11.drv: Relax the bitmap depth check in CreateBitmap to accept some compatible formats.
2007-03-21 15:56:10 +01:00
Dmitry Timoshkov
520aa9f548
winex11.drv: In the case requested glyphs do not present in the font fail gracefully instead of asserting.
2007-03-19 12:16:57 +01:00
Andrew Talbot
a33f71a32d
winex11.drv: Replace inline static with static inline.
2007-03-17 20:04:54 +01:00
Louis Lenders
d9445ce76b
winex11.drv: Small spelling fix.
2007-03-14 13:13:52 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
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
Roderick Colenbrander
ab00044408
winex11.drv: Fix wined3d/opengl regression.
2006-09-20 11:15:45 +02:00
Roderick Colenbrander
9796aade28
winex11.drv: Fix fbconfig regression.
2006-09-20 11:15:21 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
9d5def307e
winex11.drv: Fixed and simplified the opengl extension registration.
2006-09-12 14:35:31 +02:00
Roderick Colenbrander
12dbce5c93
winex11.drv: Move WGL extension code to winex11.drv.
2006-09-12 14:35:31 +02:00
Alexandre Julliard
5f7b77bb91
winex11.drv: Avoid compile errors in the non-OpenGL case.
2006-09-11 16:17:53 +02:00
Roderick Colenbrander
2b36c4a4c3
winex11.drv: Import glx makecurrent/wglsharelists.
2006-09-11 11:33:02 +02:00
Roderick Colenbrander
9377c23eff
winex11.drv: Import glx context code.
2006-09-11 11:31:13 +02:00
Marcus Meissner
0c15360a3e
Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes.
2006-09-11 11:30:48 +02:00
Francois Gouget
06f9532dda
Assorted spelling fixes.
2006-09-08 11:04:53 +02:00
Roderick Colenbrander
496161453c
winex11.drv: Import ConvertPixelFormatWGLtoGLX from opengl32.
2006-08-28 17:48:34 +02:00
Alexandre Julliard
07700192a9
winex11.drv: Remove no longer used all: target.
2006-08-26 18:54:31 +02:00
Alexandre Julliard
383e0242f7
winex11.drv: Fix a compiler warning when OpenGL is missing.
2006-08-25 18:37:52 +02:00
James Liggett
8a75f3bb79
winex11.drv: Fix explorer regression caused by systray patch
...
Move systray_dock_window call to X11DRV_CreateWindow so that it can
safely call SetWindowPos without having _CheckNotSysLevel crash the
explorer.
2006-08-24 11:51:45 +02:00
James Liggett
60a97505a6
winex11.drv: Add XEmbed system tray support.
...
Portions of this patch based on the work of Mike Hearn and Rob
Shearman.
2006-08-23 12:09:09 +02:00
Roderick Colenbrander
8922e20096
winex11.drv: Fix opengl pixel format bug.
2006-08-23 12:00:02 +02:00
Huw Davies
0bd611cead
winex11.drv: Fix rendering of fonts that don't support anti-aliasing.
2006-08-21 12:37:34 +02:00
Roderick Colenbrander
59dc73b911
x11drv/opengl: Pixel format rewrite.
2006-08-17 11:48:21 +02:00
Alexandre Julliard
d3b3096756
server: Split the queuing of hardware messages into a separate send_hardware_message request.
2006-08-09 16:45:26 +02:00
Alexandre Julliard
145e06040d
winex11.drv: Comment out the XCloseDisplay call on process detach.
...
It has a tendency to trigger X11 bugs, and it's not really useful anyway.
2006-08-03 19:29:44 +02:00
Alexandre Julliard
241abf4e1b
winex11.drv: Make some functions and variables static, and get rid of x11ddraw.h.
2006-08-02 13:21:58 +02:00
Roderick Colenbrander
98179f0656
winex11.drv: Kill DGA support.
2006-07-29 11:46:58 +02:00
Vitaliy Margolen
334a0719b8
x11drv: Number of fixes for ChangeDisplaySettingsEx with tests.
2006-07-26 15:28:08 +02:00
Mike McCormack
6eb4bfe85f
winex11.drv: Avoid an uninitialized variable warning.
2006-07-24 13:46:26 +02:00
Michael Stefaniuc
932a2a0d54
Fix swapped 2nd and 3rd argument passed to memset.
2006-07-14 12:38:36 +02:00
Dan Hipschman
f904723813
gdi32: Implement GetTextExtentPoint in terms of GetTextExtentExPoint
...
(not vice versa) for efficiency (required adding the Ex functionality
to drivers).
2006-07-12 13:34:36 +02:00
Alexandre Julliard
eb8a40c368
libs: Merged libwine_unicode into libwine.
...
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Thomas Kho
4598c973b2
winex11: Use correct multiplier for negative relative mouse movements.
2006-07-10 11:50:21 +02:00
Dmitry Timoshkov
2280f1af79
winex11.drv: Protect X11 calls by a critical section.
2006-07-10 11:48:01 +02:00
Stefan Dösinger
eb527c82e2
Add a common fps counter channel to ddraw, opengl and d3d.
2006-07-07 17:52:46 +02:00
Michael Stefaniuc
00e779370f
janitorial: Put "inline static" at the beginning of a declaration.
2006-07-07 14:30:35 +02:00
Dmitry Timoshkov
8fb90dea3c
winex11.drv: Add window style and visibility status to the take focus event trace.
2006-07-07 13:26:44 +02:00
Dmitry Timoshkov
e7e6f10997
winex11.drv: Update Lithuanian keyboard layout to better match the X11 one.
2006-07-05 11:44:08 +02:00
Dmitry Timoshkov
97c350b438
winex11.drv: Update window's full screen state on the resolution
...
change as well as on the window resize event.
2006-06-29 14:54:29 +02:00
Dmitry Timoshkov
b2686ad2dd
include: Move appropriate parts of winpos.h to winuser.h and win.h,
...
remove winpos.h afterwards.
2006-06-29 14:48:42 +02:00
Andrew Talbot
55e20a7482
winex11.drv: Write-strings warning fix.
2006-06-27 11:16:19 +02:00
Huw Davies
f4e8169e9a
winex11: Introduce a function to retrieve the glx drawable and have
...
both the GET_GLX_DRAWABLE Escape and SwapBuffers call it.
2006-06-26 12:36:02 +02:00
Huw Davies
4d361ce002
winex11: glXQueryExtension has its error and event base arguments swapped
...
compared with other *QueryExtension functions!
2006-06-23 10:42:52 +02:00
Dmitry Timoshkov
ef72c1d100
winex11.drv: Add support for full screen window state using the NETWM protocol.
2006-06-21 11:15:19 +02:00
Jeremy White
3484fa7616
winex11.drv: On Solaris, Xutil.h is required to define XRegion.
2006-06-19 22:36:51 +02:00
Alexandre Julliard
bdb4fab7a7
x11drv: Renamed the x11drv directory to winex11.drv.
2006-06-16 09:57:50 +02:00