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
|
|
|
|
2010-05-21 21:18:12 +02:00
|
|
|
#include "systray.h"
|
2008-09-21 11:47:29 +02:00
|
|
|
#include "wibox.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-09-27 09:22:03 +02:00
|
|
|
banning_refresh();
|
2008-09-21 11:47:29 +02:00
|
|
|
wibox_refresh();
|
2010-05-21 21:18:12 +02:00
|
|
|
systray_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
|
|
|
}
|
|
|
|
|
2010-08-08 17:35:48 +02:00
|
|
|
void event_handle(xcb_generic_event_t *event);
|
2007-09-07 12:29:54 +02:00
|
|
|
|
2007-09-05 20:15:00 +02:00
|
|
|
#endif
|
2012-03-25 17:41:12 +02:00
|
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|