Lines Matching defs:window

752             win = xev->xkey.window;
756 win = xev->xfocus.window;
760 win = xev->xbutton.window;
763 win = xev->xmotion.window;
767 win = xev->xcrossing.window;
802 /* if focus owner is null, redirect key events to focused window */
817 win = xev->xkey.window = XtWindow(focusWidget);
871 /* associated with the window in the X event. */
1221 findWindowsProxy(jobject window, JNIEnv *env) {
1232 if (window == NULL) return NULL;
1234 owner_prev = (*env)->NewLocalRef(env, window);
1286 /* go up the hierarchy until we find a window */
1372 ev.xfocus.window = trueFocusWindow;
1373 while (ev.xfocus.window != root &&
1374 ev.xfocus.window != None) {
1376 ev.xfocus.window);
1382 ev.xfocus.window = XtWindow(XtParent(w));
1384 ev.xfocus.window = None;
1422 if (xev.xfocus.window == *focusProxyWindow) {
1425 focusOutEvent.xfocus.window = *trueFocusWindow;
1431 while (focusOutEvent.xfocus.window != root &&
1432 focusOutEvent.xfocus.window != None) {
1434 focusOutEvent.xfocus.window);
1437 focusOutEvent.xfocus.window = XtWindow(XtParent(w));
1439 focusOutEvent.xfocus.window = None;
1496 *trueFocusWindow = xev.xany.window;
1552 // If the window doesn't have shell consider it focusable as all windows
1586 Widget target = XtWindowToWidget(awt_display, ev->xbutton.window);
1597 if (ev->xfocus.window == XtWindow(grabbed_widget) ||
1598 isAncestor(XtWindow(grabbed_widget), ev->xfocus.window))
1623 printf("putback FocusOut on window %d, mode %d, "
1625 xev.xfocus.window, xev.xfocus.mode,
1644 Widget widget=XtWindowToWidget(awt_display, xev.xany.window);
1743 Window window = findShellByProxy(xev.xbutton.window);
1744 if (window != None) {
1747 XGetWindowAttributes(awt_display, window, &winAttr);
1748 if (winAttr.override_redirect == TRUE && isFocusableWindow(window)) {
1749 XSetInputFocus(awt_display, window, RevertToPointerRoot, CurrentTime);
1755 printf("KeyPress on window %d\n", xev.xany.window);
1770 xev.xany.window = proxyTopLevel(focusProxyWindow);
1772 xev.xany.window);
1805 fprintf(stderr, "FocusIn on window %x, mode %d, detail %d, "
1806 "send_event %d\n", xev.xfocus.window,
1810 fprintf(stderr, "FocusOut on window %x, mode %d, detail %d, "
1811 "send_event %d\n", xev.xfocus.window,
1826 // Check for xembed on this window. If it is active and this is not XEmbed focus
1828 if (isXEmbedActiveByWindow(xev.xfocus.window) && !xev.xfocus.send_event) {
1889 "window");
1896 xev.xany.window);
1903 printf("Focus event directed at a window; window = %d\n",
1904 xev.xany.window);
1915 printf("Unmap on window %d\n", xev.xany.window);
1916 printf("True focus window is %d\n", trueFocusWindow);
1918 clearFocusPathOnWindow(xev.xunmap.window);
2505 scr, ev->window);
2529 awt_xsettings_update(scr, ev->window, cookie);
3321 Java_sun_awt_motif_MToolkit_nativeGrab(JNIEnv *env, jobject toolkit, jobject window) {
3329 JNU_GetLongFieldAsPtr(env, window, mComponentPeerIDs.pData);
3366 Java_sun_awt_motif_MToolkit_nativeUnGrab(JNIEnv *env, jobject toolkit, jobject window) {
3372 JNU_GetLongFieldAsPtr(env, window, mComponentPeerIDs.pData);