Alexandre Julliard
ca34eb1612
winex11: XInitThreads is hopeless, remove it again.
2008-05-28 20:56:19 +02:00
Alexandre Julliard
2d9b38133b
winex11: Add support for performing GL calls on a top-level window DC.
2008-05-28 17:52:06 +02:00
Alexandre Julliard
ed37174a71
winex11: Make sure that all glX functions are called under the X11 lock.
2008-05-28 17:02:07 +02:00
Alexandre Julliard
2fba300cef
winex11: Change the pixel format initialisation to make sure it happens under the X11 lock.
2008-05-28 16:57:46 +02:00
Vitaliy Margolen
ba5f205584
winex11: Use memmove for possibly overlapping memory areas.
2008-05-27 12:11:18 +02:00
John Klehm
189c13daa3
winex11: Support detection of tablet devices from XExtensionKeyboard type.
2008-05-27 12:11:08 +02:00
John Klehm
f39f7525fd
winex11: Detect acecad tablet as stylus device.
2008-05-27 12:11:04 +02:00
Alexandre Julliard
62b0e91c38
winex11: Add support for X11 mouse buttons 8 and 9.
2008-05-22 20:45:30 +02:00
Ken Thomases
c2bc0e21a2
winex11: Bias MapVirtualKeyEx(MAPVK_VSC_TO_VK) against numpad vkeys.
...
The scan codes for the numeric keypad keys and those for the arrow keys and
keys like Home, End, etc. often match (ignoring the extended key bit).
However, if you map from one of those scan codes to a vkey, Windows reliably
prefers the non-numpad vkey.
2008-05-21 14:26:13 +02:00
Alexandre Julliard
be7b8be8b8
wgl: Don't call ExtEscape if we don't have a GL context.
2008-05-14 12:46:25 +02:00
Alexandre Julliard
26e566b91f
explorer: Use a different return value to indicate that the x11 system tray is not available, so that x11drv can return errors too.
2008-05-13 21:02:46 +02:00
Alexandre Julliard
30a133fe00
winex11: When re-creating a client window check the new visual against the current one instead of the default one.
2008-05-13 10:43:48 +02:00
Alexandre Julliard
4d926e3ebc
winex11: Silence a harmless error.
2008-05-12 19:58:35 +02:00
Alexandre Julliard
b605980bf1
winex11: Create a dummy parent window for composite child windows to avoid using the root.
2008-05-12 19:37:57 +02:00
Alexandre Julliard
6e9dea8a27
winex11: Create all the GL drawables using the gdi_display to avoid synchronization issues.
2008-05-12 19:37:54 +02:00
John Klehm
cd550bf6b4
winex11.drv: Move hardware tablet proximity into x11 layer.
2008-05-08 11:13:23 +02:00
John Klehm
8d09d5c8ad
winex11.drv: Wintab packet serial numbers are passed via WPARAM.
2008-05-07 12:12:11 +02:00
Francois Gouget
8824bc1ea4
winex11: Standardize a stub trace and add a trailing '\n'.
2008-05-07 12:06:53 +02:00
Maarten Lankhorst
2d50b5cef5
winex11.drv: Fix a compiler warning.
2008-05-05 21:02:03 +02:00
Alexandre Julliard
dffab36e8b
winex11: The XIM callback is called with the X11 lock held.
2008-05-05 15:08:33 +02:00
Dmitry Timoshkov
fa61eac0f7
winex11.drv: Set the size of returned DEVMODE to least common one as XP does.
2008-05-05 12:54:05 +02:00
Andrew Talbot
5156219a1c
winex11.drv: Remove unused variables.
2008-05-02 16:08:15 +02:00
Huw Davies
80157c2fa6
winex11.drv: Rename X11DRV_DIB_BitmapInfoSize to bitmap_info_size and fix to take into account bit field masks.
2008-05-02 16:07:50 +02:00
Alexandre Julliard
6b9517a70a
winex11: Only unmap a window when explicitly hidden, not just when WS_VISIBLE is cleared.
2008-05-01 18:11:26 +02:00
Alexandre Julliard
8a5f578223
winex11: Ignore the specified owner if it's a zero-size window.
...
Go back to not mapping zero-size windows.
2008-05-01 18:11:26 +02:00
Alexandre Julliard
617e5162a2
winex11: Don't free the pixmap in X11DRV_DIB_CreateDIBFromPixmap since we don't own it.
2008-05-01 18:11:26 +02:00
Alexandre Julliard
a9c2f791e1
winex11: Avoid printing traces without a \n.
2008-05-01 12:37:28 +02:00
Alexandre Julliard
4a37308389
winex11: Register IME classes only when needed.
2008-05-01 10:57:34 +02:00
Roderick Colenbrander
18e704f9aa
opengl32: Get rid of X/GLX leftovers.
2008-05-01 10:57:34 +02:00
Eric Pouech
21171c403f
janitorial: Prototype func() should be func(void).
2008-04-30 13:45:23 +02:00
Roderick Colenbrander
5fe5def3d1
wgl: We were already advertising GL_EXT_framebuffer_sRGB but not the corresponding WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT.
2008-04-30 10:28:59 +02:00
Alexandre Julliard
bfb4ec0f3a
winex11: Fix debug trace using the removed opengl channel.
2008-04-29 15:25:36 +02:00
Kusanagi Kouichi
bf05ded740
winex11: Allow XIM server to be started after Wine.
2008-04-29 13:49:16 +02:00
Alexandre Julliard
2bbf00ed08
winex11: Don't put window manager decorations on shaped windows.
2008-04-29 12:46:16 +02:00
Alexandre Julliard
497714a01f
winex11: Merge the contents of clipping.c into graphics.c.
2008-04-28 23:17:10 +02:00
Bryan DeGrendel
6ed80f1529
winex11: Rudimentary drawing support for display balloon tool tips in systray.
2008-04-28 14:31:06 +02:00
Vitaliy Margolen
09c6bf415f
winex11: Fix MapVirtualKeyEx to properly map left-right modifier keys.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
56989b6ed0
winex11: Use constants instead of magic numbers in GetKeyNameText.
2008-04-28 13:27:51 +02:00
Vitaliy Margolen
964687d7c3
winex11: Fix GetKeyNameText for Right Shift.
2008-04-28 13:27:51 +02:00
Kusanagi Kouichi
78cb36d607
winex11: Remove unnecessary #include.
2008-04-28 12:26:12 +02:00
Kusanagi Kouichi
9fa27034a0
winex11: hCompStr should never be NULL because Wine expects it is not NULL.
2008-04-28 12:26:07 +02:00
Alexandre Julliard
405575168f
winex11: Check if IsXExtensionPointer is defined before using it.
2008-04-25 16:46:17 +02:00
Kusanagi Kouichi
4f2330ac0c
winex11: Destroy the handle to the composition string after it is cancelled.
2008-04-25 15:00:05 +02:00
Alexandre Julliard
1f99d80c06
winex11: Don't force tool windows to unmanaged mode.
...
The detection algorithm should be good enough for that case now.
2008-04-25 14:26:52 +02:00
John Klehm
2c26ea609d
winex11: Add support for IsXExtensionPointer tablet devices.
2008-04-25 11:43:41 +02:00
John Klehm
33d4117e1b
winex11: Allow wizardpen to be detected as a stylus.
2008-04-25 11:40:31 +02:00
John Klehm
b95c091dbf
winex11: Allow wintab devices with less than 5 axes.
2008-04-25 11:40:20 +02:00
Kusanagi Kouichi
4baf6e7edc
winex11: Generate WM_IME_ENDCOMPOSITION when composition string is canceled.
2008-04-24 12:47:09 +02:00
Lei Zhang
a442d2675e
winex11: control + enter should generate '\n' instead of '\r'.
2008-04-24 12:40:40 +02:00
Roderick Colenbrander
f0307d9366
wgl: Add a wine specific WGL extension which allows you to change the pixel format multiple times.
2008-04-24 12:32:38 +02:00
Roderick Colenbrander
2823e1d219
wgl: Put the core functionality of X11DRV_SetPixelFormat in a separate function.
...
This is needed for a new X11DRV_SetPixelFormatWINE function which allows you to change the pixel format multiple times.
2008-04-24 12:29:12 +02:00
Alexandre Julliard
bbd32aacff
winex11: Don't allow changing the X11 size of a maximized window.
2008-04-23 15:34:07 +02:00
Alexandre Julliard
6ba06fa7af
winex11: Make sure that the window gravity is always set.
2008-04-23 15:33:29 +02:00
Alexandre Julliard
855308fd95
winex11: Merged the contents of winpos.c into window.c.
2008-04-23 15:32:58 +02:00
Alexandre Julliard
39f2a08277
winex11: Moved the X11DRV_resize_desktop function to desktop.c.
2008-04-23 15:22:17 +02:00
Austin English
c531e2abdb
Spelling fixes.
2008-04-23 12:31:07 +02:00
Alexandre Julliard
31ed6473be
winex11: Moved the ConfigureNotify handler to event.c.
2008-04-22 16:56:31 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Alexandre Julliard
6b30e61a1e
winex11: Get rid of the unnecessary opengl debug channel.
2008-04-21 20:33:49 +02:00
Alexandre Julliard
0bbadeb69b
winex11: Set type to dialog for owned popup windows.
2008-04-21 20:33:18 +02:00
Alexandre Julliard
9727aa8123
winex11: Use SetWindowPos to invalidate DCEs when changing the pixel format.
2008-04-21 20:32:22 +02:00
Kusanagi Kouichi
9462190b99
winex11.drv: Generate WM_IME_ENDCOMPOSITION when preedit ends.
2008-04-21 14:21:43 +02:00
Kusanagi Kouichi
bb8d1ca672
winex11: Update caret position.
2008-04-18 13:57:15 +02:00
Alexandre Julliard
24dbaa0856
winex11: Moved the WM_SYSCOMMAND handling to window.c.
2008-04-17 16:13:34 +02:00
Alexandre Julliard
64e8128409
winex11: Moved the MapNotify handler to event.c.
2008-04-17 16:13:12 +02:00
Alexandre Julliard
585da9296d
winex11: Moved the ExposeEvent handler to event.c.
...
Use consistent naming for all event handlers.
2008-04-17 16:09:26 +02:00
Dmitry Timoshkov
15c0bcb3d8
winex11.drv: Map zero-sized windows but don't add WM decoration to them.
2008-04-17 12:41:18 +02:00
Marcus Meissner
0926fff545
winex11: Move code behind error return.
2008-04-17 11:40:47 +02:00
ByeongSik Jeon
9171647204
winex11: Add VK_HANGUL, VK_HANJA for Korean Native IME.
2008-04-17 11:38:19 +02:00
Kusanagi Kouichi
75e40229d2
winex11.drv: Fix Solaris build error.
...
Solaris doesn't define XICCallback.
2008-04-16 14:46:05 +02:00
Alexandre Julliard
18f4fb9883
winex11: Fix the type hint for the desktop window.
2008-04-14 13:27:38 +02:00
Alexandre Julliard
9bf9c0b7ec
winex11: Make WS_EX_APPWINDOW windows have normal type.
2008-04-14 13:27:19 +02:00
Alexandre Julliard
8577358ef5
winex11: Don't set full screen style on minimized windows.
2008-04-14 13:26:38 +02:00
Vitaliy Margolen
a3b21209b2
winex11.drv: Send scan code when adjusting modifier key states.
2008-04-14 12:40:22 +02:00
Matthew D'Asaro
4217fcb187
winex11: Add registry option to let wine decorate windows.
2008-04-11 13:11:17 +02:00
Alexandre Julliard
8445841dcd
winex11: Replace the keyboard flags bitfield by the official flag definitions.
2008-04-10 17:59:06 +02:00
Alexandre Julliard
eb857aebeb
user32: Moved the menu activation hack on managed windows to the X11 driver.
2008-04-10 16:41:26 +02:00
Alexandre Julliard
fa677c7f72
user32: Forward all WM_SYSCOMMAND messages to the driver, not only moves and resizes.
2008-04-10 15:58:43 +02:00
Alexandre Julliard
70ef99e5e1
winex11: Make sure to flush painting operations before moving a window.
2008-04-10 14:47:19 +02:00
Kusanagi Kouichi
185157cb6e
winex11: Connect to XIM server dynamically.
2008-04-10 12:45:56 +02:00
Alexandre Julliard
5c30e9ae00
winex11: Separate the XIM process-wide setup from the IME creation.
2008-04-10 12:29:01 +02:00
Alexandre Julliard
731d77f762
winex11: Flush the display after creating X windows.
2008-04-09 20:24:27 +02:00
Alexandre Julliard
704ac5a51e
winex11: Added an error handler to catch bad atoms in clipboard selections.
2008-04-09 20:09:40 +02:00
Alexandre Julliard
dc1ee0d142
winex11: Fix KeymapNotify handler to take left/right modifiers into account.
2008-04-09 16:25:15 +02:00
Alexandre Julliard
740b0e646b
winex11: Get rid of the useless systray hidden flag.
2008-04-09 16:22:57 +02:00
Alexandre Julliard
a0ac99c536
winex11: Add some generic support for XEMBED client windows.
2008-04-09 15:46:33 +02:00
Alexandre Julliard
ea59ea5904
winex11: Abstract window map/unmap to separate functions.
2008-04-09 15:06:40 +02:00
Alexandre Julliard
49f467c339
winex11: Add a timer to detect when a systray owner has been destroyed.
2008-04-08 15:56:09 +02:00
Alexandre Julliard
498a7628c9
winex11: Make the system tray window transparent.
2008-04-08 15:51:22 +02:00
Alexandre Julliard
52246fb921
winex11: Move all the embedded systray window support to winex11.drv.
2008-04-08 15:47:36 +02:00
Alexandre Julliard
828ac88f24
winex11: Improved handling of broken 8-bit TARGETS selection.
2008-04-08 12:24:54 +02:00
Aric Stewart
26b8aa43a0
winex11: Have all xim interaction pass through the new x11drv IME interface.
2008-04-07 20:48:00 +02:00
Aric Stewart
6dca48feaf
winex11: Add IME functionality to winex11drv.
...
All XIM interaction will soon pass through this functionality instead
of directly to imm32.
2008-04-07 20:44:43 +02:00
Dmitry Timoshkov
1bf824e0b0
winex11.drv: Do not set window type to utility to avoid a Metacity bug.
2008-04-07 20:35:27 +02:00
Alexandre Julliard
334e88bc02
winex11: Don't set NET_WM_STATE on the desktop window.
2008-04-07 17:34:47 +02:00
Vitaliy Margolen
bc325ac268
winex11: Properly report state of the caps-lock and num-lock and scroll-lock keys.
2008-04-07 13:01:13 +02:00
Vitaliy Margolen
b4d99eebbb
winex11: Get the ScrollLock mask.
2008-04-07 12:58:34 +02:00
Dmitry Timoshkov
751a71a044
winex11: Change the priority of evaluated window styles to workaround a Metacity bug with handling of utility windows.
2008-04-07 12:15:26 +02:00
Alexandre Julliard
fd97acbadf
winex11: Set the _NET_WM_STATE atom directly for unmapped windows.
2008-04-07 11:43:46 +02:00
Alexandre Julliard
2108734f97
winex11: Get rid of the SetWindowPos hack to unmap systray windows.
2008-04-07 11:42:31 +02:00
Alexandre Julliard
3bfa90eeda
winex11: Fix handling of property sizes for 64-bit platforms.
2008-04-07 11:41:54 +02:00
Alexandre Julliard
f6662c7bbe
winex11: Ignore ConfigureNotify events when a window is iconified.
2008-04-04 18:22:23 +02:00
Alexandre Julliard
6e643f3b57
winex11: Avoid updating the wm states inside a ConfigureNotify event.
2008-04-04 13:41:27 +02:00
Alexandre Julliard
cf9d3e3a00
winex11: Don't update the normal size hints when a window is minimized or maximized.
2008-04-04 11:28:30 +02:00
Alexandre Julliard
4d14adfea3
winex11: Use the same test for resizable windows when setting size and mwm hints.
2008-04-04 11:25:48 +02:00
Alexandre Julliard
3f6fec362f
winex11: Ignore ConfigureNotify events on unmapped windows.
2008-04-04 11:22:18 +02:00
Alexandre Julliard
cef3bc62ce
winex11: Always update the window position without relying on the cached values.
2008-04-04 11:20:45 +02:00
Alexandre Julliard
f41e2339b7
winex11: Allow mapping/unmapping a window even while processing another event.
2008-04-02 16:57:17 +02:00
Alexandre Julliard
86675edfee
winex11: Replace the lock_changes flag by a check on the event currently being processed.
2008-04-02 16:43:49 +02:00
Alexandre Julliard
a442d3b46d
winex11: Rely on PropertyNotify events instead of Map/UnmapNotify to detect iconification.
2008-04-02 15:59:12 +02:00
Alexandre Julliard
f89aa12829
winex11: Move handling of WM_STATE changes to a separate function, and call it directly from wait_from_withdrawn_state.
2008-04-02 15:55:25 +02:00
Vitaliy Margolen
9faf7e3586
winex11drv: Distinguish left and right keys for shift, ctrl and alt.
2008-04-02 11:14:54 +02:00
Roderick Colenbrander
8a5838274b
wgl: Add missing WGL_STEREO_ARB to ConvertAttribWGLtoGLX.
2008-04-01 11:27:18 +02:00
Roderick Colenbrander
616ac380f9
wgl: Fix ChoosePixelFormat behavior.
2008-04-01 11:27:11 +02:00
Roderick Colenbrander
b3ffac5a8d
wgl: Move all winex11.drv opengl traces to wgl.
2008-03-31 13:01:40 +02:00
Alexandre Julliard
35bec2ed19
winex11: Ignore EnterNotify resulting from a pointer grab.
2008-03-31 12:12:12 +02:00
Jacek Caban
8c910077ae
winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.
2008-03-31 12:11:58 +02:00
Alexandre Julliard
a71998d0a6
winex11: Fix X11DRV_CLIPBOARD_ReadProperty to read data in larger chunks and to properly null-terminate the buffer.
2008-03-26 12:14:41 +01:00
Alexandre Julliard
46489aeda2
winex11: Don't attempt to dock into the system tray in desktop mode.
2008-03-25 12:13:28 +01:00
Dmitry Timoshkov
cb3ff54789
winex11.drv: Don't add owned windows to the taskbar.
2008-03-25 11:45:11 +01:00
Alexandre Julliard
78de7e363b
winex11: Grab the pointer in menu tracking mode too.
2008-03-24 17:59:40 +01:00
Alexandre Julliard
5787c12ba6
winex11: Setting window z-order using a sibling doesn't work with some window managers.
...
So let's see what happens if we don't set z-order at all in that case.
2008-03-24 15:47:28 +01:00
Roderick Colenbrander
ccb4ee39ab
wgl: Return TRUE on wglReleasePbufferDCARB success.
2008-03-24 12:08:20 +01:00
Andrew Talbot
5d038523e9
winex11.drv: Assign to structs instead of using memcpy.
2008-03-24 11:33:22 +01:00
Andrew Talbot
8789ed6f84
winex11.drv: Indirection level fix.
2008-03-22 13:21:10 +01:00
Kusanagi Kouichi
53b9a53c27
winex11.drv: Fix crash by long preedit text.
2008-03-21 11:22:06 +01:00
Alexandre Julliard
6677e15389
winex11: Remove leftover debugging output.
2008-03-19 13:39:37 +01:00
Dmitry Timoshkov
79274bf0f5
winex11.drv: Add a some heuristics when to add a maximize or fullscreen hint.
2008-03-19 11:19:09 +01:00
Michael Karcher
5e463acef7
winex11: Fix alpha for client-side-rendered text.
2008-03-18 12:53:57 +01:00
Alexandre Julliard
af369106db
winex11: Clip out children window when repainting the desktop.
2008-03-18 12:42:25 +01:00
Alexandre Julliard
d9f8f704ab
winex11: Fix mouse coordinates mapping on desktop window.
2008-03-18 12:20:16 +01:00
Alexandre Julliard
f40b045858
winex11: Avoid useless updates of the desktop window Z-order.
2008-03-18 12:19:43 +01:00
Alexandre Julliard
9454e3ff7c
winex11: Fix typo that was causing superfluous updates of the visible rect.
2008-03-18 11:44:09 +01:00
Alexandre Julliard
075df1b609
winex11: Fix bug report address.
2008-03-18 11:44:09 +01:00
Dan Kegel
8e4d5d21fd
wintab: Expand whitelist of tablets.
2008-03-13 20:44:18 +01:00
Alexandre Julliard
5977c72325
winex11: Store a pointer to the X11 event currently being handled instead of a simple count.
2008-03-13 13:35:02 +01:00
Alexandre Julliard
cf76c7d65c
winex11: Check if _NET_WM_MOVERESIZE is supported before using it.
2008-03-12 17:31:04 +01:00
Alexandre Julliard
dc26f27835
winex11: Moved support for window moving/resizing back to user32.
2008-03-12 15:01:24 +01:00
Alexandre Julliard
e874fded99
winex11: Discard ConfigureNotify events even if the intervening events are for other windows.
2008-03-11 19:50:27 +01:00
Alexandre Julliard
0118e0d0f1
winex11: Add support for merging redundant events, and use it for ConfigureNotify and MotionNotify.
2008-03-11 12:11:52 +01:00
Alexandre Julliard
653c4140b4
winex11: Added an exception handler to catch bad pointers in X11DRV_SetImageBits.
2008-03-10 19:12:53 +01:00
Dan Kegel
1eba6c7644
winex11: wintab.c: use atan2 instead of atan.
2008-03-07 10:52:25 +01:00
Alexandre Julliard
51d3d620cf
winex11: Reset the cursor window when re-creating the client window.
2008-03-05 20:52:14 +01:00
Hans Leidekker
22f146f011
winex11.drv: Retrieve X color profile in GetICMProfile.
2008-03-05 19:46:59 +01:00
Hans Leidekker
81e9b43fb2
gdi32: Move GetICMProfile to the driver.
2008-03-05 19:46:03 +01:00
Alexandre Julliard
ee45bf9ef4
winex11: Don't set the fullscreen hint on maximized windows.
2008-03-05 17:20:03 +01:00
Alexandre Julliard
d0e14bf709
winex11: Wait for a window to move out of withdrawn state before withdrawing it again.
2008-03-05 16:52:22 +01:00
Alexandre Julliard
3b6f95c663
winex11: Add a DestroyNotify handler to catch a situation that is not supposed to happen.
2008-03-05 16:51:09 +01:00
Alexandre Julliard
6f14ba7387
winex11: Retrieve the current window placement in MapNotify before modifying it.
2008-03-05 11:25:27 +01:00
Alexandre Julliard
db43e7a582
winex11: Ignore Map/UnmapNotify if the window is already in the appropriate state.
2008-03-05 11:24:40 +01:00
Roderick Colenbrander
257d82705c
wgl: Add aux buffers support for use with wglChoosePixelFormatARB.
2008-03-04 11:54:21 +01:00
Alexandre Julliard
9238ccca48
winex11: Set the appropriate _NET_WM_STATE properties for maximized windows.
2008-03-01 13:30:58 +01:00
James Hawkins
c29c740de0
janitorial: Remove links to any microsoft site.
2008-03-01 12:17:10 +01:00
Alexandre Julliard
7af2a9a902
winex11: Avoid depending on win.h.
2008-02-29 13:44:55 +01:00
Alexandre Julliard
5785ee08d0
winex11: Avoid accessing the internals of the window structure in the Map/UnmapNotify handlers.
2008-02-29 13:43:13 +01:00
Alexandre Julliard
68fa3524f8
winex11: Get rid of direct accesses to the window structure in the drag&drop code.
2008-02-28 20:02:31 +01:00
Alexandre Julliard
936ab3a644
user32: Moved the ShowWindow implementation from winex11 back to user32.
2008-02-28 17:01:30 +01:00
Alexandre Julliard
63dd1a02ca
winex11: Merge the iconification support into the SetWindowPos driver backend.
2008-02-28 17:01:10 +01:00
Dmitry Timoshkov
cfcacdf554
winex11: Add a workaround for Metacity being too strict and disabling fullscreen support for not resizable windows.
2008-02-28 13:15:03 +01:00
Alexandre Julliard
eaea28e5d8
winex11: Check the current window state on Map/UnmapNotify and ignore obsolete events.
2008-02-27 19:52:59 +01:00
Alexandre Julliard
b76db19e88
winex11: Use XWithdrawWindow to unmap managed windows, and wait until they are withdrawn before mapping them again.
2008-02-27 19:13:09 +01:00
Alexandre Julliard
5a5344b4ad
winex11: Added tracking of the WM_STATE window property.
2008-02-27 19:11:43 +01:00
Alexandre Julliard
9939b7b430
winex11: Clear the NET_WM_STATE status when a window is withdrawn.
...
Change WM_STATE to NET_WM_STATE in variable and function names to
avoid confusion with the ICCCM WM_STATE property.
2008-02-27 18:01:31 +01:00
Chris Robinson
14abaa5709
winex11: Fix wglCopyContext case where GLX contexts are missing.
2008-02-26 11:29:48 +01:00
Alexandre Julliard
dba8ad5751
winex11: Use the same full screen test in is_window_managed and update_wm_states.
2008-02-25 19:48:07 +01:00
Alexandre Julliard
a268725922
winex11: Get rid of the visual id property, we are using the default now.
2008-02-25 16:06:08 +01:00
Alexandre Julliard
1642fbcbc2
user32: Moved the DCE support from winex11 back to user32.
...
Window and class DCEs are now allocated lazily.
2008-02-25 15:59:19 +01:00
Alexandre Julliard
30f068a0b3
winex11: Correctly initialize the cursor in a newly-created thread.
2008-02-25 13:32:45 +01:00
Roderick Colenbrander
5374d623ce
wgl: Add aux buffers support to DescribePixelFormat.
2008-02-25 12:17:31 +01:00
Roderick Colenbrander
220163ee9d
wgl: Remove unneeded opengl initialisation code at wine startup.
2008-02-25 12:17:10 +01:00
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
Michael Stefaniuc
4e2eef2b25
winex11.drv: Fix two missing unlocks on error paths. Found by Smatch.
2007-10-22 12:36:08 +02:00
Francois Gouget
0d24ebfcbb
winex11.drv: Remove the coloruse == -1 special case. Add X11DRV_DIB_GetColorCount() for computing a bitmap's number of colors.
2007-10-19 14:43:39 +02:00
Alexandre Julliard
952c82c271
server: Avoid refreshing areas of a window that have already been copied by the X server.
2007-10-17 17:28:04 +02:00
Alexandre Julliard
7fa032d1a4
winex11: Process all types of messages while moving/resizing a window.
2007-10-17 12:40:24 +02:00
Francois Gouget
860cf251f6
winex11.drv: The 'lossy' parameter is always false so remove it.
2007-10-15 12:04:54 +02:00
Francois Gouget
fda899a778
Assorted spelling fixes.
2007-10-11 19:52:49 +02:00
Francois Gouget
0b67c0a6e1
winex11.drv: Add the trailing '\n' to a Wine trace.
2007-10-11 19:52:32 +02:00
Francois Gouget
e396288ec5
winex11.drv: Remove an obsolete FIXME comment.
2007-10-11 19:52:25 +02:00
Alexandre Julliard
c881875c07
winex11: Don't use a window manager border for a simple WS_BORDER-style border.
2007-10-11 16:24:28 +02:00
Alexandre Julliard
c4e20e7462
winex11: Reuse the mwm hints when computing the window X11 rectangle.
...
This allows more flexibility in deciding which elements of the decor
are done by the window manager.
2007-10-11 16:24:28 +02:00
Alexandre Julliard
a0019801eb
winex11: Set the SKIP_PAGER and SKIP_TASKBAR styles on tool windows.
2007-10-11 16:24:28 +02:00
Alexandre Julliard
8a87429d12
winex11: Add generic mechanism for managing WM_STATE properties.
2007-10-11 16:24:28 +02:00
Chris Robinson
0cca1ea876
winex11: Don't choose double buffered modes with gdi support.
2007-10-10 17:40:24 +02:00
Chris Robinson
d298b68f50
winex11: Use the specified format for GL Bitmaps.
2007-10-10 17:40:03 +02:00
Chris Robinson
fa6598a260
winex11: Create GLXPixmap for bitmaps in SetPixelFormat.
2007-10-10 17:39:35 +02:00
Alexandre Julliard
6cd7d06823
winex11: Don't store a physdev pointer in the GL context.
2007-10-10 17:38:51 +02:00
Alexandre Julliard
771d61a886
winex11: Use ExtEscape to flush the GL drawable to the physdev.
...
Based on a patch by Chris Robinson.
2007-10-10 17:33:35 +02:00
Vitaliy Margolen
82b1ba1f95
winex11drv: Ignore mouse move events when position did not change only when other events are present.
2007-10-05 10:24:35 +02:00
Chris Robinson
d053049fd5
winex11: Load and use GLX_MESA_copy_sub_buffer for swapping buffers on a GLXPixmap.
2007-10-03 11:57:00 +02:00
Chris Robinson
37d835bf9a
winex11: Use a GLXPixmap for offscreen OpenGL rendering when XComposite isn't available.
2007-10-03 11:56:55 +02:00
Chris Robinson
3629ea4cfd
winex11: Track async GL drawable changes.
2007-10-03 11:47:14 +02:00
Chris Robinson
86a9b76076
winex11: Pass a display parameter when destroying glxpixmaps.
2007-10-03 11:47:02 +02:00
Chris Robinson
00633e37bc
winex11: Use an offscreen redirected window for child OpenGL rendering.
2007-10-03 11:46:52 +02:00
Chris Robinson
ebfba49e27
wgl: Remove GL scissors/viewport override.
2007-10-03 11:40:12 +02:00
Chris Robinson
a8124f97e6
winex11: Store a GL-specific drawable with the window.
2007-10-03 11:39:07 +02:00
Gerald Pfeifer
fe534ddde1
winex11.drv: Move X11DRV_XRender_Installed under #ifdef SONAME_LIBXRENDER.
2007-10-02 11:45:25 +02:00
Alexandre Julliard
e36ed76139
winex11.drv: Always drag the full window for top-level windows to avoid having to grab the server.
2007-09-27 20:13:57 +02:00
Francois Gouget
b2bc712323
Assorted spelling fixes.
2007-09-27 20:12:53 +02:00
Alexandre Julliard
809af590a1
winex11.drv: Don't call GDI functions while holding the X11 lock.
2007-09-27 18:02:26 +02:00
Chris Robinson
909f7ffcb9
winex11: Be compatible with older XComposite headers.
2007-09-27 11:57:54 +02:00