Commit graph

2721 commits

Author SHA1 Message Date
Julien Danjou
d9fa6d65c8 titlebar: merge colors_set() into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:33:09 +02:00
Julien Danjou
33a8c1acb7 statusbar: merge border_set() into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:28:17 +02:00
Julien Danjou
1097f506d3 titlebar: add index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 18:19:33 +02:00
Julien Danjou
885ea9cb89 build: rework makefile
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 17:07:51 +02:00
Julien Danjou
3750b08248 statusbar: merge position_{set,get} into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 17:00:31 +02:00
Julien Danjou
06b490d319 statusbar: widget_get() returns a dict
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:53:20 +02:00
Julien Danjou
bdd6b078f2 titlebar: ref widget on get()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:53:00 +02:00
Julien Danjou
49f823dcb6 statusbar: merge colors_set() into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:50:03 +02:00
Julien Danjou
a816ce0440 util: position_tostr() return const
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:33:24 +02:00
Julien Danjou
99fe611d31 statusbar: introduce index, use it for align_set
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:31:22 +02:00
Julien Danjou
48111308a0 draw: add draw_align_tostr()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:29:50 +02:00
Julien Danjou
677d815a03 widget: move name into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 16:18:32 +02:00
Julien Danjou
5bb431fc4a widgets: don't tokenize twice
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 15:27:41 +02:00
Julien Danjou
b72d5c7951 widget: visible is now part of index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 15:20:42 +02:00
Julien Danjou
4ddf692ee4 tag: layout use index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 15:06:20 +02:00
Julien Danjou
4e2e8a3653 draw: len is mandatory
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 15:05:00 +02:00
Julien Danjou
7fa9c39a6b awful: fix UTF-8 char in prompt
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:48:48 +02:00
Julien Danjou
9b74cdbc0a draw: iso2utf now gets len as arg
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:44:19 +02:00
Julien Danjou
282dc95042 tag: use index for name
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:31:47 +02:00
Julien Danjou
e012a4ba49 tag: use index for ncol
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:23:06 +02:00
Julien Danjou
d328904d30 tag: use index for nmaster
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:17:07 +02:00
Julien Danjou
ef7379c983 tag: remove mwfact_{get,set}, use {new,}index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 13:59:40 +02:00
Julien Danjou
f750124d5c tag: add {new,}index, use it for selected
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 11:38:40 +02:00
Julien Danjou
0d7b5a7c07 awfuL; give focus to sel on screen change
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 09:34:39 +02:00
Julien Danjou
a4e12b1ce0 mouse: fix args for mouse.coords_set()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 09:27:34 +02:00
Julien Danjou
eae75c8cef build: fix mode
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 09:17:22 +02:00
Julien Danjou
84373e6513 build: add a Makefile to run cmake automagically
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 08:25:40 +02:00
Pierre Habouzit
1bdf22f631 Add stricter warnings wrt prototypes.
And add the missing static's it found.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 08:12:22 +02:00
Pierre Habouzit
5798ef0594 Hide keybidings_t away, subsequent simplifications 2/2
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 08:12:22 +02:00
Pierre Habouzit
3a7dd8c715 Hide keybindings away 1/2
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 08:12:22 +02:00
Pierre Habouzit
6c877c5905 update ignore list
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 21:59:21 +02:00
Julien Danjou
fc000acc8e xembed: remove useless comments
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 20:15:46 +02:00
Julien Danjou
db49685413 atoms: autogenerate atom list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 20:05:53 +02:00
Byron Clark
1e4641389c progressbar: fix newindex
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 19:30:09 +02:00
Julien Danjou
b584b19104 atoms: add all used atoms
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 18:55:14 +02:00
Julien Danjou
5daa38ac2d atom: new atom infra
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 18:25:01 +02:00
Julien Danjou
15111d8584 progressbar: use newindex API
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 17:42:36 +02:00
Julien Danjou
45b0a2df80 lua: replace .new() by __call meth
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 14:11:54 +02:00
Julien Danjou
f2d2a10d9b lua: remove luaA_name_init
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 13:50:49 +02:00
Julien Danjou
14061b4e7a systray: move KDE handling into client_manage()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 13:09:24 +02:00
Julien Danjou
207f06d720 systray: add KDE work around
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 13:06:23 +02:00
TANABE Ken-ichi
0e42c66d49 Fix missing index in tag manipulation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 09:51:37 +02:00
Pierre Habouzit
f96c5c6259 Simplify keygrabber.
* Use __utf8_mark to lookup the final patch for utf8 codepoints.
* Use __utf32_clz_to_len to compute the number of octets needed to encode
  a given Unicode codepoint in utf8, rather than inefficient ifs.
* Use static buffers (libc provides MB_LEN_MAX for the matter, and we know
  the special keys names won't be longer than 32, so avoid silly p_new's).
* Rework APIs to work with those static buffers, and return a boolean to
  tell if conversion worked.
* Factorize ksym XK_* to string conversion using ad-hoc macros.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-30 00:47:11 +02:00
Julien Danjou
ba63e7e784 systray: do not manage windows twice
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-29 13:38:39 +02:00
Julien Danjou
2b8b9fc08f titlebar: fix index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-29 13:01:23 +02:00
Julien Danjou
3ebca2181c draw: really copy colors
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-29 12:14:09 +02:00
Pierre Habouzit
b63f768f00 MIN/MAX multi-evaluate their arguments.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-29 11:28:10 +02:00
Julien Danjou
912b9cd28a graph: add bg and border color on __index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-28 13:31:33 +02:00
Julien Danjou
35e948f53b draw: xcolor_t store color name
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-28 13:30:17 +02:00
Julien Danjou
823ed27b82 graph: use newindex API
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-28 13:02:42 +02:00