Blender  V3.3
Macros | Typedefs | Enumerations | Functions | Variables
GHOST_WindowX11.cpp File Reference
#include <X11/Xatom.h>
#include <X11/Xmd.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include "GHOST_Debug.h"
#include "GHOST_IconX11.h"
#include "GHOST_SystemX11.h"
#include "GHOST_WindowX11.h"
#include "GHOST_utildefines.h"
#include "GHOST_ContextGLX.h"
#include <X11/Xresource.h>
#include <cstdio>
#include <cstring>
#include <unistd.h>
#include <algorithm>
#include <climits>
#include <cmath>
#include <string>

Go to the source code of this file.

Macros

#define HOST_NAME_MAX   64
 
#define _NET_WM_STATE_REMOVE   0
 
#define _NET_WM_STATE_ADD   1
 

Typedefs

using MotifWmHints = struct { long flags
 

Enumerations

enum  { MWM_HINTS_FUNCTIONS = (1L << 0) , MWM_HINTS_DECORATIONS = (1L << 1) }
 
enum  {
  MWM_FUNCTION_ALL = (1L << 0) , MWM_FUNCTION_RESIZE = (1L << 1) , MWM_FUNCTION_MOVE = (1L << 2) , MWM_FUNCTION_MINIMIZE = (1L << 3) ,
  MWM_FUNCTION_MAXIMIZE = (1L << 4) , MWM_FUNCTION_CLOSE = (1L << 5)
}
 

Functions

static XVisualInfo * x11_visualinfo_from_glx (Display *display, bool stereoVisual, bool needAlpha, GLXFBConfig *fbconfig)
 

Variables

long functions
 
long decorations
 
long input_mode
 

Macro Definition Documentation

◆ _NET_WM_STATE_ADD

#define _NET_WM_STATE_ADD   1

Definition at line 88 of file GHOST_WindowX11.cpp.

◆ _NET_WM_STATE_REMOVE

#define _NET_WM_STATE_REMOVE   0

Definition at line 87 of file GHOST_WindowX11.cpp.

◆ HOST_NAME_MAX

#define HOST_NAME_MAX   64

Definition at line 76 of file GHOST_WindowX11.cpp.

Typedef Documentation

◆ MotifWmHints

using MotifWmHints = struct { long flags

Definition at line 55 of file GHOST_WindowX11.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MWM_HINTS_FUNCTIONS 
MWM_HINTS_DECORATIONS 

Definition at line 62 of file GHOST_WindowX11.cpp.

◆ anonymous enum

anonymous enum
Enumerator
MWM_FUNCTION_ALL 
MWM_FUNCTION_RESIZE 
MWM_FUNCTION_MOVE 
MWM_FUNCTION_MINIMIZE 
MWM_FUNCTION_MAXIMIZE 
MWM_FUNCTION_CLOSE 

Definition at line 66 of file GHOST_WindowX11.cpp.

Function Documentation

◆ x11_visualinfo_from_glx()

static XVisualInfo* x11_visualinfo_from_glx ( Display *  display,
bool  stereoVisual,
bool  needAlpha,
GLXFBConfig *  fbconfig 
)
static

Definition at line 103 of file GHOST_WindowX11.cpp.

References GHOST_X11_GL_GetAttributes(), and void.

Referenced by GHOST_WindowX11::GHOST_WindowX11().

Variable Documentation

◆ decorations

long decorations

Definition at line 58 of file GHOST_WindowX11.cpp.

◆ functions

long functions

◆ input_mode

long input_mode

Definition at line 59 of file GHOST_WindowX11.cpp.

Referenced by accessor_get_ibuf(), and accessor_get_image_callback().