Move CLEANMASK to xutil.h, remove useless #Includes

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
Pierre Habouzit 2008-06-26 22:38:46 +02:00 committed by Julien Danjou
parent fc509e4d16
commit cde80ab49a
7 changed files with 2 additions and 7 deletions

View file

@ -34,6 +34,8 @@
#include "common/list.h" #include "common/list.h"
#define CLEANMASK(mask) (mask & ~(globalconf.numlockmask | XCB_MOD_MASK_LOCK))
/* See http://tronche.com/gui/x/xlib/appendix/b/ for values */ /* See http://tronche.com/gui/x/xlib/appendix/b/ for values */
#define CURSOR_FLEUR 52 #define CURSOR_FLEUR 52
#define CURSOR_LEFT_PTR 68 #define CURSOR_LEFT_PTR 68

View file

@ -25,8 +25,6 @@
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include <xcb/randr.h> #include <xcb/randr.h>
#define CLEANMASK(mask) (mask & ~(globalconf.numlockmask | XCB_MOD_MASK_LOCK))
int event_handle_buttonpress(void *, xcb_connection_t *, xcb_button_press_event_t *); int event_handle_buttonpress(void *, xcb_connection_t *, xcb_button_press_event_t *);
int event_handle_configurerequest(void *, xcb_connection_t *, xcb_configure_request_event_t *); int event_handle_configurerequest(void *, xcb_connection_t *, xcb_configure_request_event_t *);
int event_handle_configurenotify(void *, xcb_connection_t *, xcb_configure_notify_event_t *); int event_handle_configurenotify(void *, xcb_connection_t *, xcb_configure_notify_event_t *);

View file

@ -24,7 +24,6 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include "keybinding.h" #include "keybinding.h"
#include "event.h"
#include "window.h" #include "window.h"
extern awesome_t globalconf; extern awesome_t globalconf;

View file

@ -22,7 +22,6 @@
#include <unistd.h> #include <unistd.h>
#include "keygrabber.h" #include "keygrabber.h"
#include "event.h"
#include "structs.h" #include "structs.h"
extern awesome_t globalconf; extern awesome_t globalconf;

View file

@ -26,7 +26,6 @@
#include "widget.h" #include "widget.h"
#include "titlebar.h" #include "titlebar.h"
#include "event.h"
extern awesome_t globalconf; extern awesome_t globalconf;

View file

@ -23,7 +23,6 @@
#include "widget.h" #include "widget.h"
#include "tag.h" #include "tag.h"
#include "lua.h" #include "lua.h"
#include "event.h"
#include "common/markup.h" #include "common/markup.h"
#include "common/tokenize.h" #include "common/tokenize.h"

View file

@ -22,7 +22,6 @@
#include "widget.h" #include "widget.h"
#include "client.h" #include "client.h"
#include "focus.h" #include "focus.h"
#include "event.h"
#include "ewmh.h" #include "ewmh.h"
#include "tag.h" #include "tag.h"
#include "common/markup.h" #include "common/markup.h"