Displaying 3 results from an estimated 3 matches for "xchecktypedev".
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
...umping this together... Both these issues are rather
small, and I'm not sure either qualifies as a bug...
1) After a window id created in X11_Open and mapped, you "gobble the
expose events". Not true, you gobble any event that comes along!
The code below fixes this by using *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 == Ex...
2006 Nov 07
2
Crash when embedding R X11 windows
...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)) return;
dd = (NewDevDesc *) temp;...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
...ubset.o summary.o unique.o util.o
versio
n.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a
lib/libmath.a -
lm
ld:
Unresolved:
XLoadQueryFont
XOpenDisplay
XInternAtom
XCreateFontCursor
XCreateGC
XCreateWindow
XDefaultRootWindow
XSetWMProtocols
XAllocColor
XAllocNamedColor
XChangeProperty
XCheckTypedEvent
XClearWindow
XCloseDisplay
XDefaultDepth
XDefaultScreen
XDefineCursor
XDestroyWindow
XDrawArc
XDrawLine
XDrawLines
XDrawRectangle
XFillArc
XFillPolygon
XFillRectangle
XFreeColors
XFreeCursor
XFreeGC
XMapWindow
XNextEvent
XPending
XSelectInput
XSetClipRectangles
XSetDashes
XSetFont
XSetLineAttrib...