Uli Schlachter
932e0bfcd0
Add two more missing signals
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-27 21:42:14 +02:00
Uli Schlachter
ab4c151ed8
Add signals before using them
...
This commit makes it an error if an unknown signal is connected, disconnected or
emitted. All signals have to be added before they can be used.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-25 23:00:36 +02:00
Julien Danjou
6d332f07a0
lua{class,object}: rename signals functions
...
I knew this was wrong at the beginning, f*ck.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-25 20:28:20 +02:00
Uli Schlachter
71ba321032
Check "focusable" in awful.client.focus.filter(c)
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-12 13:18:40 +02:00
Julien Danjou
9388dc5a1e
awful.client: fix initial geometry storage (FS#608)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:56:58 +02:00
Jacob Winther
808be1d9b8
variable set twice in client.lua
...
Very small fix.
From 6933b43bd3d00baba661b367db5450a9179da0c7 Mon Sep 17 00:00:00 2001
From: Jacob Winther <jacob.winther@gmail.com>
Date: Sat, 12 Sep 2009 06:59:58 +1200
Subject: [PATCH 1/2] awful.client: remove duplicate variable
Signed-off-by: Jacob Winther <jacob.winther@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:33:31 +02:00
Sébastien Gross
6511042f82
client: Fix get_client_in_direction
...
Both is_in_direction() and calculate_distance() expect clients
instead of geometries.
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:31:28 +02:00
Julien Danjou
905dddafe6
awful.client: fix direction functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:31:16 +02:00
Uli Schlachter
023a216f67
awful.client: Emit correct signal
...
When awful.client.property.set() was called it always emitted property::floating
on the client. Instead it should emit propert::<name of the property> of course!
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:54:05 +02:00
Gregor Best
efbba53507
awful.client: fix local function idx
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:53:31 +02:00
Julien Danjou
6bad89fc2c
awful.client: movetotag() move client to the screen tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:09:56 +02:00
Julien Danjou
b3214e589e
Partial revert of "awful.client: use signal and geometry attributes"
...
Partial revert of 1da49640b5
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:15:19 +02:00
Julien Danjou
65825bdd22
awful: move hooks to signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
1da49640b5
awful.client: use signal and geometry attributes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
b58d0f848a
client: emit signal on unmanage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
7954f19417
client: emit signal on manage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
cb2cad6b09
client: emit class signal on focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 16:05:59 +02:00
Gregor Best
fb68558b2f
awful.client: call property hook on wfact change
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-15 09:42:08 +02:00
Julien Danjou
5922eb1fc1
awful.client: register property windowfact and floating for arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:29 +02:00
Julien Danjou
afbf72fc49
awful.client: call property hook on each prop change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:20 +02:00
Julien Danjou
0c564079b5
wibox: add property hook on screen and visible changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:07 +02:00
Julien Danjou
a891ffbe2d
awful.tag: call property hook on icon changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 16:57:12 +02:00
Nikos Ntarmos
a91e31dbe6
Fix toggletag
...
awful.client.toggletag assumes that the tags array is indexed by tag
objects. This appears to not be the case after v3.2-31-g6430738, when
client objects stopped using otables. This patch makes toggletag iterate
through the client tag array till it finds the entry to remove,
otherwise it appends the new entry at the end.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-23 23:38:31 +02:00
Julien Danjou
e4ab810154
awful.client: do not use otable()
...
We use a weak-keyed-table, that's enought and quicker.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02: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
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
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
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
Julien Danjou
5154cfc19f
remove deprecated functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
e6c7770b33
awful.client: remove debug print() (FS#469)
...
Shame on me.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:54 +01:00
dcurtis@cs.uiowa.edu
8f7ecb798d
awful.client: Automatically select the current client during a toggle
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 11:08:22 +01:00
Julien Danjou
c69afaed58
awful.client: new cycle() method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:53:03 +01:00
Mariusz Ceier
be28925fb6
Fix killproperty and floating.delete
...
Use new API, so they don't emit lua errors:
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:595: attempt to index field
'floating' (a nil value)
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:761: attempt to index field
'property' (a nil value)
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 12:21:55 +01:00
Julien Danjou
ee382dc5a8
awful.client: use property for floating registering
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:26:46 +01:00
Julien Danjou
fa9e31a2d4
awful.client: add property system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:19:27 +01:00
dcurtis@cs.uiowa.edu
f2f7d5c89d
awful.layout.suit.vile: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-26 15:49:18 +01:00
Julien Danjou
34f6321e8f
awful.client: floating.toggle() reset auto detection (FS#429)
...
This is better than doing nil -> true -> false -> true...
We do nil -> true -> nil -> true.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-14 14:56:28 +01:00
Julien Danjou
fba27a5315
awful.client: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:21:47 +01:00
Julien Danjou
84fad1a9cd
awful.client: fix floating detection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 11:12:14 +01:00
Julien Danjou
8aa8b17c75
awful.client: do not ignore focused client if filtered in next()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:54:10 +01:00
Julien Danjou
adc91aa37a
awful.client: check client with filter in history fallback
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:51:46 +01:00
Julien Danjou
6816682d42
awful.client: makes fixed size client floating
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
c3c20c4f8e
client: move floating state handling to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou
bf7bae8082
awful.client: add tiled()
...
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
506e453a2f
remove deprecated functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
5fecdc052d
awful.client: fix iteration over removed elements
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:18:35 +01:00
Maarten Maathuis
e6905ededb
awful.client: fix minor luadoc issue
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 10:58:10 +01:00
Maarten Maathuis
69f0796762
awful.client: fix luadoc syntax for visible function.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:36:42 +01:00