Maarten Maathuis
76b511375a
magnifier: try harder to find parent of dialog
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:38:26 +01:00
Norbert Zeh
5302d707db
Made the fair layout really fair
...
The fair layout had the same issue as the slave columns in tiling layout
in that all strips were filled maximally with cells up to the last, and
the last strip may have significantly fewer cells than the other strips.
In my mind, that's not fair. The new strategy makes sure the numbers of
cells in any two strips differ by no more than one.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 17:02:58 +01:00
Julien Danjou
e6f0e38881
magnifier: use border size when n = 1
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 15:12:46 +01:00
Norbert Zeh
df4748f775
tile: evenly distribute slave clients over slave columns
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 11:09:57 +01:00
Julien Danjou
67c56d35a4
max: use phys_screen to get focus client (FS#366)
...
Physical screen have focus client, not logical ones.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 16:14:03 +01:00
Julien Danjou
46dfccd95f
client: fullscreen do not care about padding
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 19:49:01 +01:00
Maarten Maathuis
0df0077a2b
magnifier: Focus on the parent if a non-tiled window has a transient_for.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 10:46:40 +01:00
Maarten Maathuis
8d4c9b5962
magnifier: Also resize in the case of a single window.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 10:46:40 +01:00
Gwenhael Le Moine
4379f702c3
Fine tuned 'fairh' and 'fairv' layouts.
...
Modified fair layouts' behaviors when there is only 2 windows to
manage.
In this case each layout adopt the behavior of the other so as to look
consistent with their name.
fairv: +-----+
| | |
| | |
+-----+
fairh: +-----+
|_____|
| |
+-----+
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14 09:05:51 +02:00
Julien Danjou
76058c634f
layout: add fullscreen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-06 10:54:43 +02:00
Julien Danjou
5709435392
wibox: rework, merge titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou
69d06723df
util: import orientation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
44ef511aed
screen: store statusbars as array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
fcde8d229b
ewmh: add support for _NET_WM_STRUT_PARTIAL
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
abb497fa56
client: rework all stacking stuff
...
- Stacking is now per attribute
- Fullscreen does not imply isfloating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +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
9161fd0b2c
magnifier: use all space if no other window
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-24 10:12:46 +02:00
Julien Danjou
e753be131d
magnifier: simplify formula
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-23 08:40:07 +02:00
Julien Danjou
d4273f4e96
magnifier: implements mwfact as surface factor
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 22:09:51 +02:00
Julien Danjou
be2bfdcfc5
screen: introduce screen objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 17:14:02 +02:00
Julien Danjou
81ae462a70
focus: remove focus history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:30:01 +02:00
Julien Danjou
6ec76c3b97
client: honor size hints is now by client
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 15:42:07 +02:00
Julien Danjou
46f03fd6a6
area_t: make it smaller, use arrays instead of lists.
...
Make area_t smaller so that it fits in an uint64_t using 4 {u,}int16_t's
for it. Note that xcb uses the very same structure, so we aren't loosing
any information while remaining very small.
This is better to use arrays in term of:
* memory access when iterating over area_t's;
* allocation because area_t's have no *next/*prev members anymore, which
makes it a tiny structure (8 octets);
* allocation because we allocate area_t's by vector of'em rather than one
by one.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-22 22:09:48 +02:00
Julien Danjou
1049393840
Revert "Replace tags by workspaces"
...
This reverts commit 00f966ea04
.
Revert "[focus] Fix bogus arguments"
This reverts commit 816b5d16bc
.
Revert "[mouse] Fix bug with floating"
This reverts commit 89daa72790
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 21:56:03 +02:00
Julien Danjou
816b5d16bc
[focus] Fix bogus arguments
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 18:18:27 +02:00
Julien Danjou
00f966ea04
Replace tags by workspaces
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 16:30:46 +02:00
Julien Danjou
24176ba8c7
[screen] s/screen_get_area/screen_area_get/
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 15:35:48 +02:00
Julien Danjou
e317a70fea
[max] Only raise if focused window is tiled
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 22:04:41 +02:00
Julien Danjou
bff3b1778b
[magnifier] Use the focus stacking order
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 22:00:51 +02:00
Julien Danjou
e4bd29c274
[layouts] Max and Magnifier need to raise clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 21:46:23 +02:00
Julien Danjou
a1df77428d
[magnifier] Use mwfact
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 21:31:32 +02:00
Julien Danjou
1b41983a6f
[magnifier] Check for n > 0
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 21:28:29 +02:00
Julien Danjou
6ad47dc828
[layouts] Add magnifier layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 20:54:53 +02:00
Julien Danjou
eede70e773
[tile] Cosmetic
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 20:15:52 +02:00
Julien Danjou
d9dd1fba8e
Revert "[client] Remove ismax attribute."
...
This reverts commit fb822997b3
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 17:42:20 +02:00
Julien Danjou
0bbd2d4b3e
Rename AwesomeConf to awesome_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-24 08:59:27 +02:00
Julien Danjou
0142f0efc9
[layout] Rename LayoutArrange to layout_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 15:11:59 +02:00
Julien Danjou
fb822997b3
[client] Remove ismax attribute.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 13:11:47 +02:00
Julien Danjou
1f046b3c9f
[everything] Switch from libconfuse to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00
Julien Danjou
effaa99b91
[awesome] Remove useless includes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:35 +02:00
Julien Danjou
e4d091ab2e
[tag] Rename Tag type to tag_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
d1635db59f
[client] Rename Client type to client_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
e33d6cae80
[uicb] Rename Uicb type to uicb_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Julien Danjou
bd18eb2018
[util] Change Position type to position_t
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
Arnaud Fontaine
dafafd077c
Port Awesome to XCB
2008-05-03 12:00:59 +02:00
Julien Danjou
83cecd067c
Remove useless include
2008-03-23 15:52:20 +01:00
Julien Danjou
e22d57a0ca
Change the way to do resize
...
Go back to old school
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Julien Danjou
9bd32fc3b8
Split titlebar stuff into titlebar.[ch], and uicb_client_toggletitlebar
2008-03-23 15:52:19 +01:00
Julien Danjou
bb453bd444
s/client_titlebar_update_position/client_titlebar_update_geometry/g
2008-03-23 15:52:19 +01:00
Julien Danjou
dce101d044
Split out titlebar handling into layout for non-floating, and into resize for floating
2008-03-23 15:52:18 +01:00