|
marco 1.29.1
Window manager
|
#include "async-getprop.h"#include <time.h>#include <sys/time.h>#include <sys/types.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <errno.h>#include <signal.h>#include <assert.h>#include <glib.h>Macros | |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | NULL ((void*) 0) |
| #define | ELAPSED(start_time, current_time) |
Functions | |
| static void | print_backtrace (void) |
| static int | x_error_handler (Display *xdisplay, XErrorEvent *error) |
| static void | error_trap_push (Display *xdisplay) |
| static void | error_trap_pop (Display *xdisplay) |
| static char * | my_strdup (const char *str) |
| static char * | atom_name (Display *display, Atom atom) |
| static Bool | try_get_reply (Display *xdisplay, AgGetPropertyTask *task) |
| static void | run_speed_comparison (Display *xdisplay, Window window) |
| int | main (int argc, char **argv) |
Variables | |
| static int | error_trap_depth = 0 |
| static struct timeval | program_start_time |
| #define ELAPSED | ( | start_time, | |
| current_time | |||
| ) |
| #define FALSE 0 |
| #define NULL ((void*) 0) |
| #define TRUE 1 |
|
static |
References error_trap_pop(), error_trap_push(), my_strdup(), and NULL.
Referenced by try_get_reply().
|
static |
References error_trap_depth.
Referenced by atom_name(), and run_speed_comparison().
|
static |
References error_trap_depth.
Referenced by atom_name(), and run_speed_comparison().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References ag_get_next_completed_task(), ag_task_create(), ELAPSED, NULL, program_start_time, run_speed_comparison(), TRUE, try_get_reply(), and x_error_handler().
|
static |
References NULL.
Referenced by atom_name().
|
static |
Referenced by x_error_handler().
|
static |
References ag_get_next_completed_task(), ag_task_create(), ag_task_get_reply_and_free(), ag_task_have_reply(), ELAPSED, error_trap_pop(), error_trap_push(), NULL, and TRUE.
Referenced by main().
|
static |
References ag_task_get_property(), ag_task_get_reply_and_free(), ag_task_get_window(), ag_task_have_reply(), atom_name(), ELAPSED, NULL, and program_start_time.
Referenced by main().
|
static |
References error_trap_depth, and print_backtrace().
Referenced by main().
|
static |
Referenced by error_trap_pop(), error_trap_push(), and x_error_handler().
|
static |
Referenced by main(), and try_get_reply().