RetroArch
Functions | Variables
x11_common.h File Reference
#include <X11/Xutil.h>
#include <boolean.h>
#include "../video_driver.h"
Include dependency graph for x11_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void x11_show_mouse (Display *dpy, Window win, bool state)
 
void x11_set_net_wm_fullscreen (Display *dpy, Window win)
 
void x11_suspend_screensaver (Window win, bool enable)
 
bool x11_enter_fullscreen (video_frame_info_t *video_info, Display *dpy, unsigned width, unsigned height)
 
void x11_exit_fullscreen (Display *dpy)
 
void x11_move_window (Display *dpy, Window win, int x, int y, unsigned width, unsigned height)
 
void x11_set_window_attr (Display *dpy, Window win)
 
bool x11_create_input_context (Display *dpy, Window win, XIM *xim, XIC *xic)
 
void x11_destroy_input_context (XIM *xim, XIC *xic)
 
bool x11_get_metrics (void *data, enum display_metric_types type, float *value)
 
float x11_get_refresh_rate (void *data)
 
void x11_check_window (void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, bool is_shutdown)
 
void x11_get_video_size (void *data, unsigned *width, unsigned *height)
 
bool x11_has_focus (void *data)
 
bool x11_has_focus_internal (void *data)
 
bool x11_alive (void *data)
 
bool x11_connect (void)
 
void x11_update_title (void *data, void *data2)
 
bool x11_input_ctx_new (bool true_full)
 
void x11_input_ctx_destroy (void)
 
void x11_window_destroy (bool fullscreen)
 
void x11_colormap_destroy (void)
 
void x11_install_quit_atom (void)
 
void x11_event_queue_check (XEvent *event)
 
char * x11_get_wm_name (Display *dpy)
 
bool x11_has_net_wm_fullscreen (Display *dpy)
 

Variables

Window g_x11_win
 
Display * g_x11_dpy
 
Colormap g_x11_cmap
 
unsigned g_x11_screen
 

Function Documentation

◆ x11_alive()

bool x11_alive ( void data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_check_window()

void x11_check_window ( void data,
bool quit,
bool resize,
unsigned *  width,
unsigned *  height,
bool  is_shutdown 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_colormap_destroy()

void x11_colormap_destroy ( void  )
Here is the caller graph for this function:

◆ x11_connect()

bool x11_connect ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_create_input_context()

bool x11_create_input_context ( Display *  dpy,
Window  win,
XIM *  xim,
XIC *  xic 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_destroy_input_context()

void x11_destroy_input_context ( XIM *  xim,
XIC *  xic 
)
Here is the caller graph for this function:

◆ x11_enter_fullscreen()

bool x11_enter_fullscreen ( video_frame_info_t video_info,
Display *  dpy,
unsigned  width,
unsigned  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_event_queue_check()

void x11_event_queue_check ( XEvent *  event)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_exit_fullscreen()

void x11_exit_fullscreen ( Display *  dpy)
Here is the caller graph for this function:

◆ x11_get_metrics()

bool x11_get_metrics ( void data,
enum display_metric_types  type,
float *  value 
)
Here is the call graph for this function:

◆ x11_get_refresh_rate()

float x11_get_refresh_rate ( void data)

◆ x11_get_video_size()

void x11_get_video_size ( void data,
unsigned *  width,
unsigned *  height 
)
Here is the caller graph for this function:

◆ x11_get_wm_name()

char* x11_get_wm_name ( Display *  dpy)
Here is the caller graph for this function:

◆ x11_has_focus()

bool x11_has_focus ( void data)

◆ x11_has_focus_internal()

bool x11_has_focus_internal ( void data)

◆ x11_has_net_wm_fullscreen()

bool x11_has_net_wm_fullscreen ( Display *  dpy)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_input_ctx_destroy()

void x11_input_ctx_destroy ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_input_ctx_new()

bool x11_input_ctx_new ( bool  true_full)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_install_quit_atom()

void x11_install_quit_atom ( void  )
Here is the caller graph for this function:

◆ x11_move_window()

void x11_move_window ( Display *  dpy,
Window  win,
int  x,
int  y,
unsigned  width,
unsigned  height 
)
Here is the caller graph for this function:

◆ x11_set_net_wm_fullscreen()

void x11_set_net_wm_fullscreen ( Display *  dpy,
Window  win 
)
Here is the caller graph for this function:

◆ x11_set_window_attr()

void x11_set_window_attr ( Display *  dpy,
Window  win 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_show_mouse()

void x11_show_mouse ( Display *  dpy,
Window  win,
bool  state 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_suspend_screensaver()

void x11_suspend_screensaver ( Window  win,
bool  enable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_update_title()

void x11_update_title ( void data,
void data2 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ x11_window_destroy()

void x11_window_destroy ( bool  fullscreen)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_x11_cmap

Colormap g_x11_cmap

◆ g_x11_dpy

Display* g_x11_dpy

◆ g_x11_screen

unsigned g_x11_screen

◆ g_x11_win

Window g_x11_win