2007-10-03 17:26:14 +02:00
|
|
|
/*
|
2007-09-12 14:29:51 +02:00
|
|
|
* event.h - event handlers header
|
2007-10-03 17:26:14 +02:00
|
|
|
*
|
2008-01-02 16:59:43 +01:00
|
|
|
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
|
2007-10-03 17:26:14 +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.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
2007-09-12 14:29:51 +02:00
|
|
|
*/
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2007-09-10 16:11:57 +02:00
|
|
|
#ifndef AWESOME_EVENT_H
|
|
|
|
#define AWESOME_EVENT_H
|
2007-09-05 20:15:00 +02:00
|
|
|
|
2008-09-21 11:47:29 +02:00
|
|
|
#include "wibox.h"
|
2009-05-10 16:51:20 +02:00
|
|
|
#include "banning.h"
|
2009-04-10 18:15:48 +02:00
|
|
|
#include "client.h"
|
2008-08-26 19:35:37 +02:00
|
|
|
|
|
|
|
static inline int
|
2009-04-10 17:39:11 +02:00
|
|
|
awesome_refresh(void)
|
2008-08-26 19:35:37 +02:00
|
|
|
{
|
2009-05-10 16:51:20 +02:00
|
|
|
banning_refresh();
|
2008-09-21 11:47:29 +02:00
|
|
|
wibox_refresh();
|
2009-04-10 18:15:48 +02:00
|
|
|
client_stack_refresh();
|
2009-04-10 17:39:11 +02:00
|
|
|
return xcb_flush(globalconf.connection);
|
2008-08-26 19:35:37 +02:00
|
|
|
}
|
|
|
|
|
2008-06-26 22:42:58 +02:00
|
|
|
void a_xcb_set_event_handlers(void);
|
2007-09-07 12:29:54 +02:00
|
|
|
|
2007-09-05 20:15:00 +02:00
|
|
|
#endif
|
2007-12-18 09:24:15 +01:00
|
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|