Commit Graph

3218 Commits

Author SHA1 Message Date
Jay Bromley 982a8e4c52 client: return instance and class (FS#236)
The problem seems to be that while a function can return multiple
values, an index cannot.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-26 08:45:35 +02:00
Konstantin 7ec624cc14 util: fix freebsd support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-25 19:55:19 +02:00
Matthew William Cox 84796930b7 Fix default search path for configurations
Modified lookup of system configuration to accomodate the new XDG
locations.

Add an XDG_CONFIG_DIR variable to cmake to help find/set the system-wide
configuration location.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 20:10:13 +02:00
Julien Danjou 8329d7e1c5 statusbar: fix color initialization
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 18:20:46 +02:00
Julien Danjou 909b55db2e titlebar: fix color initialization
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 18:18:18 +02:00
Julien Danjou 8502eb3299 lua: fix color string push
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:56:42 +02:00
Julien Danjou 21f1f4cf0a statusbar: use screen attribute to add to screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:37:24 +02:00
Julien Danjou 4f73b51e6f tag: remove add(), use screen attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:07:24 +02:00
Julien Danjou a791fe5290 tag: allow for tag name modification
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 16:37:09 +02:00
Julien Danjou f5f0663bf1 fix ARRAY_TYPE decl
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 16:25:11 +02:00
Julien Danjou 5876b3cc70 remove spurious semi colon
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 16:22:41 +02:00
Julien Danjou 6dc3204208 awesomerc: fix screen computing in window tagging
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 15:30:14 +02:00
Michael Gehring 0812a54bb7 awesome.1: update keybindings 2008-07-23 09:42:04 +02:00
Michael Gehring 3319a8f17a awesome.1: update config file path 2008-07-23 09:42:04 +02:00
Michael Gehring 81cba1f955 use ON/OFF in cmake option docs 2008-07-23 09:42:04 +02:00
Michael Gehring 0400df279d lua: lua_open is deprecated in 5.1. use luaL_newstate 2008-07-23 09:42:04 +02:00
Michael Gehring 56de5faab4 cmake: exit if a required utility is not found 2008-07-23 09:42:04 +02:00
Michael Gehring 38ff94733b cmake: always exit with an error if a required library can't be found 2008-07-23 09:42:04 +02:00
Julien Danjou 053ae6dce6 client: check for focus on unmanage before removing client
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 09:20:25 +02:00
Julien Danjou e1fe38289b event: use ewmh restart
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 09:03:52 +02:00
Kanru Chen 9f459559db layout: arrange before focus is gave
This patch reverts 66f34b38ae and should fix FS#234.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 09:00:53 +02:00
Kanru Chen 700ace5197 length of static string s should be sizeof(s)-1
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-22 10:30:53 +02:00
Kanru Chen df57c34a06 event: remap on restart
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-22 10:27:01 +02:00
Kristof Provost 30aeb3f311 Reload awesome on SIGHUP
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-22 10:23:07 +02:00
Kanru Chen 9a60abce52 config: Fix default config path and documents.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-13 13:00:38 +02:00
Julien Danjou 1a539712d1 tasklist: use common markup parsing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 17:11:37 +02:00
Julien Danjou 88e69ba44f draw: export draw_text_markup_expand() and check for data before wipe
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 17:09:57 +02:00
Julien Danjou 5fc500a861 draw: draw_text takes len as arg
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:35:19 +02:00
Julien Danjou 36fd44d1a0 draw: add char len as arg of xcolor_init()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:30:16 +02:00
Julien Danjou 0e06789714 socket: stop strlen() twice
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:15:16 +02:00
Julien Danjou dbaa343c97 xutil: use sizeof() instead of strlen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:12:32 +02:00
Julien Danjou 41d66ebf29 lua: optimize docmd, don't check len and use const
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:11:23 +02:00
Julien Danjou 677e6355c5 systray: use snprintf() result, not strlen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:08:07 +02:00
Julien Danjou 750040be68 draw: text extents now gets len as arg
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 15:06:09 +02:00
Julien Danjou ad58260243 tasklist: use len and set it to 0 if no text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou 354f37ef6c taglist: use callback function to get print text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou 2a5eba569d lua: pop error
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou 50ff37a17e draw: remove useless draw_circle
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou f28b4c07b2 tasklist: stop using client markup
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou 015f529928 documentation update and disallow tag name change
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:10 +02:00
Félix C. Morency 41a9627f95 cmake: Specify that the project's language is C
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 07:15:55 +02:00
Kanru Chen f22acbf45e draw: fix shadow stroke
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 15:23:47 +02:00
Julien Danjou f364dc07e2 lua: check f against REFNIL
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 14:07:49 +02:00
Julien Danjou e9407c9670 awesomerc: display icons when client is floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 12:34:42 +02:00
Julien Danjou 3f46ec2152 tasklist: use a callback for label
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 12:12:52 +02:00
Julien Danjou 5072484f93 hooks: init correctly to REFNIL and factorize set
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 11:51:08 +02:00
Julien Danjou 0d761a1a8e token: remove useless tokens
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 11:41:44 +02:00
Julien Danjou 541a190a21 awesomerc: document markup
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:43:23 +02:00
Julien Danjou e3bbf3f15d draw: bug fix on bg parsing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:38:39 +02:00
Julien Danjou ddae6f76b2 draw: add support for border around text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:25:29 +02:00