Macros | Functions | Variables
wl_window.c File Reference
#include "internal.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/timerfd.h>
#include <poll.h>
Include dependency graph for wl_window.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

int _glfwPlatformCreateCursor (_GLFWcursor *cursor, const GLFWimage *image, int xhot, int yhot)
 
int _glfwPlatformCreateStandardCursor (_GLFWcursor *cursor, int shape)
 
int _glfwPlatformCreateWindow (_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
VkResult _glfwPlatformCreateWindowSurface (VkInstance instance, _GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
 
void _glfwPlatformDestroyCursor (_GLFWcursor *cursor)
 
void _glfwPlatformDestroyWindow (_GLFWwindow *window)
 
void _glfwPlatformFocusWindow (_GLFWwindow *window)
 
int _glfwPlatformFramebufferTransparent (_GLFWwindow *window)
 
const char * _glfwPlatformGetClipboardString (void)
 
void _glfwPlatformGetCursorPos (_GLFWwindow *window, double *xpos, double *ypos)
 
void _glfwPlatformGetFramebufferSize (_GLFWwindow *window, int *width, int *height)
 
int _glfwPlatformGetKeyScancode (int key)
 
int _glfwPlatformGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
 
void _glfwPlatformGetRequiredInstanceExtensions (char **extensions)
 
const char * _glfwPlatformGetScancodeName (int scancode)
 
void _glfwPlatformGetWindowContentScale (_GLFWwindow *window, float *xscale, float *yscale)
 
void _glfwPlatformGetWindowFrameSize (_GLFWwindow *window, int *left, int *top, int *right, int *bottom)
 
float _glfwPlatformGetWindowOpacity (_GLFWwindow *window)
 
void _glfwPlatformGetWindowPos (_GLFWwindow *window, int *xpos, int *ypos)
 
void _glfwPlatformGetWindowSize (_GLFWwindow *window, int *width, int *height)
 
void _glfwPlatformHideWindow (_GLFWwindow *window)
 
void _glfwPlatformIconifyWindow (_GLFWwindow *window)
 
void _glfwPlatformMaximizeWindow (_GLFWwindow *window)
 
void _glfwPlatformPollEvents (void)
 
void _glfwPlatformPostEmptyEvent (void)
 
void _glfwPlatformRequestWindowAttention (_GLFWwindow *window)
 
void _glfwPlatformRestoreWindow (_GLFWwindow *window)
 
void _glfwPlatformSetClipboardString (const char *string)
 
void _glfwPlatformSetCursor (_GLFWwindow *window, _GLFWcursor *cursor)
 
void _glfwPlatformSetCursorMode (_GLFWwindow *window, int mode)
 
void _glfwPlatformSetCursorPos (_GLFWwindow *window, double x, double y)
 
void _glfwPlatformSetWindowAspectRatio (_GLFWwindow *window, int numer, int denom)
 
void _glfwPlatformSetWindowDecorated (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowFloating (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowIcon (_GLFWwindow *window, int count, const GLFWimage *images)
 
void _glfwPlatformSetWindowMonitor (_GLFWwindow *window, _GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
 
void _glfwPlatformSetWindowOpacity (_GLFWwindow *window, float opacity)
 
void _glfwPlatformSetWindowPos (_GLFWwindow *window, int xpos, int ypos)
 
void _glfwPlatformSetWindowResizable (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowSize (_GLFWwindow *window, int width, int height)
 
void _glfwPlatformSetWindowSizeLimits (_GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
 
void _glfwPlatformSetWindowTitle (_GLFWwindow *window, const char *title)
 
void _glfwPlatformShowWindow (_GLFWwindow *window)
 
void _glfwPlatformWaitEvents (void)
 
void _glfwPlatformWaitEventsTimeout (double timeout)
 
int _glfwPlatformWindowFocused (_GLFWwindow *window)
 
int _glfwPlatformWindowHovered (_GLFWwindow *window)
 
int _glfwPlatformWindowIconified (_GLFWwindow *window)
 
int _glfwPlatformWindowMaximized (_GLFWwindow *window)
 
int _glfwPlatformWindowVisible (_GLFWwindow *window)
 
static void checkScaleChange (_GLFWwindow *window)
 
static int createAnonymousFile (off_t size)
 
static void createDecoration (_GLFWdecorationWayland *decoration, struct wl_surface *parent, struct wl_buffer *buffer, GLFWbool opaque, int x, int y, int width, int height)
 
static void createDecorations (_GLFWwindow *window)
 
static GLFWbool createShellSurface (_GLFWwindow *window)
 
static struct wl_buffer * createShmBuffer (const GLFWimage *image)
 
static GLFWbool createSurface (_GLFWwindow *window, const _GLFWwndconfig *wndconfig)
 
static int createTmpfileCloexec (char *tmpname)
 
static GLFWbool createXdgSurface (_GLFWwindow *window)
 
static void dataSourceHandleCancelled (void *data, struct wl_data_source *dataSource)
 
static void dataSourceHandleSend (void *data, struct wl_data_source *dataSource, const char *mimeType, int fd)
 
static void dataSourceHandleTarget (void *data, struct wl_data_source *dataSource, const char *mimeType)
 
static void destroyDecoration (_GLFWdecorationWayland *decoration)
 
static void destroyDecorations (_GLFWwindow *window)
 
GLFWAPI struct wl_display * glfwGetWaylandDisplay (void)
 
GLFWAPI struct wl_surface * glfwGetWaylandWindow (GLFWwindow *handle)
 
static GLFWbool growClipboardString (void)
 
static void handleEvents (int timeout)
 
static void incrementCursorImage (_GLFWwindow *window)
 
static GLFWbool isPointerLocked (_GLFWwindow *window)
 
static void lockedPointerHandleLocked (void *data, struct zwp_locked_pointer_v1 *lockedPointer)
 
static void lockedPointerHandleUnlocked (void *data, struct zwp_locked_pointer_v1 *lockedPointer)
 
static void lockPointer (_GLFWwindow *window)
 
static void relativePointerHandleRelativeMotion (void *data, struct zwp_relative_pointer_v1 *pointer, uint32_t timeHi, uint32_t timeLo, wl_fixed_t dx, wl_fixed_t dy, wl_fixed_t dxUnaccel, wl_fixed_t dyUnaccel)
 
static void resizeWindow (_GLFWwindow *window)
 
static void setCursorImage (_GLFWwindow *window, _GLFWcursorWayland *cursorWayland)
 
static void setFullscreen (_GLFWwindow *window, _GLFWmonitor *monitor, int refreshRate)
 
static void setIdleInhibitor (_GLFWwindow *window, GLFWbool enable)
 
static void setOpaqueRegion (_GLFWwindow *window)
 
static void setXdgDecorations (_GLFWwindow *window)
 
static void shellSurfaceHandleConfigure (void *data, struct wl_shell_surface *shellSurface, uint32_t edges, int32_t width, int32_t height)
 
static void shellSurfaceHandlePing (void *data, struct wl_shell_surface *shellSurface, uint32_t serial)
 
static void shellSurfaceHandlePopupDone (void *data, struct wl_shell_surface *shellSurface)
 
static void surfaceHandleEnter (void *data, struct wl_surface *surface, struct wl_output *output)
 
static void surfaceHandleLeave (void *data, struct wl_surface *surface, struct wl_output *output)
 
static char * translateCursorShape (int shape)
 
static void unlockPointer (_GLFWwindow *window)
 
static void xdgDecorationHandleConfigure (void *data, struct zxdg_toplevel_decoration_v1 *decoration, uint32_t mode)
 
static void xdgSurfaceHandleConfigure (void *data, struct xdg_surface *surface, uint32_t serial)
 
static void xdgToplevelHandleClose (void *data, struct xdg_toplevel *toplevel)
 
static void xdgToplevelHandleConfigure (void *data, struct xdg_toplevel *toplevel, int32_t width, int32_t height, struct wl_array *states)
 

Variables

static const struct wl_data_source_listener dataSourceListener
 
static const struct zwp_locked_pointer_v1_listener lockedPointerListener
 
static const struct zwp_relative_pointer_v1_listener relativePointerListener
 
static const struct wl_shell_surface_listener shellSurfaceListener
 
static const struct wl_surface_listener surfaceListener
 
static const struct zxdg_toplevel_decoration_v1_listener xdgDecorationListener
 
static const struct xdg_surface_listener xdgSurfaceListener
 
static const struct xdg_toplevel_listener xdgToplevelListener
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 27 of file wl_window.c.

Function Documentation

int _glfwPlatformCreateCursor ( _GLFWcursor cursor,
const GLFWimage image,
int  xhot,
int  yhot 
)

Definition at line 1364 of file wl_window.c.

int _glfwPlatformCreateStandardCursor ( _GLFWcursor cursor,
int  shape 
)

Definition at line 1379 of file wl_window.c.

int _glfwPlatformCreateWindow ( _GLFWwindow window,
const _GLFWwndconfig wndconfig,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 903 of file wl_window.c.

VkResult _glfwPlatformCreateWindowSurface ( VkInstance  instance,
_GLFWwindow window,
const VkAllocationCallbacks allocator,
VkSurfaceKHR surface 
)

Definition at line 1806 of file wl_window.c.

void _glfwPlatformDestroyCursor ( _GLFWcursor cursor)

Definition at line 1406 of file wl_window.c.

void _glfwPlatformDestroyWindow ( _GLFWwindow window)

Definition at line 968 of file wl_window.c.

void _glfwPlatformFocusWindow ( _GLFWwindow window)

Definition at line 1212 of file wl_window.c.

int _glfwPlatformFramebufferTransparent ( _GLFWwindow window)

Definition at line 1268 of file wl_window.c.

const char* _glfwPlatformGetClipboardString ( void  )

Definition at line 1710 of file wl_window.c.

void _glfwPlatformGetCursorPos ( _GLFWwindow window,
double *  xpos,
double *  ypos 
)

Definition at line 1327 of file wl_window.c.

void _glfwPlatformGetFramebufferSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1094 of file wl_window.c.

int _glfwPlatformGetKeyScancode ( int  key)

Definition at line 1359 of file wl_window.c.

int _glfwPlatformGetPhysicalDevicePresentationSupport ( VkInstance  instance,
VkPhysicalDevice  device,
uint32_t  queuefamily 
)

Definition at line 1786 of file wl_window.c.

void _glfwPlatformGetRequiredInstanceExtensions ( char **  extensions)

Definition at line 1777 of file wl_window.c.

const char* _glfwPlatformGetScancodeName ( int  scancode)

Definition at line 1353 of file wl_window.c.

void _glfwPlatformGetWindowContentScale ( _GLFWwindow window,
float *  xscale,
float *  yscale 
)

Definition at line 1119 of file wl_window.c.

void _glfwPlatformGetWindowFrameSize ( _GLFWwindow window,
int *  left,
int *  top,
int *  right,
int *  bottom 
)

Definition at line 1102 of file wl_window.c.

float _glfwPlatformGetWindowOpacity ( _GLFWwindow window)

Definition at line 1298 of file wl_window.c.

void _glfwPlatformGetWindowPos ( _GLFWwindow window,
int *  xpos,
int *  ypos 
)

Definition at line 1031 of file wl_window.c.

void _glfwPlatformGetWindowSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1048 of file wl_window.c.

void _glfwPlatformHideWindow ( _GLFWwindow window)

Definition at line 1188 of file wl_window.c.

void _glfwPlatformIconifyWindow ( _GLFWwindow window)

Definition at line 1128 of file wl_window.c.

void _glfwPlatformMaximizeWindow ( _GLFWwindow window)

Definition at line 1162 of file wl_window.c.

void _glfwPlatformPollEvents ( void  )

Definition at line 1307 of file wl_window.c.

void _glfwPlatformPostEmptyEvent ( void  )

Definition at line 1322 of file wl_window.c.

void _glfwPlatformRequestWindowAttention ( _GLFWwindow window)

Definition at line 1205 of file wl_window.c.

void _glfwPlatformRestoreWindow ( _GLFWwindow window)

Definition at line 1142 of file wl_window.c.

void _glfwPlatformSetClipboardString ( const char *  string)

Definition at line 1654 of file wl_window.c.

void _glfwPlatformSetCursor ( _GLFWwindow window,
_GLFWcursor cursor 
)

Definition at line 1513 of file wl_window.c.

void _glfwPlatformSetCursorMode ( _GLFWwindow window,
int  mode 
)

Definition at line 1348 of file wl_window.c.

void _glfwPlatformSetCursorPos ( _GLFWwindow window,
double  x,
double  y 
)

Definition at line 1337 of file wl_window.c.

void _glfwPlatformSetWindowAspectRatio ( _GLFWwindow window,
int  numer,
int  denom 
)

Definition at line 1087 of file wl_window.c.

void _glfwPlatformSetWindowDecorated ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1280 of file wl_window.c.

void _glfwPlatformSetWindowFloating ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1291 of file wl_window.c.

void _glfwPlatformSetWindowIcon ( _GLFWwindow window,
int  count,
const GLFWimage images 
)

Definition at line 1024 of file wl_window.c.

void _glfwPlatformSetWindowMonitor ( _GLFWwindow window,
_GLFWmonitor monitor,
int  xpos,
int  ypos,
int  width,
int  height,
int  refreshRate 
)

Definition at line 1218 of file wl_window.c.

void _glfwPlatformSetWindowOpacity ( _GLFWwindow window,
float  opacity 
)

Definition at line 1303 of file wl_window.c.

void _glfwPlatformSetWindowPos ( _GLFWwindow window,
int  xpos,
int  ypos 
)

Definition at line 1040 of file wl_window.c.

void _glfwPlatformSetWindowResizable ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1273 of file wl_window.c.

void _glfwPlatformSetWindowSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 1056 of file wl_window.c.

void _glfwPlatformSetWindowSizeLimits ( _GLFWwindow window,
int  minwidth,
int  minheight,
int  maxwidth,
int  maxheight 
)

Definition at line 1063 of file wl_window.c.

void _glfwPlatformSetWindowTitle ( _GLFWwindow window,
const char *  title 
)

Definition at line 1013 of file wl_window.c.

void _glfwPlatformShowWindow ( _GLFWwindow window)

Definition at line 1176 of file wl_window.c.

void _glfwPlatformWaitEvents ( void  )

Definition at line 1312 of file wl_window.c.

void _glfwPlatformWaitEventsTimeout ( double  timeout)

Definition at line 1317 of file wl_window.c.

int _glfwPlatformWindowFocused ( _GLFWwindow window)

Definition at line 1241 of file wl_window.c.

int _glfwPlatformWindowHovered ( _GLFWwindow window)

Definition at line 1263 of file wl_window.c.

int _glfwPlatformWindowIconified ( _GLFWwindow window)

Definition at line 1246 of file wl_window.c.

int _glfwPlatformWindowMaximized ( _GLFWwindow window)

Definition at line 1258 of file wl_window.c.

int _glfwPlatformWindowVisible ( _GLFWwindow window)

Definition at line 1253 of file wl_window.c.

static void checkScaleChange ( _GLFWwindow window)
static

Definition at line 395 of file wl_window.c.

static int createAnonymousFile ( off_t  size)
static

Definition at line 139 of file wl_window.c.

static void createDecoration ( _GLFWdecorationWayland decoration,
struct wl_surface *  parent,
struct wl_buffer *  buffer,
GLFWbool  opaque,
int  x,
int  y,
int  width,
int  height 
)
static

Definition at line 241 of file wl_window.c.

static void createDecorations ( _GLFWwindow window)
static

Definition at line 271 of file wl_window.c.

static GLFWbool createShellSurface ( _GLFWwindow window)
static

Definition at line 537 of file wl_window.c.

static struct wl_buffer* createShmBuffer ( const GLFWimage image)
static

Definition at line 188 of file wl_window.c.

static GLFWbool createSurface ( _GLFWwindow window,
const _GLFWwndconfig wndconfig 
)
static

Definition at line 486 of file wl_window.c.

static int createTmpfileCloexec ( char *  tmpname)
static

Definition at line 108 of file wl_window.c.

static GLFWbool createXdgSurface ( _GLFWwindow window)
static

Definition at line 686 of file wl_window.c.

static void dataSourceHandleCancelled ( void data,
struct wl_data_source *  dataSource 
)
static

Definition at line 1633 of file wl_window.c.

static void dataSourceHandleSend ( void data,
struct wl_data_source *  dataSource,
const char *  mimeType,
int  fd 
)
static

Definition at line 1584 of file wl_window.c.

static void dataSourceHandleTarget ( void data,
struct wl_data_source *  dataSource,
const char *  mimeType 
)
static

Definition at line 1572 of file wl_window.c.

static void destroyDecoration ( _GLFWdecorationWayland decoration)
static

Definition at line 303 of file wl_window.c.

static void destroyDecorations ( _GLFWwindow window)
static

Definition at line 316 of file wl_window.c.

GLFWAPI struct wl_display* glfwGetWaylandDisplay ( void  )

Definition at line 1845 of file wl_window.c.

GLFWAPI struct wl_surface* glfwGetWaylandWindow ( GLFWwindow handle)

Definition at line 1851 of file wl_window.c.

static GLFWbool growClipboardString ( void  )
static

Definition at line 1694 of file wl_window.c.

static void handleEvents ( int  timeout)
static

Definition at line 809 of file wl_window.c.

static void incrementCursorImage ( _GLFWwindow window)
static

Definition at line 793 of file wl_window.c.

static GLFWbool isPointerLocked ( _GLFWwindow window)
static

Definition at line 1508 of file wl_window.c.

static void lockedPointerHandleLocked ( void data,
struct zwp_locked_pointer_v1 *  lockedPointer 
)
static

Definition at line 1439 of file wl_window.c.

static void lockedPointerHandleUnlocked ( void data,
struct zwp_locked_pointer_v1 *  lockedPointer 
)
static

Definition at line 1460 of file wl_window.c.

static void lockPointer ( _GLFWwindow window)
static

Definition at line 1470 of file wl_window.c.

static void relativePointerHandleRelativeMotion ( void data,
struct zwp_relative_pointer_v1 *  pointer,
uint32_t  timeHi,
uint32_t  timeLo,
wl_fixed_t  dx,
wl_fixed_t  dy,
wl_fixed_t  dxUnaccel,
wl_fixed_t  dyUnaccel 
)
static

Definition at line 1416 of file wl_window.c.

static void resizeWindow ( _GLFWwindow window)
static

Definition at line 356 of file wl_window.c.

static void setCursorImage ( _GLFWwindow window,
_GLFWcursorWayland cursorWayland 
)
static

Definition at line 747 of file wl_window.c.

static void setFullscreen ( _GLFWwindow window,
_GLFWmonitor monitor,
int  refreshRate 
)
static

Definition at line 515 of file wl_window.c.

static void setIdleInhibitor ( _GLFWwindow window,
GLFWbool  enable 
)
static

Definition at line 468 of file wl_window.c.

static void setOpaqueRegion ( _GLFWwindow window)
static

Definition at line 341 of file wl_window.c.

static void setXdgDecorations ( _GLFWwindow window)
static

Definition at line 665 of file wl_window.c.

static void shellSurfaceHandleConfigure ( void data,
struct wl_shell_surface *  shellSurface,
uint32_t  edges,
int32_t  width,
int32_t  height 
)
static

Definition at line 49 of file wl_window.c.

static void shellSurfaceHandlePing ( void data,
struct wl_shell_surface *  shellSurface,
uint32_t  serial 
)
static

Definition at line 42 of file wl_window.c.

static void shellSurfaceHandlePopupDone ( void data,
struct wl_shell_surface *  shellSurface 
)
static

Definition at line 97 of file wl_window.c.

static void surfaceHandleEnter ( void data,
struct wl_surface *  surface,
struct wl_output *  output 
)
static

Definition at line 422 of file wl_window.c.

static void surfaceHandleLeave ( void data,
struct wl_surface *  surface,
struct wl_output *  output 
)
static

Definition at line 442 of file wl_window.c.

static char* translateCursorShape ( int  shape)
static

Definition at line 879 of file wl_window.c.

static void unlockPointer ( _GLFWwindow window)
static

Definition at line 1444 of file wl_window.c.

static void xdgDecorationHandleConfigure ( void data,
struct zxdg_toplevel_decoration_v1 *  decoration,
uint32_t  mode 
)
static

Definition at line 324 of file wl_window.c.

static void xdgSurfaceHandleConfigure ( void data,
struct xdg_surface *  surface,
uint32_t  serial 
)
static

Definition at line 654 of file wl_window.c.

static void xdgToplevelHandleClose ( void data,
struct xdg_toplevel *  toplevel 
)
static

Definition at line 642 of file wl_window.c.

static void xdgToplevelHandleConfigure ( void data,
struct xdg_toplevel *  toplevel,
int32_t  width,
int32_t  height,
struct wl_array *  states 
)
static

Definition at line 584 of file wl_window.c.

Variable Documentation

const struct wl_data_source_listener dataSourceListener
static
Initial value:
= {
}
static void dataSourceHandleSend(void *data, struct wl_data_source *dataSource, const char *mimeType, int fd)
Definition: wl_window.c:1584
static void dataSourceHandleTarget(void *data, struct wl_data_source *dataSource, const char *mimeType)
Definition: wl_window.c:1572
static void dataSourceHandleCancelled(void *data, struct wl_data_source *dataSource)
Definition: wl_window.c:1633

Definition at line 1648 of file wl_window.c.

const struct zwp_locked_pointer_v1_listener lockedPointerListener
static
Initial value:
= {
}
static void lockedPointerHandleUnlocked(void *data, struct zwp_locked_pointer_v1 *lockedPointer)
Definition: wl_window.c:1460
static void lockedPointerHandleLocked(void *data, struct zwp_locked_pointer_v1 *lockedPointer)
Definition: wl_window.c:1439

Definition at line 1465 of file wl_window.c.

const struct zwp_relative_pointer_v1_listener relativePointerListener
static
Initial value:
= {
}
static void relativePointerHandleRelativeMotion(void *data, struct zwp_relative_pointer_v1 *pointer, uint32_t timeHi, uint32_t timeLo, wl_fixed_t dx, wl_fixed_t dy, wl_fixed_t dxUnaccel, wl_fixed_t dyUnaccel)
Definition: wl_window.c:1416

Definition at line 1435 of file wl_window.c.

const struct wl_shell_surface_listener shellSurfaceListener
static
Initial value:
= {
}
static void shellSurfaceHandlePing(void *data, struct wl_shell_surface *shellSurface, uint32_t serial)
Definition: wl_window.c:42
static void shellSurfaceHandleConfigure(void *data, struct wl_shell_surface *shellSurface, uint32_t edges, int32_t width, int32_t height)
Definition: wl_window.c:49
static void shellSurfaceHandlePopupDone(void *data, struct wl_shell_surface *shellSurface)
Definition: wl_window.c:97

Definition at line 102 of file wl_window.c.

const struct wl_surface_listener surfaceListener
static
Initial value:
= {
}
static void surfaceHandleEnter(void *data, struct wl_surface *surface, struct wl_output *output)
Definition: wl_window.c:422
static void surfaceHandleLeave(void *data, struct wl_surface *surface, struct wl_output *output)
Definition: wl_window.c:442

Definition at line 463 of file wl_window.c.

const struct zxdg_toplevel_decoration_v1_listener xdgDecorationListener
static
Initial value:
= {
}
static void xdgDecorationHandleConfigure(void *data, struct zxdg_toplevel_decoration_v1 *decoration, uint32_t mode)
Definition: wl_window.c:324

Definition at line 336 of file wl_window.c.

const struct xdg_surface_listener xdgSurfaceListener
static
Initial value:
= {
}
static void xdgSurfaceHandleConfigure(void *data, struct xdg_surface *surface, uint32_t serial)
Definition: wl_window.c:654

Definition at line 661 of file wl_window.c.

const struct xdg_toplevel_listener xdgToplevelListener
static
Initial value:
= {
}
static void xdgToplevelHandleConfigure(void *data, struct xdg_toplevel *toplevel, int32_t width, int32_t height, struct wl_array *states)
Definition: wl_window.c:584
static void xdgToplevelHandleClose(void *data, struct xdg_toplevel *toplevel)
Definition: wl_window.c:642

Definition at line 649 of file wl_window.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31