FreeBASIC  0.91.0
io_xfocus.c File Reference
#include "../fb.h"
#include "../fb_private_hdynload.h"
#include <X11/Xlib.h>
Include dependency graph for io_xfocus.c:

Go to the source code of this file.

Data Structures

struct  X_FUNCS
 

Typedefs

typedef Display *(* XOPENDISPLAY )(char *)
 
typedef int(* XCLOSEDISPLAY )(Display *)
 
typedef int(* XGETINPUTFOCUS )(Display *, Window *, int *)
 

Functions

int fb_hXTermInitFocus (void)
 
void fb_hXTermExitFocus (void)
 
int fb_hXTermHasFocus (void)
 

Variables

static int ref_count = 0
 
static FB_DYLIB xlib
 
static X_FUNCS X = { NULL }
 
static Display * display
 
static Window xterm_window
 

Typedef Documentation

typedef int(* XCLOSEDISPLAY)(Display *)

Definition at line 10 of file io_xfocus.c.

typedef int(* XGETINPUTFOCUS)(Display *, Window *, int *)

Definition at line 11 of file io_xfocus.c.

typedef Display*(* XOPENDISPLAY)(char *)

Definition at line 9 of file io_xfocus.c.

Function Documentation

void fb_hXTermExitFocus ( void  )

Definition at line 49 of file io_xfocus.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int fb_hXTermHasFocus ( void  )

Definition at line 60 of file io_xfocus.c.

Here is the caller graph for this function:

int fb_hXTermInitFocus ( void  )

Definition at line 26 of file io_xfocus.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Display* display
static

Definition at line 22 of file io_xfocus.c.

int ref_count = 0
static

Definition at line 19 of file io_xfocus.c.

X_FUNCS X = { NULL }
static

Definition at line 21 of file io_xfocus.c.

FB_DYLIB xlib
static

Definition at line 20 of file io_xfocus.c.

Window xterm_window
static

Definition at line 23 of file io_xfocus.c.