README: Update
This commit is contained in:
parent
d5038a5b0b
commit
e4470bc88c
11
README
11
README
@ -2,18 +2,16 @@ ABOUT :
|
||||
WMFS Window Manager.
|
||||
* Window Manager From Scratch
|
||||
|
||||
A small Window Manager created from /dev/null. (;-))
|
||||
A small Window Manager created from scratch
|
||||
|
||||
AUTHORS :
|
||||
* Code : Martin Duquesnoy <xorg62@gmail.com>
|
||||
* Build System & other : Marc Lagrange <markocpc@gmail.com>
|
||||
Martin Duquesnoy <xorg62@gmail.com>
|
||||
|
||||
LICENSE : BSD
|
||||
|
||||
REQUIREMENT :
|
||||
· libconfuse
|
||||
· freetype2
|
||||
· xpm
|
||||
· xft
|
||||
· libx11
|
||||
· CMake >= 2.6
|
||||
@ -28,12 +26,9 @@ INSTALL :
|
||||
· cmake ..
|
||||
· make
|
||||
· sudo make install
|
||||
· sudo make uninstall if you would to remove it.
|
||||
|
||||
By default, wmfs logos are'nt installed. You can install it with : cmake -DWITH_LOGOS=ON ..
|
||||
· sudo make uninstall # if you would to remove it.
|
||||
|
||||
If you have doxygen installed you can generate doxygen documentation via custom target 'make doc' in the build dir.
|
||||
|
||||
DISTROS :
|
||||
· wmfs ebuild for Gentoo is available in the Sangor's overlay. More infos at http://wmfs.sangor.net/view/download/
|
||||
· wmfs port for FreeBSD at x11-wm/wmfs
|
||||
|
||||
17
src/layout.c
17
src/layout.c
@ -172,6 +172,8 @@ void
|
||||
uicb_set_mwfact(uicb_t cmd)
|
||||
{
|
||||
double c;
|
||||
char infostr[20] = { 0 };
|
||||
BarWindow *infowin;
|
||||
|
||||
screen_get_sel();
|
||||
|
||||
@ -184,6 +186,21 @@ uicb_set_mwfact(uicb_t cmd)
|
||||
tags[selscreen][seltag[selscreen]].mwfact += c;
|
||||
tags[selscreen][seltag[selscreen]].layout.func(selscreen);
|
||||
|
||||
sprintf(infostr, "Mwfact: %.3lf", tags[selscreen][seltag[selscreen]].mwfact);
|
||||
|
||||
infowin = barwin_create(ROOT,
|
||||
spgeo[selscreen].x + (spgeo[selscreen].width / 2) - (textw(infostr) / 2),
|
||||
spgeo[selscreen].y + (spgeo[selscreen].height / 2) - (INFOBARH / 2),
|
||||
textw(infostr) + PAD,
|
||||
|
||||
INFOBARH, conf.colors.bar, conf.colors.text, False, False, False);
|
||||
|
||||
barwin_map(infowin);
|
||||
barwin_refresh_color(infowin);
|
||||
barwin_draw_text(infowin, PAD / 2, font->height, infostr);
|
||||
usleep(50000);
|
||||
// barwin_delete(infowin);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user