search for: xselectinput

Displaying 6 results from an estimated 6 matches for "xselectinput".

2013 Jun 19
2
Relative position between two windows
...to keep fixed the relative position between two established corners of them that they have when mapped. So that if I move or resize one of 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 ) > { > // n...
2006 May 11
1
compiz without a desktop window
Running compiz without a desktop window has some unexpected behavior. It is not possible to grab the cube with the mouse. The pointer needs to be over a window for it to work. In display.c the XSelectInput call in addDisplay is missing ButtonPressMask and ButtonReleaseMask, so it makes sense why this doesn't work. Is there a reason why they have been left out? Lower window with Button2 on the title bar doesn't work at all. Using the binding for lower window does lower the window, though not...
2013 Jun 19
0
Relative position between two windows
...; between two established corners of them that they have when mapped. > So that if I move or resize one of 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 == >&gt...
2005 Dec 01
0
[fdo] Programming problems in Dual Head Mode.
...(display); > printf("screen = %d\n", screen); > > hwidth = 640; > hheight = 480; > > /* Make the window */ > window = XCreateSimpleWindow (display, RootWindow(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); > &gt...
2005 Dec 05
0
[fdo] Programming problems in Dual Head Mode with Tiny-X.
...(display); > printf("screen = %d\n", screen); > > hwidth = 640; > hheight = 480; > > /* Make the window */ > window = XCreateSimpleWindow (display, RootWindow(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); > &gt...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
...otocols 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 XGetWindowAttributes XMapRaised XMapSubw...