libwm

library for X windows manipulations
git clone git://z3bra.org/libwm
Log | Files | Refs | LICENSE

commit 8af38ef59496889dc2bbbc7d43ebc888a055465b
parent 15d174927a115d9ce34b50c5cf9025cdc12f5cc4
Author: zebra v3.1 <z3bratabs@users.noreply.github.com>
Date:   Thu,  6 Oct 2016 13:29:54 +0200

Merge pull request #4 from Ferdi265/vanilla

README: Revise spelling and update list of functions
Diffstat:
README.md | 12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -4,7 +4,7 @@ A small library for X window manipulation ## documentation -Here is the full list of all the function you can use from `libwm`: +Here is the full list of all the functions provided by `libwm`: wm_init_xcb(); wm_kill_xcb(); @@ -12,9 +12,10 @@ Here is the full list of all the function you can use from `libwm`: wm_is_ignored(wid); wm_is_listable(wid, mask); wm_is_mapped(wid); - wm_get_focus(); + wm_get_atom_string(wid, atom, **value); wm_get_screen(); wm_get_windows(wid, **list); + wm_get_focus(); wm_get_attribute(wid, attr); wm_get_cursor(mode, wid, *x, *y); wm_set_border(width, color, wid); @@ -26,6 +27,7 @@ Here is the full list of all the function you can use from `libwm`: wm_remap(wid, mode); wm_resize(wid, mode, w, h); wm_restack(wid, mode); + wm_reg_event(wid, mask); Their usage is specified in the `wm.h` header file, as it is quite small for now. @@ -33,13 +35,13 @@ now. ## installation `libwm` provides two files: libwm.a and wm.h. -You can build/install them as follow: +You can build/install them as follows: $ make # make install The makefile supports 2 macros: DESTDIR and PREFIX. -Then to link your program against it, compile it as follow: +To link your program against it, compile it as follows: - cc pgm.c -lwm -o pgm + $ cc pgm.c -lwm -o pgm