Commit Graph

28 Commits

Author SHA1 Message Date
Gregor Best f890aa392c layouts/tile: completely fix client borders
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 10:53:47 +02:00
Gregor Best 752f0225d2 layouts: let client sizing honor the border width
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 20:39:56 +02:00
Julien Danjou 9c651933a4 Revert "awful.layout.suit.magnifier: simplify"
This reverts commit f3c57faf1d.
2009-09-28 14:41:54 +02:00
Julien Danjou f3c57faf1d awful.layout.suit.magnifier: simplify
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 13:40:29 +02:00
Julien Danjou 35ff4203d8 magnifier: fix then no tiled client
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:32:53 +02:00
Fabienne Ducroquet 391e3ea954 layout: spiral: remove useless local variables
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:58 +02:00
Fabienne Ducroquet 7ae072b791 layout: spiral: test spiral rather than dwindle
Since all the tests are now "not dwindle".

Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet d716476872 layout: spiral: refactoring
Look at the problem as "in which cases do we add or remove nw or nh?"
rather than "what do we do when k = ...?".

Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet 034a93d691 layout: spiral: remove size check
This is already done by the C code.

Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:56 +02:00
Fabienne Ducroquet 46f5476e20 layout: spiral: remove the variable i
We have i == k - 1 and k is unused.

Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:54 +02:00
Julien Danjou 5a70fb6395 awful.layout: do not pass specific param in arrange (FS#541)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-07 15:51:32 +02:00
Uli Schlachter cd862e80cd Add fibanocci layouts ported from the C version
This is based on the C code from commit b9320be372.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-13 11:36:15 +02: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
Julien Danjou 41296008a3 awful.layout.suit.floating: simplify
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu 2a2166d856 awful.layout: do not use global env
Layouts are passed a data structure that holds all the
information they need to render the clients.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu a2fe3919f2 awful.layout: store name into module
Layouts now store their name as a string and their arrange function
in a table rather than being stored as the entire module.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou b07857b4f6 suit.magnifier: fix focused window handling in multi screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-10 07:56:48 +01:00
Julien Danjou cc6dee9940 awful.layout.suit.vile: rename to tile
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:08:33 +01:00
Julien Danjou ed2581c3ec awful.layout.suit: remove tile
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:05:21 +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
Sias Mey cc58b840e6 awful.layout.suit.magnifier: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-22 09:49:09 +01:00
Julien Danjou f5c35765d2 awful.layout.suit.magnifier: fix background client geometry
This make sure that we render clients from top to bottom, with
bottom client as the next focused one.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-21 13:45:39 +01:00
Julien Danjou 3aa407b742 awful.layout.suit.magnifier: use the right screen tag
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-19 14:38:17 +01:00
Julien Danjou 7df3a36f3b awful.layout.suit.tile: use the right screen tag
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-19 14:34:38 +01:00
Gwenhael Le Moine 25ac879569 suit.fair: restored C version fair layout's behaviour
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 13:30:18 +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 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 2037a053a9 layout: move layout code to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00