wibox: wibox_refresh merge statusbar and titlebar

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-21 11:47:29 +02:00
parent 14c5644fbf
commit f4648c2e26
4 changed files with 17 additions and 4 deletions

View File

@ -24,16 +24,14 @@
#include <xcb/xcb.h>
#include "statusbar.h"
#include "titlebar.h"
#include "wibox.h"
#include "layout.h"
static inline int
awesome_refresh(xcb_connection_t *c)
{
layout_refresh();
statusbar_refresh();
titlebar_refresh();
wibox_refresh();
return xcb_flush(c);
}

2
luaa.c
View File

@ -46,6 +46,8 @@
#include "client.h"
#include "screen.h"
#include "event.h"
#include "statusbar.h"
#include "titlebar.h"
#include "mouse.h"
#include "layouts/tile.h"
#include "common/socket.h"

11
wibox.c
View File

@ -19,4 +19,15 @@
*
*/
#include "wibox.h"
#include "statusbar.h"
#include "titlebar.h"
void
wibox_refresh(void)
{
statusbar_refresh();
titlebar_refresh();
}
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80

View File

@ -28,6 +28,8 @@
#include "common/refcount.h"
#include "common/array.h"
void wibox_refresh(void);
static inline void
wibox_delete(wibox_t **wibox)
{