search for: xnextev

Displaying 8 results from an estimated 8 matches for "xnextev".

Did you mean: nextel
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
...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 == Expose) { ! while (event.xexpose.count) ! XNextEvent(display, &event); ! } } else { /* PIXMAP */ xd->windowWidth = iw = w; xd->windowHeight = ih = h; --- 1232,1241 ---- /...
2013 Jun 19
2
Relative position between two windows
...f the window, the other if necessary automatically moves to observe the condition. I'm close with this code, let's see for example the case for window A: XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask ); > > XEvent event; > while ( true ) > { > XNextEvent ( display, & event ); > /* ... */ > if ( event.type == ConfigureNotify and event.xconfigure.window == > window_B ) > { > // new_x, new_y based on event.xconfigure.x, event.xconfigure.y, > etc... > XMoveWindow ( display, window_A, new_x, new_y...
2003 Apr 10
1
Starcraft Patch
...ay *display = DGAUsed ? gdi_display : data->display; +#else + Display *display = data->display; +#endif + wine_tsx11_lock(); - while ( XPending( data->display ) ) + /* Changed to make starcraft work */ + while ( XPending( display ) ) { - Bool ignore; - - XNextEvent( data->display, &event ); - ignore = XFilterEvent( &event, None ); + XNextEvent( display, &event ); wine_tsx11_unlock(); - if (!ignore) EVENT_ProcessEvent( &event ); + EVENT_ProcessEvent( &event ); count++; wine_tsx11_...
1998 Oct 07
2
R-beta: compiling R on RedHat 5.1
...accidentally was sent to the R-help-owner only; MM] ** when I compile R-0.62.3 on RedHat 5.1, the following messages appear: ... f77 -export-dynamic -o R.binary ... ../lib/libunix.a(dataentry.o): In function `NextEvent': /home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XNextEvent' ../lib/libunix.a(dataentry.o): In function `GetKey': /home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XLookupString' ... there are tens of such undefined references. I guess it is due to some uninstalled RPMs, but do not have any idea what they are. ** I al...
2013 Jun 19
0
Relative position between two windows
...t; moves to observe the condition. I'm close with this code, let's see for > example > the case for window A: > > XSelectInput ( display, RootWindow ( display, 0 ), SubstructureNotifyMask >> ); >> >> XEvent event; >> while ( true ) >> { >> XNextEvent ( display, & event ); >> /* ... */ >> if ( event.type == ConfigureNotify and event.xconfigure.window == >> window_B ) >> { >> // new_x, new_y based on event.xconfigure.x, event.xconfigure.y, >> etc... >> XMoveWindow ( disp...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...dow(display, screen), > 0, 0, hwidth, hheight,0,0,0); > > XSelectInput(display, window, KeyPressMask | StructureNotifyMask); > > /* Map window. */ > > XMapWindow(display, window); > > /* Wait for map. */ > do > { > XNextEvent(display, &xev); > } > while (xev.type != MapNotify || xev.xmap.event != window); > > gc = DefaultGC(display, screen); > > yuv_height = hheight; > yuv_width = hwidth; > > XvQueryAdaptors(display, RootWindow(display, screen), &numAdaptors, > &...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...dow(display, screen), > 0, 0, hwidth, hheight,0,0,0); > > XSelectInput(display, window, KeyPressMask | StructureNotifyMask); > > /* Map window. */ > > XMapWindow(display, window); > > /* Wait for map. */ > do > { > XNextEvent(display, &xev); > } > while (xev.type != MapNotify || xev.xmap.event != window); > > gc = DefaultGC(display, screen); > > yuv_height = hheight; > yuv_width = hwidth; > > XvQueryAdaptors(display, RootWindow(display, screen), &numAdaptors, > &...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
...tRootWindow 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 XSetLineAttributes XSetState XSetWindowBackground XSync XTextWidth XUnloadFont XFindContext XSaveContext XrmUniqueQuark XCreateSimpleWindow XBell XChangeWindowAttributes XClearArea XCopyArea XDrawImageString XDrawString XGetWindowAttri...