2007-09-12 14:29:51 +02:00
|
|
|
/*
|
|
|
|
* awesome.h - awesome main header
|
2007-09-05 20:15:00 +02:00
|
|
|
*
|
2007-09-12 14:29:51 +02:00
|
|
|
* Copyright © 2007 Julien Danjou <julien@danjou.info>
|
2007-09-05 20:15:00 +02:00
|
|
|
*
|
2007-09-12 14:29:51 +02:00
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2007-09-05 20:15:00 +02:00
|
|
|
*
|
2007-09-12 14:29:51 +02:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2007-09-05 20:15:00 +02:00
|
|
|
*
|
2007-09-12 14:29:51 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2007-09-05 20:15:00 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-09-10 16:11:57 +02:00
|
|
|
#ifndef AWESOME_AWESOME_H
|
|
|
|
#define AWESOME_AWESOME_H
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
enum
|
|
|
|
{ CurNormal, CurResize, CurMove, CurLast }; /* cursor */
|
|
|
|
|
|
|
|
Bool gettextprop(Display *, Window, Atom, char *, unsigned int); /* return text property, UTF-8 compliant */
|
2007-09-07 16:35:46 +02:00
|
|
|
void updatebarpos(Display *, Statusbar); /* updates the bar position */
|
2007-09-10 12:06:54 +02:00
|
|
|
void uicb_quit(Display *, awesome_config *, const char *); /* quit awesome nicely */
|
|
|
|
int xerror(Display *, XErrorEvent *); /* awesome's X error handler */
|
2007-09-12 16:03:42 +02:00
|
|
|
int get_windows_area_x(Statusbar);
|
|
|
|
int get_windows_area_y(Statusbar);
|
|
|
|
int get_windows_area_height(Display *, Statusbar);
|
|
|
|
int get_windows_area_width(Display *, Statusbar);
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
#endif
|