Julien Danjou
7b04d8ef6f
screen: add signals support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
fc035005ba
client: emit signal on list changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
b58d0f848a
client: emit signal on unmanage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
7954f19417
client: emit signal on manage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
dc61d258f0
luaclass: optimize type handling
...
We use lua_class_t pointer as key in the registry to store metatable we
will compare.
lauxlib uses a string, which sucks, because it forces to do a
pushliteral() each time you want to get a metatable from the registry,
which is slower.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
2f93980ff8
awful.widget.common: fix buttons
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
99b75bf486
tag: port to new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
9c40168f02
widget: emit signals on mouse enter and leave
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
59c991ace0
widget: port to new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
5dbae0e34f
luaobject: remove prefix##_push_item()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
1cc50b8a29
luaobject: remove useless custom function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
27fd05320e
button: use new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
4871dbb1aa
button, key: emit events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
04e55739fe
key: port to new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
6cfaafbab3
luaclass: remove useless property name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-20 16:46:33 +02:00
Julien Danjou
946231ce74
textbox: ignore border_width of the wibox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-20 10:42:47 +02:00
Julien Danjou
c353970500
client: emit signal on unfocus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-20 10:39:18 +02:00
Fabienne Ducroquet
391e3ea954
layout: spiral: remove useless local variables
...
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:58 +02:00
Fabienne Ducroquet
7ae072b791
layout: spiral: test spiral rather than dwindle
...
Since all the tests are now "not dwindle".
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet
d716476872
layout: spiral: refactoring
...
Look at the problem as "in which cases do we add or remove nw or nh?"
rather than "what do we do when k = ...?".
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet
034a93d691
layout: spiral: remove size check
...
This is already done by the C code.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:56 +02:00
Fabienne Ducroquet
46f5476e20
layout: spiral: remove the variable i
...
We have i == k - 1 and k is unused.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:54 +02:00
Julien Danjou
98953ed6f1
ewmh: fix bug with recent xcb-proto
...
The len is the real len is byte, not the number of elements.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 16:46:22 +02:00
Julien Danjou
cb2cad6b09
client: emit class signal on focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 16:05:59 +02:00
Julien Danjou
ee1a3f24d7
awesomerc: remove marking stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-18 16:29:37 +02:00
Julien Danjou
07ac920b1c
timer: export started status to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 21:55:43 +02:00
Julien Danjou
bbb61d027a
awful.hooks: derepcate timer hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:10 +02:00
Julien Danjou
f554060ffe
telak: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:07 +02:00
Julien Danjou
e899ca7696
naughty: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:04 +02:00
Julien Danjou
1c8be5b620
invaders: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:59 +02:00
Julien Danjou
92ad2f645f
awesomerc: use textclock widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:46 +02:00
Julien Danjou
8de5075412
awful.widget.textclock: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:38 +02:00
Julien Danjou
432f4229be
timer: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:06 +02:00
Julien Danjou
84182466e0
spawn: move sn hooks to signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:47:55 +02:00
Julien Danjou
ada6056c89
color: do not take pointer to push
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:46:35 +02:00
Julien Danjou
45702de158
luaclass: add support for new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:45:17 +02:00
Julien Danjou
1300b16c1e
luaclass: add generic {new,}index meta methods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:45:14 +02:00
Julien Danjou
537506a0c1
luaclass: add property array handling in classes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:45:10 +02:00
Julien Danjou
4ff51d5189
awesomerc: remove marking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:37:38 +02:00
Julien Danjou
c505f2d2e7
dbus: remove useless require hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 15:37:29 +02:00
Julien Danjou
e104bae294
Revert "button, key: grab all keys by default, and check for match."
...
This reverts commit f6d2aa3064
.
Conflicts:
key.c
2009-08-14 17:52:49 +02:00
Julien Danjou
073e0377dd
Revert "key, button: use as simple table"
...
This reverts commit d7454f4307
.
Conflicts:
button.h
key.h
lib/awful/titlebar.lua.in
lib/naughty.lua.in
wibox.c
wibox.h
widget.c
2009-08-14 16:48:52 +02:00
Julien Danjou
0cc5d85111
lualib: fix error_func_pos computing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-14 14:36:56 +02:00
Julien Danjou
a2623225c1
lualib: fix error function removal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-12 18:57:56 +02:00
Julien Danjou
d531519a9f
lualib: print backtrace on function error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-11 17:21:14 +02:00
Julien Danjou
32e61fccd0
awful.mouse: remove useless hooks requirement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-11 11:09:44 +02:00
Julien Danjou
599f135e9b
tabulous: remove
...
This module is not maintained, so removing.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-11 10:49:15 +02:00
Julien Danjou
202b7b3c1a
screen: untag, even if it's sticky
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-10 17:18:29 +02:00
Julien Danjou
71f24097c0
client: store _NET_WM_OPACITY
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-10 11:59:17 +02:00
Julien Danjou
ab361ffe85
client: store WM_WINDOW_ROLE
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-10 11:53:45 +02:00