/* * tkUnixFocus.c -- * * This file contains platform specific
procedures that manage * focus for Tk. * * Copyright (c) 1997
Sun Microsystems, Inc. * * See the file "license.terms" for
information on usage and redistribution * of this file, and for
a DISCLAIMER OF ALL WARRANTIES. * * RCS: @(#) $Id:
tkUnixFocus.c,v 1.3 1999/04/16 01:51:46 stanton Exp $ */
#include "tkInt.h" #include "tkPort.h" #include "tkUnixInt.h" /*
*---------------------------------------------------------------
------- * * TkpChangeFocus -- * * This procedure is invoked to
move the official X focus from * one window to another. * *
Results: * The return value is the serial number of the command
that * changed the focus. It may be needed by the caller to
filter * out focus change events that were queued before the
command. * If the procedure doesn't actually change the focus
then * it returns 0. * * Side effects: * The official X focus
window changes; the application's focus * window isn't changed
by this procedure. * *---------------------