27 #include <sys/types.h>
37 #include <X11/Xutil.h>
38 #include <X11/Xatom.h>
40 #include "libmb/mbconfig.h"
122 mb_util_frame_animation(Display *dpy,
126 mb_util_circle_animation(Display *dpy,
130 mb_util_xor_animation (Display *dpy,
char * mb_util_get_theme_full_path(const char *theme_name)
Get a full theme path from its name.
void mb_util_animate_startup(Display *dpy, int x, int y, int width, int height)
XXX To document XXX.
Pixmap mb_util_get_root_pixmap(Display *dpy)
Get root pixmap if set.
void mb_util_window_activate(Display *dpy, Window win)
Raise/Activate an existing window.
char * mb_util_get_homedir(void)
Safely returns the current HOME directory or /tmp if not set.
int mb_exec(const char *cmd)
Exec a command similar to how a shell would, mainly passing quotes.
Bool mb_single_instance_is_starting(Display *dpy, const char *bin_name)
Test to see if an app is in 'startup' phase.
Window mb_single_instance_get_window(Display *dpy, const char *bin_name)
Get window ID of app with specified binary name.