wibox: wibox_refresh merge statusbar and titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
14c5644fbf
commit
f4648c2e26
6
event.h
6
event.h
|
@ -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
2
luaa.c
|
@ -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
11
wibox.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue