00001
#ifndef _MBUTIL_H_
00002
#define _MBUTIL_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
#include <stdio.h>
00024
#include <unistd.h>
00025
#include <stdlib.h>
00026
#include <string.h>
00027
#include <sys/types.h>
00028
#include <sys/stat.h>
00029
#include <dirent.h>
00030
#include <signal.h>
00031
#include <errno.h>
00032
#include <sys/wait.h>
00033
00034
#include <X11/Xlib.h>
00035
#include <X11/Xutil.h>
00036
#include <X11/Xatom.h>
00037
00038
#include "libmb/mbconfig.h"
00039
00053
int mb_exec (
const char *cmd);
00054
00062 Window
mb_single_instance_get_window(Display *dpy,
const char *bin_name);
00063
00071 Bool
mb_single_instance_is_starting(Display *dpy,
const char *bin_name);
00072
00079
void mb_util_window_activate(Display *dpy, Window win);
00080
00087 Pixmap
mb_util_get_root_pixmap(Display *dpy);
00088
00096
char *
mb_util_get_theme_full_path(
const char *theme_name);
00097
00099
void
00100
mb_util_animate_startup(Display *dpy,
00101
int x,
00102
int y,
00103
int width,
00104
int height);
00105
00106
00109
#endif