Julien Danjou
a8f4a59efd
lualib: import stack dumping function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 16:09:14 +02:00
Julien Danjou
284338532b
luaobject: add type recognition
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:19 +02:00
Julien Danjou
706d545076
luaclass: register class in an array
...
That should permit class identification.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:19 +02:00
Julien Danjou
c1d99f0960
luaobject: emit signal on new object
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:18 +02:00
Julien Danjou
4003ef726f
luaclass: import class system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:18 +02:00
Julien Danjou
dea2b6303a
luaobject: import signals meta methods in objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
Conflicts:
2009-07-29 15:48:18 +02:00
Julien Danjou
7ecce446ad
luaobject: generate Lua API function for add, remove and emit signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:18 +02:00
Julien Danjou
eed9864ab0
luaobject: add signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:48:18 +02:00
Julien Danjou
d7454f4307
key, button: use as simple table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:44:54 +02:00
Julien Danjou
a1b113901c
luaobject: change global refering method
...
We now store elements in registry:
registry.pointer = userdata
And count references.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:40:51 +02:00
Julien Danjou
339fb53d56
luaobject: add and use item system
...
Now, each object can store items.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:29:30 +02:00
Uli Schlachter
a77a1b7b64
Add a lua api for setting a wibox' shape
...
When the SHAPE extension is not available, this code prints
a harmless warn() on stderr.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-27 14:23:59 +02:00
Julien Danjou
88ef17ce94
buffer: remove useless assignation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-18 10:18:55 +02:00
Perrin "kAworu" Alexandre
319f2d55bc
removed WidgetList, name_func_link_t and related function
...
use tokenize.gperf instead.
Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-17 16:22:42 +02:00
Julien Danjou
654bfae6f7
util: add fieldsizeof and fieldtypeof macros
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-17 15:56:04 +02:00
Julien Danjou
a8115bd45e
luaobject: ref take index number as argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 17:15:20 +02:00
Julien Danjou
f8d549139f
array: add bisect-style insert and lookup
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 17:10:55 +02:00
Julien Danjou
6b24af7238
luaobject: define an common object and a standard gc
2009-06-16 16:17:31 +02:00
Julien Danjou
a04ad58004
tokenize: remove useless floating token
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-15 16:26:11 +02:00
Uli Schlachter
42865a54ef
Sort the tokens in tokenize.gperf alphabetically
...
This is done with vim:
ggVG:sort i
(Yes, this is a case-insensitive sort)
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-15 16:24:08 +02:00
Julien Danjou
be238512cc
awesome: dump backtrace on SEGV/ABRT
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 15:00:37 +02:00
Julien Danjou
c00aa8fd5e
util: import a_strhash()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 14:44:38 +02:00
Julien Danjou
7cc0b13eae
wibox: move position handling to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:30 +02:00
Julien Danjou
1ef09fa8e6
luaa: add font_height in awesome module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:17 +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
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
600299a19f
key: restore proper support of keysym resolution
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 18:17:16 +02:00
Julien Danjou
3eb14d7c76
luaa: move version and release to awesome module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 16:21:50 +02:00
Julien Danjou
56225a39fe
array: check that we are still in the tab
...
If the array is modified while we are running the foreach() loop, the
tab of the array may be reallocated, so var can be totally out of the
memory: check for that.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 08:34:13 +02:00
Julien Danjou
324387bfed
util: remove useless asprintf macro
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 20:22:44 +02:00
Julien Danjou
6ff72afd90
buffer: add buffer_addsl() for literal strings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 20:21:54 +02:00
Julien Danjou
cbcbb68f7e
xutil: remove useless conversion function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:34:13 +02:00
Julien Danjou
c8b758ac48
key: add __index metamethod
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-25 16:00:08 +02:00
Julien Danjou
6ee3e9d7c0
xutil: add xutil_key_mask_tostr()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-25 15:59:22 +02:00
Julien Danjou
467737250c
dbus: allow usage of the system bus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 16:07:31 +02:00
Julien Danjou
24b82772d2
atoms: drop useless strlen usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 13:37:01 +02:00
Julien Danjou
9d48852fed
util: remove fd_set_close_on_exec()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 11:39:06 +02:00
Julien Danjou
a6f60c8e41
slist: remove
...
We do not use linked list anymore.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 23:27:16 +02:00
Julien Danjou
f473a107b0
cleanup #includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 16:52:25 +02:00
Julien Danjou
efc3cc4c15
xutil: fix proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 14:43:59 +02:00
Julien Danjou
5db54fc731
xutil: fix proto of key mask translator
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 14:43:59 +02:00
Julien Danjou
f168bbdfa4
key: add support for modifier mask Any
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 14:43:58 +02:00
Julien Danjou
1a18088da5
key: stop ignoring arbitrary modifier
...
Before, we used to ignore Mod2 and Lock.
This is now configurable.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
d5596c06ed
xutil: remove useless error functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
cda33ca3e6
key: cleanup modifiers system
...
We stop retrieving useless key, since we have constant.
We also grab correctly all keycode for a keysym.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:54 +02:00
Julien Danjou
e4f7e99c3f
client: add support for _NET_STARTUP_ID
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-14 12:47:10 +02:00
Julien Danjou
3173e698da
refcount: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
a1480ef7d8
luaobject: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
87c3c02b72
array: add a set of useful functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
e145afec53
array: add foreach() statement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:32 +02:00
Julien Danjou
09b166d71e
version: remove product name
...
We only ship one binary now.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 18:53:53 +02:00
Julien Danjou
c95e73ee61
buffer: remove useless buffer_add_xmlescaped()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 18:08:44 +02:00
Julien Danjou
7dbb02adf3
awesome-client: remove socket code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 17:56:25 +02:00
Julien Danjou
d441254412
util: remove a_strsplit()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-07 18:00:55 +02:00
Uli Schlachter
4722ba6c10
socket: set close on exec
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-02 13:43:18 +02:00
Julien Danjou
9a7381d02a
util: add fd_set_close_on_exec()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-02 13:41:06 +02:00
Uli Schlachter
638f9651e5
Remove unused tokens from common/tokenize.gperf
...
This list was generated with the following shell script snippet:
for x in $(tr "[a-z]" "[A-Z]" < common/tokenize.gperf)
do
y="A_TK_$x"
if git grep " $y[:)]" > /dev/null
then
: echo found: $y
else
echo not found: $y
fi
done
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:44:41 +01:00
Alex Cornejo
07d8168a45
Removed unused display variable.
...
I just realized this variable was unused in the original code, and in my
patched version. I removed it.
Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 09:26:51 +01:00
Alex Cornejo
2689852e45
Changed socket interface to support fallbacks.
...
Now we support a list of fallback targets when opening the socket, and
socket binding/connect is done inside socket.* instead of luaa.c or
awesome-client.c
Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-20 08:28:36 +01:00
Alex Cornejo
96cf05f002
Fixed socket usage to work with AFS home folders.
...
On corporate/university environments it is not uncommon for the home
folder of each user to be hosted on OpenAFS (so you can work from any
terminal and IT services can backup everything at will).
However it is not possible to create sockets in AFS, hence when awesome
attempts to create a socket at ~/.awesome-ctl it fails. To fix this
awesome now uses /tmp/.awesome-ctl as a fallback before giving up.
Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-18 08:20:32 +01:00
Julien Danjou
17e2d9e58f
client: remove _AWESOME_TAGS property
...
We use EWMH hints.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
cc2b8f4e89
client: remove useless _AWESOME_FULLSCREEN
...
We use EWMH hints, it's enough.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
9db9abd02a
client: remove _AWESOME_FLOATING
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-26 12:35:46 +01:00
Julien Danjou
a89ceecb1d
xutil: handle COMPOUND_TEXT blindly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 11:47:56 +01:00
Julien Danjou
a95fc407b5
client: add .id field
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-18 16:53:42 +01:00
Julien Danjou
ada983d08e
ewmh: add missing window types
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 11:25:38 +01:00
Julien Danjou
af95800df1
ewmh: add support for _NET_DESKTOP_GEOMETRY
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 10:57:42 +01:00
Mariusz Ceier
01eff69bf4
client: fix focus subsystem
...
We don't need to unfocus currently selected client.
Added WM_TAKE_FOCUS atom, so we can implement correct ICCCM,
focus behavior, in relation to Input Models ( sections 4.1.7 [1],
4.2.7 [2] ).
Currently correctly implemented are, "No Input", and "Passive"
models, and additionally works "Locally Active".
To test focus-in and focus-out events I used program from [3].
[1] http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7
[2] http://tronche.com/gui/x/icccm/sec-4.html#s-4.2.7
[3] http://mail.gnome.org/archives/gtk-devel-list/2001-November/msg00334.html
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 18:54:02 +01:00
Maarten Maathuis
8e58460109
client: add above and below to capi + related fixes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-09 12:30:19 +01:00
Gregor Best
c242657c3b
awesome: add selection() for getting the primary X selection
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-03 11:52:24 +01:00
Julien Danjou
d6dbb00f10
client: add support for input faking
...
This is done using XTest extension.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:03:17 +01:00
Julien Danjou
bdbcd9352d
client: add content property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:21:00 +01:00
Julien Danjou
8a43415c0c
image: add alpha property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 15:18:47 +01:00
Maarten Maathuis
6e199bbd76
client, swindow: switch to a more convient definition of geometry
...
- In many places i see people correcting for border width and titlebars.
- This new definition is the equivilant of what used to be fullgeometry.
- The internal geometry is now contained to a few functions that few people ever touch.
- This should avoid confusion and make code easier.
- Also protect against several unsigned overflows.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
f8063dea09
refcount: remove useless assert include
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
9d175377b8
client: stop duplicating size hints data
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Michael Hofmann
39cd86f976
widget: add fixed alignment
...
This makes it possible to have fixed-width textboxes in the flexible part of a wibox.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou
26da80f90a
draw: remove custom markup support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou
b5fb612ea3
draw: remove shadow support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou
8e9f0c8857
draw: remove margin markup, move to textbox widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou
9a270023fe
xutil: remove useless define
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Maarten Maathuis
fbf28cc80d
client: Expose leader_id.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Maarten Maathuis
40c208a422
client: Expose group windows.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou
8b88541f0a
xembed: store windows in an array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou
2037a053a9
layout: move layout code to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Maarten Maathuis
d7f92fdf9f
ewmh: Support all known non-override redirect window types.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou
e0de3b153e
client: deprecate minimize in favor of minimized
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou
576a1e85fc
client: maximize belongs to client internal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou
d61c6f5ae9
wibox: add cursor property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
3cf79072cd
xcursor: add new cursor infra
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
f2eab39776
xcursor: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
9d7e8ea931
xutil: fix cursor proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
f188c10fa4
util: precompute funcname in name_func_link
...
This will improve search a bit.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
5cc82a4af5
buffer: use a_strlen()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 12:07:55 +01:00
Julien Danjou
292f09bb93
luaa: add support for conffile in index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:18:41 +01:00
Julien Danjou
590077004a
luaa: add {new,}index to awesome lib, use for font
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:13:19 +01:00
Julien Danjou
bb05a3809a
client: document and rename size_hints
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 15:43:52 +01:00
Julien Danjou
5d87bccbc2
client: add support for transient_for in Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 15:43:04 +01:00
Julien Danjou
83eadb46cb
util: check asprintf return
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 10:36:39 +01:00
Julien Danjou
a5cb98162d
textbox: add ellipsize and wrap mode support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 17:04:23 +01:00
Julien Danjou
10df0a9dc4
imagebox: support vertical alignment
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 16:38:06 +01:00
Konstantin Stepanov
d7e5a8f1a3
socket: fix proto not supported under FreeBSD (FS#349)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 14:53:23 +01:00
Julien Danjou
737a70f60c
remove a bunch of useless #include-s
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:57:29 +02:00
Julien Danjou
862fe193ee
Rewrite {tag,task}list in Lua.
...
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.
This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
Julien Danjou
5c8a4dee4a
client: export skip_taskbar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 17:27:52 +02:00
Julien Danjou
7d34f45ed6
util: document xmemdup()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 11:14:56 +02:00
Julien Danjou
c19965cfff
mouse: add index on button, permit object cloning
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-19 18:51:21 +02:00
Julien Danjou
14670defd9
util: fix strsplit end buffer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-11 11:18:15 +02:00
Julien Danjou
ede5a54355
event: handle background changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-10 18:27:43 +02:00
Julien Danjou
031726c9b9
xutil: use token for keys
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 11:09:57 +02:00
Julien Danjou
85b05def68
xutil: store cursor font as static
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 10:27:16 +02:00
Julien Danjou
caa63d43d7
client: export size hints
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 11:45:41 +02:00
Julien Danjou
5709435392
wibox: rework, merge titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou
2dfde8c181
util: remove off position
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
305af484f5
wibox: add full geometry
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
69d06723df
util: import orientation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
49abc66089
xutil: do not return pointer, init struct instead
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
b48f094490
draw: remove GdkPixBuf support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
e54d2195d7
xutil: inline xutil_error_delete
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
2be620618b
property: use xcb property handler system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
856192fa99
client: merge icon_path and netwm icon
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
6a5ad6af9b
common: move draw, xscreen and swindow out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
e0d3da455b
client: split minimized out of hidden
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
b4d89eec6c
screen: move screen_getbycoord()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
fcde8d229b
ewmh: add support for _NET_WM_STRUT_PARTIAL
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
8b21d64df6
client: export window type
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
63b5e65ebd
placement: deprecate in favor of awful.placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
7cf2b6615f
client: split X props; handle fullscreen status
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
e871bbfa18
widget: add support for mouse enter and leave events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
5d841ee386
client: export fullscreen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
abb497fa56
client: rework all stacking stuff
...
- Stacking is now per attribute
- Fullscreen does not imply isfloating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
8543dfae5c
client: add support for the sticky attribute
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
4c76b5a1d5
draw: add support for top and left bg_margin
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
3b895d84ed
mouse: rework mouse buttons API, support release events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Radosław Szkodziński
ad9c8cfd16
tasklist: add support for backward ordering - tasklist.invert
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Nathan Weizenbaum
37f4fbfe39
awesome-client, socket, lua: make awesome-client into a true REPL
...
After recieving a command from awesome-client, awesome will send
the result of that command in return and awesome-client will print it out.
Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:03:56 +02:00
Julien Danjou
be52f5b047
update to new xcb-event
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-16 15:36:44 +02:00
Julien Danjou
ea4f6298d5
xutil: init reply
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 17:07:29 +02:00
Arnaud Fontaine
00d8a0cddd
Update to new xcb-util library.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 14:02:23 +02:00
Julien Danjou
b0ab2d4193
util: fix a_exec, use it for spawn
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-08 01:45:22 +02:00
Julien Danjou
97cf3a7719
systray: add some cleanup code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-03 18:03:50 +02:00
Julien Danjou
a5397fd724
draw: remove useless vars
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 14:03:27 +02:00
Julien Danjou
0ada7c532d
draw: unref attr_list on parser data wipe
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 09:10:03 +02:00
Julien Danjou
e2de0270b2
xutil: check for text and len
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 08:55:15 +02:00
Julien Danjou
1a544726e1
xutil: set text and len even if we ignore them
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 08:41:27 +02:00
Julien Danjou
fa57be9588
socket, awesome-client: fix computing if DISPLAY unset
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 19:51:44 +02:00
Julien Danjou
99004c3799
draw: wipe text in parser data
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 19:34:20 +02:00
Julien Danjou
4301642ba3
client: wipe class hint struct
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 19:28:18 +02:00
Julien Danjou
0c0232e072
socket: fix memory leak
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 19:20:11 +02:00
Julien Danjou
442eb739c7
client: add support for WM_WINDOW_ROLE access
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 11:29:21 +02:00
Julien Danjou
dcbd7a7c14
socket, lua: use xcb_parse_display
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-27 17:14:47 +02:00
Julien Danjou
87a89b6aa1
use xcb_flush; move refresh stuff in common function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 19:35:37 +02:00
Julien Danjou
b3f86152df
socket: use more robust socket name handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 18:14:39 +02:00
Julien Danjou
c8bd181b27
util: strndup really stop and add null termination
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 18:07:50 +02:00
Julien Danjou
7309351228
draw: fix extra area computing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 11:23:35 +02:00
Vladimir Kirillov
6fc677c441
util: do not include alloca on OpenBSD
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-23 11:21:17 +02:00
Julien Danjou
59ef5a0572
token: remove useless tokens
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 16:23:22 +02:00
Julien Danjou
d261f9a3cc
widgets: generic set/get for list
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 19:13:46 +02:00
Julien Danjou
8d7f69cf49
util: remove useless position Auto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 17:34:44 +02:00
Julien Danjou
a56997aefb
draw: support for top margin
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 11:38:57 +02:00
Julien Danjou
d96bcdc2a4
xutil: remove useless XUTIL_ANY_KEY define
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 11:00:28 +02:00
Julien Danjou
da9f6bbceb
xutil: remove XUTIL_ANY_MODIFIER
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 10:59:40 +02:00
Julien Danjou
65f5f964ef
draw: better GError handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 14:32:05 +02:00
Julien Danjou
8173bd6ea9
draw: stop parsing Pango markup twice, store AttrList
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 14:29:50 +02:00
Julien Danjou
277aec7fcf
refcount: unrefing does not invalid object
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-17 11:57:54 +02:00
Julien Danjou
4ea0f659e2
draw: do not delete image on text rendering
...
This is not our job.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-14 07:36:34 +02:00
Arnaud Fontaine
5c9cc7857d
xutil: make xutil_lock_mask_get() asynchronous
2008-08-13 12:29:43 +02:00
Arnaud Fontaine
687dcf1d98
xembed: make xembed_info_get() asynchronous
2008-08-12 15:35:24 +02:00
Arnaud Fontaine
193a73c5d9
draw: make xcolor_init() asynchronous.
2008-08-12 14:53:57 +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
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
53d60670a8
version: spell D-Bus correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 12:08:16 +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
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
874e62d849
titlebar: replace client_get() by client attribute
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:04:18 +02:00
Julien Danjou
e5d828b369
statusbar: widgets is now an array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 15:47:09 +02:00
Julien Danjou
9cb22b96eb
lua: exports client.tags and tags.clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 16:39:45 +02:00
Julien Danjou
06fac9a151
lua: stop using version_string()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:48:27 +02:00
Julien Danjou
1cc071e24f
client: add refcount for clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:29:45 +02:00
Julien Danjou
c13cffe1eb
draw: set_markup wants NONULL arg
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-30 10:35:37 +02:00
Kanru Chen
f36acc7384
client: expose .urgent
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:02:36 +02:00
Julien Danjou
2555a72e63
xutil: use xcb_get_wm_transient_for instead of xutil fct
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 17:54:33 +02:00
Julien Danjou
3c32297e07
event: handle iconify request
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 17:13:30 +02:00
Julien Danjou
09fd61fdfa
tasklist: use label to determine which objects are drawn
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 15:57:17 +02:00
Julien Danjou
e3ed35e853
array: remove spurious semi colon
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 15:57:00 +02:00
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
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
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
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
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