Uli Schlachter
0c393c8f39
xwindow_set_state(): Use uint32_t instead of long
...
This function calls xcb_change_property() with format==32 which means that it is
called with a 32-bit integer. However, on 64-bit machines, sizeof(long) == 64
which means that this code did the wrong thing.
This wasn't noticed before because it only causes a real difference on
big-endian machines.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-06-16 18:16:42 +02:00
Uli Schlachter
470c2e20d0
Update the tasklist when a client's icon changes
...
Thanks to a pidgin-using friend for reporting this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:06:02 +02:00
Uli Schlachter
0e869b7b15
Remove invalid variable usage
...
There is no variable called "startup" in awful.rules.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:04:38 +02:00
Uli Schlachter
e291c03982
Handle _NET_WM_DESKTOP more intelligently
...
This makes sure that an invalid value for this property doesn't cause the client
to have no tag at all. This should be especially useful when one uses dynamic
tags and restarts awesome which causes less tags to exist than before.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:04:38 +02:00
Uli Schlachter
65dfdf01ce
Remove _NET_WM_DESKTOP when client got no tags
...
EWMH says that "Window Managers MUST keep this property updated on all windows",
but doesn't say anything about clients which got no desktop at all. Removing the
property seems to be the best we could do.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:04:38 +02:00
Julien Danjou
688b9f7af0
Fix mouse::leave signal emit on widgets (FS#774)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-09 16:09:41 +02:00
Gregor Best
6e6a07b660
dbus: fix compiling error
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-06 14:32:54 +02:00
Julien Danjou
bd30468d7a
dbus: only warn, dot not raises an error (FS#713)
...
This is not user-called error, so it's a really bad idea to raise an Lua
error here.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-06 10:46:01 +02:00
Julien Danjou
e0c259406e
naughty: return nothing, not nil
...
This is not a valid return value for a D-Bus method.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-06 10:39:16 +02:00
Julien Danjou
e4c8c11564
Fix missing tostring
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-01 11:43:45 +02:00
Perry Hargrave
6cb61939c4
tag.lua: check name argument to add() is valid
...
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-01 10:31:24 +02:00
Uli Schlachter
1615cff82a
Tasklist: Add some missing parentheses
...
"a .. b or c" is equivalent to "(a .. b) or c", but we want "a .. (b or c)".
This bug caused an "attempted to concatenate a nil value" error message.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-30 18:53:04 +02:00
Perry Hargrave
2f3f84c994
tag.lua: add() create tags with full table of properties
...
tag.add(name, props):
make tags and pass a table of properties to apply to it
tag.new:
modified to use add() instead of calling capi.tag
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:22:27 +02:00
Perry Hargrave
77e39a5f07
tag.lua: getidx() returns index of tag
...
tag.getidx(t):
Return the index of 't' in the screen[]:tags() table. Return 'nil'
if 't' is not found.
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:07:25 +02:00
Perry Hargrave
7b60f84fd0
tag.lua: move() re-index tags
...
tag.move(i, t):
move tag 't', or tag.selected(), to index 'i' in the current
screen's tags table.
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:05:36 +02:00
Gregor Best
f890aa392c
layouts/tile: completely fix client borders
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 10:53:47 +02:00
Gregor Best
752f0225d2
layouts: let client sizing honor the border width
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 20:39:56 +02:00
Julien Danjou
61430f860d
ewmh: use client signals to update NET_ACTIVE_WINDOW
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:36:35 +02:00
Julien Danjou
f4876b5275
ewmh: use signals to update client hints
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:34 +02:00
Julien Danjou
38edc58097
client: implements maximized and fullscreen requests with Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:29 +02:00
Julien Danjou
434a6e5275
ewmh: remove useless update_hints calls
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:22 +02:00
Julien Danjou
abd73e4f08
stack: stack_client_* calls stack_windows()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:16 +02:00
Julien Danjou
4ef5e816ec
client: remove internal geometry
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:11 +02:00
Julien Danjou
c94f7b6767
window: import border_width property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:06 +02:00
Julien Danjou
4f6667b56f
property: remove unknown code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:59 +02:00
Julien Danjou
a20400d60f
client: move stack code into stack
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:49 +02:00
Julien Danjou
9ce234a533
awful.widget.tasklist: use symbols chars rather than images
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:43 +02:00
Julien Danjou
ad23a4ca64
fix tag header and order build
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:25 +02:00
Julien Danjou
5359e738e8
key: split resolving in keyresolv
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:20 +02:00
Julien Danjou
2b5bb2c34c
window: add border_color property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:15 +02:00
Julien Danjou
cdd888d6cf
xwindow: add xwindow_set_border_color helper function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:10 +02:00
Julien Danjou
d3c277b8ab
window: add buttons support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:05 +02:00
Julien Danjou
af654a75d2
xwindow: ungrab before grabbing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:00 +02:00
Julien Danjou
62f0e62d5e
wibox: don't listen for every button press/release
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:27:56 +02:00
Julien Danjou
f7746a198c
luaclass: take care of inheritance garbage collection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:27:49 +02:00
Julien Danjou
92717a0849
window: add strut support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:27:45 +02:00
Julien Danjou
220d072164
window: import class
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:27:42 +02:00
Julien Danjou
fccc451f89
luaclass: add inheritance support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:27:04 +02:00
Julien Danjou
9393b2d111
screen: add index by output name (FS#361)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:26:23 +02:00
Julien Danjou
c08b90345f
screen: export RandR information
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:26:20 +02:00
Julien Danjou
8c87b7cb57
screen: store RandR information
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:26:17 +02:00
Julien Danjou
6a1ce5ce05
Store widgets references as wibox items
...
This will store the widgets references that the wibox have inside their
environment table, and not in the global registry, avoiding memory leaks.
This should fix FS#771.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:23:57 +02:00
Renato Botelho
b473a6fe66
Do not install txt manpages files
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-20 19:58:17 +02:00
fabschub
5b8ad722a1
awsetbg was missing break
...
Signed-off-by: fabschub <fabschub@gmx.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-17 15:57:21 +02:00
Julien Danjou
7d1fb8bcf5
Fix awesome-client parameters
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-11 10:01:28 +02:00
Christian Kuka
2870289359
German translation of manpages
...
Signed-off-by: Christian Kuka <christian@kuka.cc>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 11:14:49 +02:00
Uli Schlachter
2b98f82588
awful.menu.clients: Raise the newly focused client
...
Raising it makes it more obvious that the focus was really changed and makes
working with the client easier since it's, well, raised.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 11:03:54 +02:00
Andrei 'Garoth' Thorp
b43da6611d
docs: progressbar.lua.in missing a dash to prevent luadoc generation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 11:02:20 +02:00
Uli Schlachter
4e92699cb0
Check for xwininfo before using it
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 10:59:43 +02:00
Uli Schlachter
6cb7d27860
Update API docs for recent change to spawn
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 10:14:54 +02:00