Commit Graph

5935 Commits

Author SHA1 Message Date
Gregor Best e9acefa24e awful.menu: fix error when using the keyboard to navigate on an empty menu
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-31 09:08:10 +02:00
Nikos Ntarmos b437db6ab0 No need for & as capi.awesome.spawn double-forks
Just a minor change: since capi.awesome.spawn does a double fork, there
is no need to use a '&' to background the spawned process.

Cheers.

\n\n

From 843d7cc255afb8d07e7c91a3a9d1ed706bc07c88 Mon Sep 17 00:00:00 2001
From: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Date: Sun, 29 Mar 2009 21:40:57 +0300
Subject: [PATCH] No need for & as capi.awesome.spawn double-forks

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-30 12:53:12 +02:00
Alex Cornejo 106e6ed5ab Styling inconsistencies
Cheers,

Alex

From b5816ec55073507d4527ad3a77eae1878adb30d3 Mon Sep 17 00:00:00 2001
From: Alex Cornejo <acornejo@gmail.com>
Date: Sun, 29 Mar 2009 14:24:27 -0400
Subject: [PATCH] Fixed some styling issues.

Noticed in the latest pull that a commit introduced a lot of styling
inconsistencies, decided to remove those and others found by a simple
grep.

Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-30 12:53:12 +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
Maarten Maathuis b26a21ab0c client: fix luadoc typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:07 +01:00
Maarten Maathuis 0bab6e81b9 client: add dockable.{set/get}
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:07 +01:00
Maarten Maathuis 9aeda90738 client: add a "struts" property
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:06 +01:00
Maarten Maathuis 47efde17f5 client, mouse: improve struts a bit
- struts are now additive
- allow multiple docks at the edge of the screen, trigger is approaching workarea from inside

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:06 +01:00
Maarten Maathuis bf0329d8a3 client: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:38:20 +01:00
Maarten Maathuis cf16379778 client: allow special non-transient windows to be !above
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:38:15 +01:00
Maarten Maathuis 68970a3f56 titlebar: redo the handling "a bit"
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:36:35 +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
Aleksei Gusev 07b8751ad9 awful.client: removed focusing tag when the urgent window is sticky
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 09:26:20 +01:00
Aleksei Gusev 66483beeee awful.widget.tasklist: include sticky windows in the list
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-25 14:51:14 +01:00
Gregor Best 209039b22b themes.sky: add titlebar close buttons
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-24 16:56:36 +01:00
Aleksei Gusev ac6ded12a8 awful.widget.tasklist: added posibility to show c.name when iconified instead of <untitled>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-24 14:09:43 +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
Julien Danjou f0bb0b374b client: export urgent flag manipulation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-20 08:04:31 +01:00
Julien Danjou cec9686335 awful.hooks: fix dbus registration
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-20 07:59:16 +01:00
Julien Danjou a0d36316c4 awesomerc: Lua prompt has no completion
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-19 11:04:04 +01:00
Julien Danjou 405b5d0123 awful.completion: fix compatibility (FS#474)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-19 11:03:04 +01:00
Alex Cornejo 7fc8f4abc7 Replaced double loop with a single one.
Unless I am missing something there is no purpose of using two loops
instead of one.

Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-18 08:20:53 +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
Uli Schlachter 691b732f1a awesome-client: Don't go into an endless loop if awesome dies
This patch makes awesome-client give up after 10 tries when it lost the
connection to awesome. Also it now waits for some time between reconnect
attempts.
I like the behaviour of this, but some of the code seems a little icky...

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-17 20:01:38 +01:00
Uli Schlachter 7f7aac4583 wibox: fix a (harmless) X protocol error message
When creating a wibox the call to simplewindow_orientation_set() caused a
pixmap to be allocated, but the width and height weren't initialized yet.
Thus, awesome tried to create a 0x0 pixmap which the X server doesn't like.

This fixes the error and I haven't noticed any bad effects due to this patch.
Plus this should avoid some unneeded pixmap allocations. ;)

W: awesome: xerror:289: X error: request=CreatePixmap, error=BadValue

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-17 19:51:00 +01:00
Julien Danjou 6395db4331 swindow: change border_width handling
It's now outside of the geometry.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-17 18:04:08 +01:00
Fredrik Ax 5ee16fb72d awesomerc: change tasklist button 3 default behaviour
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-17 13:37:39 +01:00
Julien Danjou 5afd258697 luaa: wlen() will return -1 on error
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-15 10:01:25 +01:00
Julien Danjou 31aa7e66eb luaa: remove otable C implementation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:20:17 +01:00
Julien Danjou eac5936393 lib: use Lua implementation of otable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:19:58 +01:00
Julien Danjou 58679a328b otable: Lua implementation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:19:47 +01:00
Maarten Maathuis 0f8c71e17f unbreak "client: stop using otable"
- Some tag icons were disappearing.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 16:45:35 +01:00
Julien Danjou 6430738f17 client: stop using otable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:47:50 +01:00
Julien Danjou b14036171d key: stop using otable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:38:53 +01:00
Julien Danjou a4373e65cf mouse: stop using otable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:34:38 +01:00
Julien Danjou adf0fd3234 tag: stop using otable
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:33:52 +01:00
Gregor Best f0ca12837a awful.client: store floating geometry of clients in awful
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 08:36:40 +01:00
Gregor Best 2d816fd80c awful.layout.suit.magnifier: fix position of focused screen
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 08:35:28 +01:00
Damien Leone 2aeb2304e7 awful.menu: add custom keybindings feature 2009-03-12 19:57:41 +01:00
Damien Leone c29f57a5af awesomerc: add keybinding to open menu with keygrabber 2009-03-12 19:57:36 +01:00
Damien Leone effb03a976 awful.menu: add keyboard navigation feature 2009-03-12 19:56:11 +01:00
Julien Danjou 031ebc6d98 naughty: add support for hints.icon_data
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou 311a485319 naughty: allow icon to be an image object
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou 56e7262cc5 dbus: add support for fixed size array of boolean
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou d61068f5d5 dbus: add support for fixed size array of double
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou 7e36c9df91 dbus: add support for fixed size byte array
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou 6e1c9875c5 dbus: add support for struct
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Damien Leone e823596e5a awful.menu: optimizations
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Lionel Ott 858802537f Implemented bottom and middle alignment for textbox backgrounds
- background images of textbox widgets can now be aligned vertically
  to the bottom and middle aswell as the top

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Lionel Ott 970b566580 Added AlignMiddle to alignment_t structure
- Added AlignMiddle to denote a vertically centered element

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00