MythTV  master
Classes | Macros | Typedefs | Functions | Variables
mythxdisplay.cpp File Reference
#include <map>
#include <vector>
#include "config.h"
#include "mythlogging.h"
#include "mythuihelper.h"
#include "mythxdisplay.h"
#include <X11/extensions/Xinerama.h>
#include <X11/extensions/xf86vmode.h>
Include dependency graph for mythxdisplay.cpp:

Go to the source code of this file.

Classes

class  MythXLocker
 

Macros

#define V_INTERLACE   (0x010)
 

Typedefs

using XErrorCallbackType = int(*)(Display *, XErrorEvent *)
 
using XErrorVectorType = std::vector< XErrorEvent >
 

Functions

static int ErrorHandler (Display *d, XErrorEvent *xeev)
 

Variables

static std::map< Display *, XErrorVectorTypexerrors
 
static std::map< Display *, XErrorCallbackTypexerror_handlers
 

Macro Definition Documentation

◆ V_INTERLACE

#define V_INTERLACE   (0x010)

Definition at line 13 of file mythxdisplay.cpp.

Typedef Documentation

◆ XErrorCallbackType

using XErrorCallbackType = int (*)(Display *, XErrorEvent *)

Definition at line 19 of file mythxdisplay.cpp.

◆ XErrorVectorType

using XErrorVectorType = std::vector<XErrorEvent>

Definition at line 20 of file mythxdisplay.cpp.

Function Documentation

◆ ErrorHandler()

static int ErrorHandler ( Display *  d,
XErrorEvent *  xeev 
)
static

Definition at line 24 of file mythxdisplay.cpp.

Referenced by MythXDisplay::StartLog().

Variable Documentation

◆ xerrors

std::map<Display*, XErrorVectorType> xerrors
static

◆ xerror_handlers

std::map<Display*, XErrorCallbackType> xerror_handlers
static