search for: xany

Displaying 4 results from an estimated 4 matches for "xany".

Did you mean: any
2008 Jun 03
0
More information on R segfaults, tcltk package, and graphics devices
...akpoint in the removeDevice function from device.c. I then do what I describe above, and get the following backtrace from gdb, edited to show what I think is going on. (gdb) bt #0 removeDevice (devNum=1, findNext=TRUE) at devices.c:307 #1 0xb7962855 in handleEvent (event= {type = 33, xany = {type = 33, serial = 15621, send_event = 1, ...(snip)... , 268686226}}) at devX11.c:627 #2 0xb796296c in R_ProcessX11Events (data=0x0) at devX11.c:665 #3 0x080fd99c in R_runHandlers (handlers=0x8263d28, readMask=0x82cf6a0) at sys-std.c:363 #4 0xb74e159e in RTcl_eventProc (evPtr=0x97dfbf0...
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
...*XCheckTypedEvent*. Hmm, I'm not sure this right already, but better... *** devX11.c~ Tue Feb 13 17:24:40 2001 --- devX11.c Tue Feb 13 18:07:41 2001 *************** *** 1232,1242 **** /* Gobble expose events */ ! XNextEvent(display, &event); ! if (event.xany.type == Expose) { ! while (event.xexpose.count) ! XNextEvent(display, &event); ! } } else { /* PIXMAP */ xd->windowWidth = iw = w; xd->windowHeight = ih = h; --- 1232,1241 ---- /* Gobble expose events */ ! if (XCheckT...
2006 Nov 07
2
Crash when embedding R X11 windows
...still applies to current versions of R. After debugging, I came up with the following patch (in src/modules/X11): Index: devX11.c =================================================================== --- devX11.c (revision 39818) +++ devX11.c (working copy) @@ -586,8 +586,8 @@ if (event.xany.type == Expose) { while(XCheckTypedEvent(display, Expose, &event)) ; - XFindContext(display, event.xexpose.window, - devPtrContext, &temp); + if (XFindContext(display, event.xexpose.window, + devPtrContext, &temp)) re...
2007 May 19
2
Crash in blur.c (SIGSEGV)
...0 rd = (RotateDisplay *) 0xfde0b0 #34 0x00002aaab084dfeb in scaleHandleEvent (d=0x633f00, event=0x7fff0f24ad30) at scale.c:1673 s = <value optimized out> sd = (ScaleDisplay *) 0xfe0220 #35 0x000000000040d750 in eventLoop () at display.c:1503 event = {type = 16, xany = {type = 16, serial = 10885, send_event = 0, display = 0x6481b0, window = 421}, xkey = {type = 16, serial = 10885, send_event = 0, display = 0x6481b0, window = 421, root = 20989986, subwindow = 1318554960192, time = 1756641624704, x = 0, y = 0, x_root = 65142784, y_root = 1967360, stat...