Arnaud Fontaine
193a73c5d9
draw: make xcolor_init() asynchronous.
2008-08-12 14:53:57 +02:00
Michal Nowak
5c1c038bc9
build: make xsession path configurable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 14:14:25 +02:00
Julien Danjou
fd95eea99b
build: fix desktop file install path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 13:23:10 +02:00
Julien Danjou
c2f8275bf8
client: deprecate client_get() and client_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 12:17:19 +02:00
Julien Danjou
125c259204
lua: remove spurious debug printf
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:46:45 +02:00
Julien Danjou
d2f38d4051
build: add desktop file (FS#257)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:37:04 +02:00
Julien Danjou
88f1345460
themes: default set a default wallpaper if possible
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 11:12:18 +02:00
Julien Danjou
493179d771
awesomerc: make gimp floating by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 10:54:21 +02:00
Julien Danjou
8adf417145
awful: maximize now toggles
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 10:34:49 +02:00
Kanru Chen
4ceb4e8bde
statusbar: don't refresh screen if statusbar is not assigned one.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 09:49:40 +02:00
Julien Danjou
d310605a64
clients: fix manage on restart
...
We do not manage if they _don't_ have awesome prop.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 08:47:29 +02:00
Julien Danjou
594308316a
awful: prompt history index is local to prompt
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 08:39:31 +02:00
Julien Danjou
ab66b87377
lua: fix otable __newindex
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 23:33:35 +02:00
Julien Danjou
1fbe4f0d5e
ewmh: store NET_WM icon
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 23:10:02 +02:00
Julien Danjou
f9954cd6af
awful: init index history at run
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 22:42:48 +02:00
Damien Leone
17900df7db
awful: fix index init
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 20:49:37 +02:00
Damien Leone
2e4fdbb40d
awful: fix empty command adding
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 20:39:03 +02:00
Damien Leone
df7d60faf3
awful: add prompt history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 19:47:23 +02:00
Michal Nowak
ea930d8972
build: enable distro specific doc's path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:30:21 +02:00
Julien Danjou
5758a3919a
tag: remove get and geti methods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:26:09 +02:00
Julien Danjou
bcfc3656ab
screen: export tags array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:23:47 +02:00
Julien Danjou
abd0216194
tag: allow view only if tag has a screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:23:47 +02:00
Julien Danjou
e5c38ad17f
awesomerc: support no layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:23:47 +02:00
Arnaud Fontaine
b655f6348c
xutil: rename xutil functions according to the rest of code.
2008-08-11 18:05:35 +02:00
Julien Danjou
be2bfdcfc5
screen: introduce screen objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 17:14:02 +02:00
Julien Danjou
0903e21a1a
clients: manage client with _AWESOME_PROPERTIES
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 15:10:54 +02:00
Julien Danjou
33c0d77193
xutil: allow gettextprop() to be called without text
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 15:10:24 +02:00
Julien Danjou
6e5d89e4de
Revert "client: fix windows managed on startup"
...
This reverts commit f32cba6bd8
.
2008-08-11 15:04:10 +02:00
Julien Danjou
f32cba6bd8
client: fix windows managed on startup
...
We need to not take the UNVIEWABLE, but everything else should be
managed.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 14:57:15 +02:00
Julien Danjou
b84ca43bc6
build: remove xcb-render, not used
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 14:19:38 +02:00
Julien Danjou
24fbbd9939
event: mark arrange on map
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 12:30:18 +02:00
Julien Danjou
53d60670a8
version: spell D-Bus correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 12:08:16 +02:00
Julien Danjou
8d1f20c5ad
client: implement maybevisible(), and use it for maprequest
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 11:57:57 +02:00
Julien Danjou
4b2293d43d
client: rewrite focus()
...
Hidden client are not more hiddent if focus requested (FS#245)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 11:51:54 +02:00
Julien Danjou
fb093696bb
clients: add icon_name support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 11:41:42 +02:00
Julien Danjou
32167500c6
client: add support for WM_CLIENT_MACHINE
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 11:09:44 +02:00
Julien Danjou
9f503e5a13
lua: rename luaA_function to luaA_ref
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 10:12:36 +02:00
Konstantin
0397854775
awful: add no empty show for taglist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 09:53:44 +02:00
Julien Danjou
b92a07c2ed
Revert "Alternative export method of arrays from C to Lua"
...
This reverts commit 4ab499fe26
.
Conflicts:
lua.h
2008-08-11 02:21:21 +02:00
Julien Danjou
adebbb5df2
systray: ignore XEMBED_MAPPED, everyone is not XEMBED aware
...
Like QT apps.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 20:58:03 +02:00
Julien Danjou
c4999bd59d
lua: fix __next, must return 2 values
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 17:23:08 +02:00
Michael Gehring
a921f60510
version: fix #include order
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:31:12 +02:00
Julien Danjou
a5806d5e61
lua: arrays use __next and __pairs metamethods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:19:56 +02:00
Konstantin
4ab499fe26
Alternative export method of arrays from C to Lua
...
The patch is mainly to export client_array_t object to Lua,
but can be used to export any ..._array_t object.
The idea: export to Lua not a table, but userdata with
metamethods to get/set/define length of ..._array_t object
directly.
Now when I get clients field from tag object C code
creates full copy of client_array_t structure into Lua table.
It takes traversing a whole array of data.
I did it in other way: userdata is exported, with __index,
__newindex, and __len meta-methods defined, and Lua
script gains direct access to client_array_t C-array:
it can get client object, get length of array and assign
client objects to some index in C-array.
Pros:
No overhead of creation a copy of C-structure into Lua-table:
if I want just to test a number of clients for a tag, I don't need
a whole loop to build table, I just want to read clients->len field,
and I do so via __len meta-method.
Also if I want to get some client from tags.clients, I don't need
to create ALL clients Lua-objects, I just get client_t C-struct
and create Lua-object from it. Just in place.
So Lua-loop enuming all tag.clients is not 2 loops internally
(first create copy of tag.clients into Lua-table, then enum this table),
but only one, and if I break out of loop in the middle, I create
only some client Lua-objects, not all of them from tag.clients.
Contras:
As far as clients field is not a table, I cant use pairs/ipairs
and other table functions for it.
But it can be implemented in other way:
for k,c pairs(tag.clients) => for k = 1, #tag.clients,
table.insert(tag.clients, client) => tag.clients[#tag.clients+1] = client
etc.
One more Pro now:
As far as tag.clients in current implementation returns copy of data
table.insert doesn't do what's expected: it doesn't really add client
into tag.clients "array".
With my implementation client is added as expected, as we work with
client_array_t structure directly.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:18:59 +02:00
Julien Danjou
8b5f6266da
lua: add support for __pairs and __next metamethods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:15:15 +02:00
Julien Danjou
4b452510ba
taglist: append area even if function fails
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:15:15 +02:00
Julien Danjou
415defdba5
client: allow screen change only if xinerama is active
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 10:32:59 +02:00
Fabienne Ducroquet
0348b0566e
libs: fix callback call and untab
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 08:04:09 +02:00
Konstantin
36cf917890
awful.lua - use new tags.clients to enum clients in taglist.label.all
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-09 19:48:17 +02:00
Kanru Chen
94dab79ff3
awesomerc: put systray into statusbar
...
table.insert doesn't work on statusbar.widgets because statusbar.widgets
always returns a new copy.
'condition and a or b' works like 'condition ? a : b' in C.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-09 10:00:20 +02:00