marco 1.29.1
Window manager
Loading...
Searching...
No Matches
async-getprop.h File Reference
View source
#include <X11/Xlib.h>
#include <X11/Xutil.h>
Include dependency graph for async-getprop.h:
This graph shows which files directly or indirectly include this file:

Typedefs

typedef struct _AgGetPropertyTask AgGetPropertyTask
 

Functions

AgGetPropertyTask * ag_task_create (Display *display, Window window, Atom property, long offset, long length, Bool delete, Atom req_type)
 
Status ag_task_get_reply_and_free (AgGetPropertyTask *task, Atom *actual_type, int *actual_format, unsigned long *nitems, unsigned long *bytesafter, unsigned char **prop)
 
Bool ag_task_have_reply (AgGetPropertyTask *task)
 
Atom ag_task_get_property (AgGetPropertyTask *task)
 
Window ag_task_get_window (AgGetPropertyTask *task)
 
Display * ag_task_get_display (AgGetPropertyTask *task)
 
AgGetPropertyTask * ag_get_next_completed_task (Display *display)
 
void * ag_Xmalloc (unsigned long bytes)
 
void * ag_Xmalloc0 (unsigned long bytes)
 

Typedef Documentation

◆ AgGetPropertyTask

Function Documentation

◆ ag_get_next_completed_task()

AgGetPropertyTask * ag_get_next_completed_task ( Display *  display)

References _AgPerDisplayData::completed_tasks, get_display_data(), _AgPerDisplayData::n_tasks_completed, _AgPerDisplayData::n_tasks_pending, and NULL.

Referenced by main(), meta_prop_get_values(), and run_speed_comparison().

Here is the call graph for this function:

◆ ag_task_create()

AgGetPropertyTask * ag_task_create ( Display *  display,
Window  window,
Atom  property,
long  offset,
long  length,
Bool  delete,
Atom  req_type 
)

◆ ag_task_get_display()

Display * ag_task_get_display ( AgGetPropertyTask *  task)

◆ ag_task_get_property()

Atom ag_task_get_property ( AgGetPropertyTask *  task)

References _AgGetPropertyTask::property.

Referenced by try_get_reply().

◆ ag_task_get_reply_and_free()

Status ag_task_get_reply_and_free ( AgGetPropertyTask *  task,
Atom *  actual_type,
int *  actual_format,
unsigned long *  nitems,
unsigned long *  bytesafter,
unsigned char **  prop 
)

◆ ag_task_get_window()

Window ag_task_get_window ( AgGetPropertyTask *  task)

References _AgGetPropertyTask::window.

Referenced by try_get_reply().

◆ ag_task_have_reply()

Bool ag_task_have_reply ( AgGetPropertyTask *  task)

◆ ag_Xmalloc()

void * ag_Xmalloc ( unsigned long  bytes)

◆ ag_Xmalloc0()

void * ag_Xmalloc0 ( unsigned long  bytes)

Referenced by wm_hints_from_results().