Commit Graph

652 Commits

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