Commit Graph

441 Commits

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