Commit Graph

6512 Commits

Author SHA1 Message Date
Ali Polatel 238dc06ae4 luaA_init: use Lua C API to add paths to package.path
This is cleaner and it should be a bit faster than using
luaL_dostring().

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 13:58:57 +02:00
Julien Danjou 99f763d833 build: allow to specify cmake args
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 19:54:38 +02:00
Julien Danjou b33cb3b89c change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 15:14:17 +02:00
koniu 35cd125ebd naughty: fix bug in re-indexing popups if removing older to make space
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:41:17 +02:00
Julien Danjou 5039c24ed0 ta{g,sk}list: fix memory leak on removal
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:39:06 +02:00
Julien Danjou 95180799cc button: change copy method
We know also copy release.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:00:43 +02:00
Julien Danjou fe35104bc2 awful.widget: add support for __call on ta{g,sk}list widgets
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 11:59:38 +02:00
Julien Danjou 43902aed69 luaa: fix memory leak in __gc
We need to wipe the ref_array.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 09:53:20 +02:00
koniu 3849e6d747 awful.prompt: fix delete
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 07:58:46 +02:00
Julien Danjou 5344818677 image: fix new() documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 20:24:46 +02:00
Julien Danjou 8828d629f4 image: do not return update
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 15:15:27 +02:00
Julien Danjou fd40431e29 wibox: add missing documentation on objects
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 15:03:45 +02:00
Vincent Mauge d1e9c0d5e9 Remove useless loop in hide()
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 08:27:30 +02:00
Ali Polatel 3fca4e0677 awful.widget.taglist: Fix label.all()
awful.util.escape() may return nil

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 16:39:01 +02:00
Julien Danjou 024ee30fe5 image: move empty creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 10:49:45 +02:00
Ciaran McCreesh 933dc50db9 Fix build with assertions enabled.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 08:56:14 +02:00
Julien Danjou 34802872b2 awful.{button,key}: fix @see
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:37:17 +02:00
Julien Danjou dadeb9bf86 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:17:10 +02:00
koniu 97863c1f08 awful.titlebar: allow titlebar_font in themes
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 13:11:57 +02:00
Julien Danjou e584da44ae awful.menu: set some vars as local
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 02:12:23 +02:00
Julien Danjou 2b0d3f6ab2 awful.util: add spawn_with_shell (FS#515)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:41:28 +02:00
Julien Danjou b38ebbeac1 awesome-client: use readline and no backslash
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:32:06 +02:00
Julien Danjou 4f1eac6fa5 awesome-client: we use bash extensions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:26:53 +02:00
Julien Danjou c378343a64 key: add .keysym to return keysym name
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:11:38 +02:00
Mariusz Ceier 7010ffd164 Fix foreach macro
Fixes support of break/continue statement

Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 21:13:37 +02:00
Julien Danjou 505245a5ff array: fix foreach statement
We continously check for len, and build var upon each iteration so we
are sure we never go away in memory.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 19:54:07 +02:00
Julien Danjou 7d9c796607 build: bump xproto required version
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 18:34:26 +02:00
Julien Danjou 63a7b50531 event: push button state correctly to mouse grabber
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 17:20:12 +02:00
Nikos Ntarmos 5ad3eb8021 Fix display misbehaving as a wpsetter.
ImageMagick's display returns 1 if it is to draw on the root window.
Teach awsetbg that this is not an error condition.

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:32:20 +02:00
koniu 4400f1234d awful.tag: fix typo
Adds a missing dash in comments to show history.restore in apidoc.

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:09:02 +02:00
Julien Danjou e43d2b76ef awful.titlebar: fix buttons bindings
A recent commit change and fix what was pushed upon click on widget.
We used to get only wibox (bug) but now we get widget, wibox.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:05:23 +02:00
Julien Danjou 7d20e63bc0 event: also push the wibox on widget button events
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:00:01 +02:00
Julien Danjou d3e3c0c922 event: mouse grabbing blocks other events
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 13:59:13 +02:00
Julien Danjou f05c1bc86c key: prefix XF86 keys names
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:27:07 +02:00
Julien Danjou 7d59a773a7 key: add support for XF86 keysyms
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:24:06 +02:00
Julien Danjou 2e8557f04e key: add missing XKB entries
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 11:05:58 +02:00
Julien Danjou 2c9a19bafb key: stop using XKeysymToString()
It does not return the same thing.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou e44d62cb09 key: looking up for a key use a keysym
We do not resolve keycode anymore.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou bea4aa7f60 key: move keysym resolution to key
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Julien Danjou ba48d8784d keygrabber: change key_press_lookup_string proto
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:53:50 +02:00
Matus Telgarsky 30821f80a9 cosmetic fix for line drawing in graphs
When drawing graphs in line mode and growing right, instead of filling
in the last pixel (as the comments indicate is the intention), a line is
drawn to what is actually the first y value in the graph.  This is
because the index variable has already been incremented.  To fix it,
decrement it (correcting for modulus).  Patch attached.  Note I didn't
try it, since i am too lazy to update all the xcb stuff, but made sure
the patch goes cleanly against current head.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 10:04:57 +02:00
Julien Danjou ff8c2fe460 themes: simplify wallpaper_cmd
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 23:15:48 +02:00
Julien Danjou d2be74e1fe beautiful: set metatable correctly
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:56:18 +02:00
Julien Danjou 79a53769de awful.key: fix modifiers matching
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:48:24 +02:00
Julien Danjou 0c800d9612 dbus: use dbus_bool_t when reading messages
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:40:02 +02:00
Julien Danjou 6993f088b1 dbus: use dbus_bool_t for pushing boolean
dbus_bool_t is 32 bits (has to be for the wire protocol) but our bool is
only 8 bits.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:37:48 +02:00
Julien Danjou 8629522884 awful.key: fix modifier comparison in match()
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 20:02:10 +02:00
Julien Danjou 75203f0f94 awful.key: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:55:26 +02:00
Julien Danjou 66767605ee Revert "keygrabber: use XStringToKeysym()"
This reverts commit 6ca27c7c4c.
2009-04-28 19:47:39 +02:00
Mariusz Ceier ee77fce1ce Fix focus hooks calls
This patch fixes focus hooks calls - for every call to focus hook, there
should be call to unfocus hook.

Focus related info:
In this shape, awesome doesn't support multiple focused clients, that
means it follows the rule "there is only a single focus", which is not
true for MPX. To change this, I think it will need some magic with
FocusOut events handling and changes to some structures
(e.g. globalconf.screen_focus, screen_t.client_focus should be arrays) :p
Now we don't need to handle FocusOut events.

Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:44:38 +02:00