fix some includes and add copyright

This commit is contained in:
Julien Danjou 2007-12-14 16:15:40 +01:00
parent 6658994a22
commit 687b648c1b
5 changed files with 28 additions and 3 deletions

View File

@ -28,6 +28,7 @@
#include "layout.h"
#include "tag.h"
#include "rules.h"
#include "util.h"
#include "xutil.h"
#include "statusbar.h"
#include "window.h"

View File

@ -25,6 +25,7 @@
#include "screen.h"
#include "layout.h"
#include "tag.h"
#include "util.h"
#include "xutil.h"
#include "statusbar.h"
#include "layouts/floating.h"

1
uicb.c
View File

@ -20,6 +20,7 @@
*/
#include "awesome.h"
#include "util.h"
#include "xutil.h"
#include "uicb.h"
#include "screen.h"

23
xutil.c
View File

@ -1,8 +1,30 @@
/*
* xutil.c - X-related useful functions
*
* Copyright © 2007 Julien Danjou <julien@danjou.info>
*
* 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.
*
* 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.
*
* 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.
*
*/
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/extensions/Xinerama.h>
#include <sys/wait.h>
#include "util.h"
#include "xutil.h"
void
@ -92,3 +114,4 @@ xgettextprop(Display *disp, Window w, Atom atom, char *text, ssize_t textlen)
return True;
}
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99

View File

@ -1,8 +1,7 @@
/*
* xutil.c - X-related useful functions header
* xutil.h - X-related useful functions header
*
* Copyright © 2007 Julien Danjou <julien@danjou.info>
* Copyright © 2006 Pierre Habouzit <madcoder@debian.org>
*
* 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
@ -23,7 +22,7 @@
#ifndef AWESOME_XUTIL_H
#define AWESOME_XUTIL_H
#include "util.h"
#include "common.h"
Bool xgettextprop(Display *, Window, Atom, char *, ssize_t);
UICB_PROTO(uicb_spawn);