Displaying 4 results from an estimated 4 matches for "create_cursor".
2010 Oct 19
1
X11 Cursor's in Wine Applications
...this code for mouse.c:
+#include <X11/cursorfont.h>
/***********************************************************************
* SetCursor (X11DRV.@)
@@ -961,14 +963,19 @@
/* set the same cursor for all top-level windows of the current thread
*/
wine_tsx11_lock();
- cursor = create_cursor( data->display, lpCursor );
+
+ //cursor = create_cursor( data->display, lpCursor );
+ cursor = XCreateFontCursor(data->display, XC_arrow);
+
+
What I'm looking todo is make it so wine uses the X11 cursor, but hides it
like the normal WINE cursor when the program defines it'...
2003 Apr 10
1
Starcraft Patch
...the current thread */
{
struct x11drv_thread_data *data = x11drv_thread_data();
+#ifdef HAVE_LIBXXF86DGA2
+ Display *display = DGAUsed ? gdi_display : data->display;
+#else
+ Display *display = data->display;
+#endif
wine_tsx11_lock();
- cursor = create_cursor( data->display, lpCursor );
+ cursor = create_cursor( display, lpCursor );
if (cursor)
{
- if (data->cursor) XFreeCursor( data->display, data->cursor );
+ if (data->cursor) XFreeCursor( display, data->cursor );
data->c...
2006 Sep 20
1
kernel32.VirtualAlloc() limitation? - "Insufficient memory to perform operation"
...ursor 0x10f6
0009:Call kernel32.25(000010f6) ret=7ed2b5ce
0009:Ret kernel32.25() retval=0016f490 ret=7ed2b5ce
0009:Call winex11.drv.SetCursor(0016f490) ret=7ed2b5df
0009:Call kernel32.TlsGetValue(00000001) ret=7e46cfd7
0009:Ret kernel32.TlsGetValue() retval=0016af00 ret=7e46cfd7
0009:trace:cursor:create_cursor Bitmap 32x32 planes=1 bpp=1 bytesperline=4
0009:Ret winex11.drv.SetCursor() retval=00000000 ret=7ed2b5df
0009:Call kernel32.26(000010f6) ret=7ed2b5e7
0009:trace:global:GlobalUnlock16 10f6
0009:Ret kernel32.26() retval=00000000 ret=7ed2b5e7
0009:Ret user32.SetCursor() retval=00001136 ret=00513bdb...
2007 Sep 14
0
Wine release 0.9.45
...lp: Add WS_EX_TOOLWINDOW style to popup windows.
Lei Zhang (2):
riched20: Do not pass NULL lParam to ME_ToUnicode for EM_REPLACESEL.
user32: Edit control should respond to ctrl + z.
Lionel Debroux (9):
kernel32: Fix memory leak in CopyFileW.
winex11.drv: Fix memory leak in create_cursor (found by Smatch).
ole32: Fix memory leak in compositemoniker.c (found by Smatch).
winedump: Fix memory leak in msmangle.c (found by Smatch).
dplayx: Fixed memory leak in dplay.c (found by Smatch).
regedit: Fixed a memory leak in listview.c (found by Smatch).
setupapi:...