Commit Graph

84 Commits

Author SHA1 Message Date
Alexandre Julliard db6608ac9f x11drv: Moved desktop mode handling to the explorer process.
Per-application desktop mode settings are no longer supported.  Apps
can be launched in a specific desktop window by using:

  explorer /desktop=name[,widthxheight] app.exe [args]

If the named desktop already exists the app is launched inside it. The
default desktop is cleverly named "default".
2006-03-27 22:43:03 +02:00
Alexandre Julliard 6bb18e24e9 x11drv: Get rid of the using_wine_desktop flag. 2006-03-27 15:33:43 +02:00
Huw Davies b55746ab62 gdi: Better support for 1bpp dib sections. 2006-03-03 13:19:53 +01:00
Huw Davies 13268261bb opengl: Sync a dibsection to its pixmap before drawing to it via opengl. 2006-02-02 13:23:55 +01:00
Raphael Junqueira 7b5571cc8c x11drv: cleanup not longer used data on X11DRV_PDEVICE. 2005-12-06 11:33:12 +01:00
Huw Davies fd7019579a Add an x11drv escape that returns a glx drawable. 2005-09-26 11:04:12 +00:00
Alexandre Julliard cf3eddee66 Avoid a redefinition warning on 64-bit platforms. 2005-09-14 11:31:46 +00:00
Huw Davies 3433676fd7 Move a bunch of common code from the drivers into gdi. 2005-08-23 09:38:58 +00:00
Alexandre Julliard 8ba32b3f9b Delay OpenGL and GDI initialization until they are needed. 2005-06-29 19:28:06 +00:00
Alexandre Julliard cb538c0533 Merged palette option processing into the main configuration code. 2005-06-14 18:12:15 +00:00
Glenn Wurster d11bdd5e1d Add declaration of X11DRV_GetDIBColorTable to avoid compile warning. 2005-06-12 10:41:39 +00:00
Alexandre Julliard d286b8a660 Use standard TLS functions instead of a TEB internal field to access
per-thread data.
2005-06-01 11:08:39 +00:00
Alexandre Julliard 333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Alexandre Julliard d1a36e1929 Avoid a compiler warning. 2005-04-20 18:45:28 +00:00
Dimitrie O. Paun 41c2482984 Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). 2005-04-20 16:24:13 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Alexandre Julliard 66add27b21 Store DIB section information directly in the phys bitmap structure
and get rid of the X11DRV_DIBSECTION structure.
Get rid of the unused AuxMod DIB state.
2005-04-13 11:23:24 +00:00
Alexandre Julliard 0e49a5b0b9 Store a pointer to the currently selected phys bitmap in the device
structure. Create a phys bitmap for the default stock bitmap too.
2005-04-12 11:59:48 +00:00
Alexandre Julliard b16e32a364 Store the bitmap handle in the phys bitmap structure, and avoid a few
more GDI_GetObjPtr calls.
2005-04-12 10:17:55 +00:00
Alexandre Julliard 541e5b3751 Store the pixmap depth and the DIBSECTION pointer in the phys bitmap
structure. Avoid a few GDI_GetObjPtr calls.
2005-04-11 18:54:30 +00:00
Alexandre Julliard 0a63a72f81 Introduced an X_PHYSBITMAP structure to allow storing more x11drv
information about a bitmap than just the pixmap id.
2005-03-31 19:13:03 +00:00
Alexandre Julliard 0b1d1d9752 Removed the no longer needed X11DRV_get_client_area_offset function. 2005-03-31 15:44:20 +00:00
Alexandre Julliard 65e4d34599 Merged X11DRV_BITMAP_CreateBitmapHeaderFromPixmap into
X11DRV_DIB_CreateDIBFromPixmap and simplified the code a bit.
2005-03-28 10:06:06 +00:00
Alexandre Julliard 5fd13261a0 Added X11DRV_get_pixmap and X11DRV_set_pixmap functions to avoid
direct accesses to the physBitmap field of the bitmap structure.
2005-03-27 18:30:51 +00:00
Alexandre Julliard 3a522f3d71 Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.
2005-03-27 18:19:59 +00:00
Alexandre Julliard fe661fa752 Store the DCE pointer in the DC physDev structure using an x11drv GDI
escape.
2005-03-27 17:58:41 +00:00
Alexandre Julliard 2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard 5054c79880 Try to always keep the server window Z-order in sync with the X11 one
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +00:00
Alexandre Julliard 8382bf015e Added WM_X11DRV_DELETE_WINDOW message to handle close requests so that
we can send the WM_SYSCOMMAND with SendMessage instead of PostMessage.
Added missing NONAMELESSUNION define.
2005-03-09 18:46:13 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Alexandre Julliard f210c0bbad Added a missing prototype. 2005-03-07 20:08:50 +00:00
Ulrich Czekalla 5067909587 Create a thread-specific selection window to make sure we receive the
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Alexandre Julliard 2fd19dfb98 Use a dispatch table to handle X client messages. 2005-03-01 11:52:02 +00:00
Alexandre Julliard 94846a39dc Use a table of handlers to dispatch X events and get rid of the
special casing for DGA and tablet events.
Unify the declarations of all the event handlers.
2005-02-26 17:49:38 +00:00
Alexandre Julliard 0778a45da2 Moved clipboard event handling functions and some private data
structures to clipboard.c.
2005-02-25 21:01:15 +00:00
Alexandre Julliard ae661da49c Properly compute the client area valid rects and pass them to the
server in set_window_pos to avoid invalidating areas that remain
valid.
2005-02-03 13:40:12 +00:00
Alexandre Julliard d7726c3a73 Store the "managed" flag as a window property instead of the
Wine-specific WS_EX_MANAGED style bit.
2005-02-01 18:53:59 +00:00
Alexandre Julliard f777d70a63 Only create an X window for top-level windows, not for child windows.
Get rid of the X client window too, it's no longer needed.
2005-01-31 16:34:07 +00:00
Alexandre Julliard d56ccaa7e1 Use an X context to associated the x11drv private window data to a
window handle instead of accessing the WND structure directly.
2005-01-28 17:25:50 +00:00
Rémi Assailly 81b13c4bb5 Added missing declarations. 2005-01-20 20:36:01 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Jeremy White 77502e7e62 Fix X11 event timing so that we correctly correlate X11 timing and
Wine timing and dynamically adjust it as we go.
2005-01-14 17:06:40 +00:00
Jacek Caban 7e2a7c949d Get rid of W->A calls. 2005-01-11 15:10:56 +00:00
Ulrich Czekalla 318b963f9f Always clearAllSelections since not clearing CLIPBOARD can get us into
an odd state.
2005-01-04 20:34:46 +00:00
Rémi Assailly 853f79bdad - removed unused tagPALETTEOBJ and tagWINDOWPOS
- tagBITMAPOBJ is declared twice, removed one.
2004-12-17 19:35:16 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Huw Davies 530e789d7e It's important to keep the original dib colour table and not just the
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00