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
|
|
|
*
|
2009-09-14 20:31:27 +02:00
|
|
|
* Copyright © 2007-2009 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
|
|
|
|
2009-09-14 20:22:12 +02:00
|
|
|
#include "objects/client.h"
|
2008-08-26 19:35:37 +02:00
|
|
|
|
2010-10-15 18:48:07 +02:00
|
|
|
/* luaa.c */
|
|
|
|
void luaA_emit_refresh(void);
|
|
|
|
|
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
|
|
|
{
|
2010-10-15 18:48:07 +02:00
|
|
|
luaA_emit_refresh();
|
2009-09-27 09:22:03 +02:00
|
|
|
banning_refresh();
|
2009-10-05 20:36:02 +02:00
|
|
|
stack_refresh();
|
2010-10-10 14:50:35 +02:00
|
|
|
client_focus_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
|
2011-09-11 16:50:01 +02:00
|
|
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|