Commit Graph

697 Commits

Author SHA1 Message Date
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