Roderick Colenbrander
8293a9ead0
wgl: Remove the pixel format limitation.
2008-02-25 12:14:52 +01:00
Alexandre Julliard
f13ef6b898
winex11: Force the client dimensions to at least 1x1 in sync_gl_drawable.
2008-02-22 16:30:10 +01:00
Rob Shearman
428ada3c8a
winex11.drv: Optimise getting the bits of a DIB after calling SetDIBits.
...
Sync the application's bits in SetDIBits if the input bits are in
exactly the same format and the size of the image is small enough not to
cause a performance hit (in case the application doesn't get ever access
the bits directly).
2008-02-22 11:52:08 +01:00
Alexandre Julliard
42ad345852
winex11: Re-create the client window when setting the pixel format on a top-level window.
2008-02-22 10:40:22 +01:00
Alexandre Julliard
e9307d09a6
winex11: Keep track of the window colormap and free it on destroy.
2008-02-21 20:23:32 +01:00
Alexandre Julliard
23afe2e94c
winex11: Make the BitBlt short-cuts more generic to apply to all possible ROPs.
2008-02-21 20:15:41 +01:00
Dmitry Timoshkov
ae8457e431
winex11.drv: Add an optimized path for BitBlt(SRCINVERT).
2008-02-21 13:15:33 +01:00
Alexandre Julliard
8ee07d49ae
winex11: Re-introduce a separate X11 window for the client area of top-level windows.
2008-02-21 12:53:00 +01:00
Alexandre Julliard
125793df0e
winex11: Move the raising of windows on SetFocus to the X11 driver where it belongs.
2008-02-18 17:22:51 +01:00
Alexandre Julliard
3bd142e907
winex11: Use GetDCHook to retrieve the dce pointer instead of storing it in the physdev structure.
2008-02-18 12:08:55 +01:00
Alexandre Julliard
50dea38178
gdi32: Export the DC hook functions as 32-bit functions.
2008-02-17 20:29:55 +01:00
Christopher Harvey
210363e464
winex11: Added WGL_BIND_TO_TEXTURE_DEPTH_NV to ConvertAttribWGLtoGLX.
2008-02-07 11:59:53 +01:00
Lars-Ake Fredlund
c4041ae815
winex11: Don't create a mapping if X11DRV_PALETTE_VIRTUAL is set.
2008-02-07 11:59:53 +01:00
Alexandre Julliard
e00840cf57
winex11: Only update the virtual screen rect once in xinerama_init to minimize race conditions.
2008-02-06 20:38:20 +01:00
Alexandre Julliard
e14261dbb7
winex11: Use the gdi display when initializing the keyboard to avoid creating a second display connection.
2008-02-06 20:37:41 +01:00
Alexandre Julliard
6a2ac97e0b
winex11: Don't erase the desktop window synchronously on resizes to prevent deadlocks.
2008-02-06 20:36:19 +01:00
Alexandre Julliard
608b2a94ec
winex11: Add a critical section for the palette global variables instead of relying on the GDI lock.
2008-02-05 21:57:23 +01:00
Francois Gouget
f11713aa58
winex11.drv: Add some API documentation stubs to make winapi_check happy.
2008-02-05 12:19:37 +01:00
Andrew Talbot
6436dd6169
winex11.drv: Remove unneeded casts.
2008-02-05 12:19:37 +01:00
Alexandre Julliard
cef1f21624
winex11: Remove unneeded check on bitmap depth, screen bpp cannot be 15.
2008-02-04 14:37:00 +01:00
Alexandre Julliard
0d30daa8e4
winex11: Abstract the depth->bpp conversion and use it in X11DRV_DIB_CreateDIBFromPixmap.
2008-02-04 14:36:18 +01:00
Andrew Talbot
68feed7e77
winex11.drv: Remove unneeded casts.
2008-02-04 14:20:45 +01:00
Dmitry Timoshkov
27d3c09a39
winex11.drv: Remove an incorrect FIXME.
2008-01-25 13:44:35 +01:00
Ken Thomases
a30327afef
winex11.drv: Accomodate XGetWindowProperty returning an actual format of something other than 32 for the TARGETS property.
...
We shouldn't care what format the property was set with, as long as we
trust that the property is an atom type.
2008-01-25 13:44:24 +01:00
Alexandre Julliard
e6dfbcb07f
winex11: Check for managed mode in create_whole_window again now that it is called lazily.
2008-01-25 12:07:11 +01:00
Alexandre Julliard
d6f6745c9c
user32: Moved the bulk of CreateWindow and SetWindowPos from the driver back into user32.
2008-01-24 11:23:09 +01:00
Alexandre Julliard
a7cdf6e110
winex11: Catch DIB memory accesses that touch the last page beyond the DIB bits end.
2008-01-24 10:21:17 +01:00
Alexandre Julliard
8913182b89
winex11: Check for need to make window managed when WS_VISIBLE is set outside of SetWindowPos.
2008-01-24 10:21:07 +01:00
Alexandre Julliard
026974f5be
winex11: Create the window data structure lazily, once the window is made visible.
2008-01-24 10:20:51 +01:00
Alexandre Julliard
b6cc7f9bcc
winex11: Don't create a win_data structure for the root window in non-desktop mode.
2008-01-24 10:20:11 +01:00
Alexandre Julliard
cbdf1294e6
winex11: Export a function to dock a window into the system tray, and get rid of the WS_EX_TRAYWINDOW style.
2008-01-23 21:40:45 +01:00
Alexandre Julliard
d147e02087
winex11: Remove obsolete code to set Z-order for child windows.
2008-01-23 21:39:32 +01:00
Dmitry Timoshkov
e5e261f104
user32: Make MapVirtualKeyEx(MAPVK_VK_TO_CHAR) behave more like in Windows.
2008-01-23 20:39:19 +01:00
Alexandre Julliard
e929e3b603
winex11: Get the icon from the window in case it was changed before the whole window was created.
2008-01-23 16:41:09 +01:00
Alexandre Julliard
12d1d4041a
winex11: Set icon hints on non-managed windows too, since they may become managed later on.
2008-01-23 16:40:19 +01:00
Alexandre Julliard
3ba20257ce
winex11: Set hints for the existing window text when creating the whole window.
2008-01-23 16:32:55 +01:00
Alexandre Julliard
395928dfb1
winex11: Apply the existing window region (if any) when creating the whole window.
...
Move X11DRV_SetWindowRgn to window.c.
2008-01-23 16:30:18 +01:00
Alexandre Julliard
9fc4e5f740
winex11: Add a mapped flag to the window data instead of relying on WS_VISIBLE.
2008-01-23 12:28:32 +01:00
Alexandre Julliard
c567556dfe
winex11: Move code around in X11DRV_SetWindowPos to reduce indentation levels.
2008-01-23 12:28:12 +01:00
Alexandre Julliard
bbfbe24681
winex11: Update the win data rectangles before doing anything else in SetWindowPos.
2008-01-23 12:28:01 +01:00
Alexandre Julliard
a76abc0322
winex11: Leave it up to explorer to specify the correct size and position for the desktop.
2008-01-23 11:31:07 +01:00
Alexandre Julliard
dbfe24c33c
winex11: Move resetting of the cursor clip rectangle into xinerama_init().
2008-01-23 10:30:42 +01:00
Alexandre Julliard
235dd63fdc
winex11: Move the window bits according to the valid rects instead of invalidating.
2008-01-22 20:34:11 +01:00
Alexandre Julliard
b90baa1127
winex11: Properly invalidate moved child windows instead of forcing SWP_NOCOPYBITS.
...
Add a move_window_bits() function where the missing functionality of
moving the window contents should go.
2008-01-22 20:30:46 +01:00
Alexandre Julliard
f1a0348b4e
winex11: Make the client rect relative to the parent window for consistency with the server side.
2008-01-22 20:08:56 +01:00
Alexandre Julliard
5df4e62312
winex11: Abstract the server part of SetWindowPos into a separate function.
2008-01-22 20:08:03 +01:00
Alexandre Julliard
2f69329a37
server: Add a separate request to set the window visible rect.
2008-01-22 20:01:21 +01:00
Alexandre Julliard
dc07b6f969
winex11.drv: Only allocate wm hints if we have an X11 window.
2008-01-22 10:17:52 +01:00
Alexandre Julliard
390ae9cc28
winex11.drv: Fix handling of strange window sizes in CreateWindow, with tests.
2008-01-22 10:16:19 +01:00
Alexandre Julliard
30d84fcd77
user32,server: Set the initial window rectangles to 0,0-0,0.
2008-01-22 10:15:38 +01:00
Alexandre Julliard
6a23bd885d
winex11.drv: Set the initial icon hints in set_initial_wm_hints().
2008-01-21 11:13:37 +01:00
Alexandre Julliard
c5a95025cf
winex11.drv: Moved initialization of screen_width/height to xinerama_init to do it inside the x11 lock.
2008-01-17 19:59:22 +01:00
Alexandre Julliard
c19af910eb
winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
...
Handle desktop size changes by sending a message to the desktop owner.
2008-01-17 19:53:59 +01:00
Alexandre Julliard
c975876cb9
winex11.drv: Don't fetch the atom for a null device type.
2008-01-17 15:23:37 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Dmitry Timoshkov
2fdaa56693
gdi32: Add a test for undocumented EnumFontFamiliesEx(NULL), make it pass under Wine.
2008-01-15 11:38:15 +01:00
Marcus Meissner
75de624377
winex11: Set last error on enumerating display settings.
2008-01-09 13:38:03 +01:00
Austin English
0e4adae973
Spelling fixes.
2008-01-07 13:41:01 +01:00
Gerald Pfeifer
fcdca0e809
winex11.drv: Simplify condition in create_xcursor_cursor() based on the unsignedness of types.
2007-12-31 19:23:28 +01:00
Jeremy White
659494660e
wintab32: If we could not find a stylus sort of device, we haven't found a tablet.
2007-12-31 17:47:16 +01:00
Jeremy White
51aecf8056
wintab32: Add logic to detect specific tablet cursor types, use it to discard non tablet X devices.
2007-12-31 17:47:12 +01:00
Jeremy White
ca89d7e809
wintab32: Add modest trace information for tablets.
2007-12-31 17:45:10 +01:00
Jeremy White
f193197a66
wintab32: Capture the number of buttons earlier, allowing our button maps to be filled in.
2007-12-26 13:20:58 +01:00
Jeremy White
3036e7f626
wintab32: Implement the ability to return the number of devices and cursors.
2007-12-26 13:18:53 +01:00
Jeremy White
f5adac3b19
wintab32: Don't return information for non existent cursors.
2007-12-26 13:18:47 +01:00
Jeremy White
9267fcd99f
wintab32: Correctly handle devices with a device id of 0.
...
The XInput macros such as DeviceMotionNotify will correctly return an eventclass of 0
if the device id is 0. Given that, we cannot use eventclass != 0 as a meaningful
test, and must instead use the returned type.
2007-12-26 13:18:32 +01:00
Jeremy White
d58429d085
wintab32: Compute our physical device characteristics based on the first tablet device that looks like a stylus.
...
Otherwise, we may be computing based on a mouse or cursor, and then
come to incorrect values for our tilt and pressure settings.
2007-12-26 13:18:25 +01:00
Jeremy White
5132ab4693
wintab32: Add additional device tracing.
2007-12-26 13:18:15 +01:00
Jeremy White
64a929c483
wintab32: Order the cursor array by the standard Wacom promulgates.
2007-12-26 13:17:48 +01:00
Jeremy White
047a969658
wintab32: Add constants for cursor types and use them.
2007-12-26 13:17:00 +01:00
Jeremy White
ee0554b737
wintab32: Do not offset the physical device id by the cursor number.
2007-12-24 16:22:51 +01:00
Jeremy White
c9fcb15b11
wintab32: Store and use the physical device id to match device to cursor.
2007-12-24 16:22:44 +01:00
Peter Oberndorfer
730d546903
winex11: Remove unused SWAP_INT macro.
2007-12-23 14:17:11 +01:00
Zhangrong Huang
0e4f8d1e2c
gdi32, winex11.drv: Correct default Chinese font name.
2007-12-21 13:46:10 +01:00
Dmitry Timoshkov
78718a41c7
user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine.
2007-12-20 10:47:49 +01:00
Rob Shearman
486326ed48
include: Add more types and function declarations to the rpcasync.h header file.
...
Fix up a couple of conflicts with the Status field in the
RPC_EXTENDED_ERROR_INFO and the X Status define.
2007-12-18 12:32:55 +01:00
Stefan Dösinger
5461d505d7
winex11: Activate the depth-bpp difference.
2007-12-17 12:25:50 +01:00
Stefan Dösinger
ccab10bd46
winex11: Distinguish between bpp and depth.
2007-12-17 12:24:51 +01:00
Stefan Dösinger
7f97af2e2e
winex11: Ignore the alpha if all pixels are 0.
2007-12-14 14:06:45 +01:00
Stefan Dösinger
211f429579
winex11: Remove an unused variable.
2007-12-13 13:09:46 +01:00
Stefan Dösinger
d5d8a5be48
gdi32: Test bitmap depths.
2007-12-12 13:48:06 +01:00
Stefan Dösinger
aa390e840b
gdi32, winex11drv: Add a test for compatible bitmap depths.
2007-12-12 13:46:42 +01:00
Stefan Dösinger
ab8deb275e
winex11: Remove an unused variable.
2007-12-12 13:46:10 +01:00
Francois Gouget
5f7a9cea38
Assorted spelling fixes.
2007-12-07 16:35:32 +01:00
Dmitry Timoshkov
a7dba33cf3
winex11.drv: Use registry settings as a default display mode.
2007-12-05 12:21:32 +01:00
Dmitry Timoshkov
e388a49308
winex11.drv: Don't forget to initialize dmFields.
2007-12-05 12:21:10 +01:00
Alexandre Julliard
d4e1debee7
winex11.drv: Make sure to erase the dragging frame before moving the window.
2007-11-21 13:22:42 +01:00
Dmitry Timoshkov
efda990877
winex11.drv: Use display device guid managed by explorer.
2007-11-19 15:00:11 +01:00
Francois Gouget
4f4cc28132
winex11: Add the trailing '\n' to a Wine trace.
2007-11-16 12:38:24 +01:00
Roderick Colenbrander
8295c547f3
wgl: Add wglCopyContext support.
2007-11-12 14:16:44 +01:00
Dmitry Timoshkov
1efd4c02e5
winex11.drv: Get rid of unused variables.
2007-11-12 12:15:55 +01:00
Francois Gouget
f288ed99b0
winex11: Add C alternatives to the assembly bits in X11DRV_DIB_SetImageBits_8().
2007-11-09 13:07:25 +01:00
Francois Gouget
83e2f44268
winex11: Fix compilation on systems that don't support either nameless unions or nameless structs.
2007-11-05 15:06:35 +01:00
Dmitry Timoshkov
407db36684
winex11.drv: Initialize buffer size.
2007-11-02 12:35:57 +01:00
Dmitry Timoshkov
7bb12b9e8c
winex11.drv: Add support for saving/reading display settings.
2007-11-01 12:41:39 +01:00
Dmitry Timoshkov
2712eb50b1
user32: Initialize more fields in the DEVMODE structure.
2007-11-01 12:41:30 +01:00
Alexandre Julliard
83fd17f216
winex11.drv: Set the WM_STATE_ABOVE hint on topmost windows.
2007-10-31 18:13:20 +01:00
Alexandre Julliard
917f288f1b
server: Also return the new extended style in the set_window_pos request.
2007-10-31 17:51:05 +01:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Francois Gouget
602ab961c4
winex11: Remove some unneeded casts.
2007-10-23 18:19:31 +02:00