Commit Graph

3184 Commits

Author SHA1 Message Date
Julien Danjou bc9196084a awful: strip alpha channel in pango colors
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 17:07:04 +02:00
Julien Danjou 57a537e168 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 16:12:42 +02:00
Nathan Weizenbaum 0953d5f870 keybinding: only warn when a keysym really couldn't be found.
Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 11:14:00 +02:00
Julien Danjou b37110efd9 keybinding: allow individual non-alphabetic characters to be used in bindings
Don't just use XStringToKeysym to get keysyms, because then stuff like ";" doesn't work.
If XStringToKeysym fails and the string is of length 1, use it as the keysym.

Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 10:06:47 +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
Arnaud Fontaine d1f8bff99d systray: rely on xcb_atom_name_by_screen available since xcb-util 0.3.0 2008-09-16 13:42:17 +01:00
Radoslaw Szkodzinski 99b8fe74ba Clean up dependency list in README
Add more information about required versions,
split Xlib, xcb and xcb-util.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 20:30:32 +02:00
Julien Danjou ea4f6298d5 xutil: init reply
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 17:07:29 +02:00
Julien Danjou 29361699d2 README: change xcb-util required version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 16:06:22 +02:00
Julien Danjou 9daab2f623 cmake: add version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-15 16:05:40 +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
Marc Lagrange 56471ca618 awful: permit user defined images for squares
Signed-off-by: Marc Lagrange <markocpc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-13 16:55:21 +02:00
Julien Danjou 306c20dd95 awsetbg: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-13 13:33:23 +02:00
Julien Danjou 2d42b3c15c awful: fix comments typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-12 20:38:48 +02:00
Julien Danjou 987349e4b7 icons: optimize size
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-12 09:36:35 +02:00
Julien Danjou e25ed3d8a5 client: execute urgent hook also when removing urgent hint
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 17:01:52 +02:00
Julien Danjou 2da065329b textbox: do not invalidate on _index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 15:43:15 +02:00
Alex Cornejo 00721a15ea layout: add fair layout
Based on the original idea of Nathan Huesken, which was then implemented by
Gwenhael Le Moine, I completed and corrected the layout.

I added icons for the layout and modified the makefile and the aweseomerc.lua.in
to include the fair layout.

In the process I also decided to modify layoutgen.sh and tag.c, so that in the
future new layouts can be added without touching tag.c.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 13:31:28 +02:00
Julien Danjou 6690456668 core: ungrab before init dbus
D-Bus seems to require X access, otherwise it get stuck.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 11:15:55 +02:00
Julien Danjou 1cdd098fb1 awful: add client.setslave()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 17:04:54 +02:00
Julien Danjou d1d9d3bb52 keybinding: ignore LOCK
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 17:02:07 +02:00
Julien Danjou fd8ad9d17c keybinding: ignore Mod5 when getting keysym
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 16:31:12 +02:00
Julien Danjou 803d837d88 grab server on initialization
That allows to not miss any window on startup.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 16:06:32 +02:00
Arnaud Fontaine 9e426be091 awesome: get rid of unecessary malloc in scan() 2008-09-09 17:50:25 +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 587302358c awful: check for bg,fg focus (FS#304)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-07 23:29:24 +02:00
Julien Danjou c79d9ef991 event: handle mapping notify events
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-07 23:22:53 +02:00
Julien Danjou ef99e57be4 build: add minimal version checks for xcb-util
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-06 13:53:50 +02:00
Julien Danjou 118f504dc6 client: screen focus is handled by phys_screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-06 09:18:23 +02:00
Julien Danjou 68cff957be build: stop compiling Lua libs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 20:38:25 +02:00
Julien Danjou edfee160ea change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-05 01:08:11 +02:00
Julien Danjou 03dffd34dd awful: add pread() function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-04 10:55:27 +02:00
Julien Danjou 5e9e28e205 client: do not call need_arrange, use mayvisible
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-04 10:52:54 +02:00
Julien Danjou faabdff547 client: call need_arrange before changing attribute
Otherwise it may be not visible after.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-04 10:33:54 +02:00
Julien Danjou 1b44fae3b2 awful: does not allow a window to have no tag
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-03 19:30:25 +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 11dfa832a8 factorize quit/exec elements, and reparent systray
That fixes FS#296.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 17:12:10 +02:00
Julien Danjou 8e4873b3aa build: ignore lvalue
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 16:52:50 +02:00
Julien Danjou ad7e0ab9ec keybinding: documentation fix
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 16:37:12 +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 022879e8be textbox: reinit draw parser data
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 14:03:11 +02:00
Julien Danjou 7b00a2baf0 systray: reparent windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 17:54:53 +02:00
Julien Danjou 2c0febaedc build: stop using dashed git commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 15:13:19 +02:00
Julien Danjou fb33e85f31 awful: one of fg or bg urgent is enough
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 10:49:30 +02:00
Julien Danjou 7c6743d89b awful: update titlebar after adding it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 09:38:46 +02:00
Julien Danjou 3e13545cc9 Remove 2-level polling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 13:18:02 +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
Gregor Best 3e325782de awesomerc: use gmatch instead of deprecated gfind
a user in #awesome made me aware of a little quirk in lib/awful.lua
which renders the history of the prompt unusable when using Gentoo and
installing Lua without the USE-flag "deprecated". Lua states that
string.gfind has been replaced with string.gmatch and aborts the
function prompt_history_save(id). I attached a patch that replaces
id:gfind with id:gmatch, which so far has not revealed any problems.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 08:43:50 +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