Hi Cedric,
Sorry for the delay.
At 1253045240 time_t, Cedric GESTES wrote:
> +--- Get value from percentage, or just return value
> +...@param value The value, could be a percentage or an absolute value
> +...@param min The minimum (used for percentage)
> +...@param max The maximum (used for perc
For rules I created two table: data.set and data.postset. They
contains setters and "post" setters. Postset is processed after set. I
hope it solve problem with focus and dimenssion not applied in the
good order.
I renamed switchtotag in the same patch as it's a pretty new stuff and
the old beahav
At 1252937539 time_t, Cedric GESTES wrote:
> placement.get_percentage(value, min, max) ?
And probably a set_geometry_percentage also? :)
--
Julien Danjou
// ᐰhttp://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// Don't give up.
signature.asc
Description: Digital
On Mon, Sep 14, 2009 at 12:02 PM, Julien Danjou wrote:
> At 1252848226 time_t, Cedric GESTES wrote:
>> Would a awful.util.get_abs_or_percent(value, min, max) be nice?
>
> Sounds rather vague.
>
> Most of the awful.placement function can act on wiboxes too since they
> also have :geometry() like cl
At 1252848226 time_t, Cedric GESTES wrote:
> Would a awful.util.get_abs_or_percent(value, min, max) be nice?
Sounds rather vague.
Most of the awful.placement function can act on wiboxes too since they
also have :geometry() like client.
Maybe placement should get renamed to a better name and handl
On Sun, Sep 13, 2009 at 2:46 PM, Julien Danjou wrote:
> At 1252789547 time_t, Cedric GESTES wrote:
>> Geometry can be set using percent.
>> Placement can be called
>
> Well 2 things, 2 patches would have been better. :)
>
>> +--- Apply a gemetry property on a client
>> +-- @param c The client
>> +
At 1252789547 time_t, Cedric GESTES wrote:
> Geometry can be set using percent.
> Placement can be called
Well 2 things, 2 patches would have been better. :)
> +--- Apply a gemetry property on a client
> +-- @param c The client
> +-- @param property The property name
> +-- @param value The value
amended patch including the fix of
0002-awful.rules-apply-positioning-after-sizing.patch
This set the x and y properties after the width and height properties
On Sat, Sep 12, 2009 at 11:05 PM, Cedric GESTES wrote:
> Geometry can be set using percent.
> Placement can be called
>
From 476013df1751c
Geometry can be set using percent.
Placement can be called
From 0f3e6c70bbe61da481769f705e230f7b7f2c703b Mon Sep 17 00:00:00 2001
From: Cedric GESTES
Date: Sat, 12 Sep 2009 22:54:19 +0200
Subject: [PATCH] rules: rework for placement and geometry
Signed-off-by: Cedric GESTES
---
lib/awful/rules.