Back to index

bamf  0.2.120
bamf-xutils.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2012 Canonical Ltd
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00015  *
00016  * Authored by: Jason Smith <jason.smith@canonical.com>
00017  *              Marco Trevisan (TreviƱo) <3v1n0@ubuntu.com>
00018  */
00019 
00020 
00021 #ifndef __BAMF_XUTILS_H__
00022 #define __BAMF_XUTILS_H__
00023 
00024 #include <glib.h>
00025 #include <X11/Xatom.h>
00026 #include <X11/Xlib.h>
00027 #include <gdk/gdkx.h>
00028 
00029 void  bamf_xutils_set_window_hint (Window xid, const char *atom_name, Atom type, const char *data);
00030 char* bamf_xutils_get_window_hint (Window xid, const char *atom_name, Atom type);
00031 
00032 void  bamf_xutils_get_window_class_hints (Window xid, char **class_instance_name, char **class_name);
00033 
00034 #endif