Commit Graph

1659 Commits

Author SHA1 Message Date
Julien Danjou 393b6e1f88 Cosmetics
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Julien Danjou accf223bb1 Use warn() instead of perror()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 93c75433f9 Make icon in statusbar as CFG_ALIGNMENT 2008-03-23 15:52:21 +01:00
Julien Danjou 2a47aa7f0b Add cfg_getalignment() functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 7b1ce042de Add cfg_getposition() and cie to ease libconfuse compatibility
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 19656fc36d Add a CFG_ALIGNMENT type and use it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou fe8bd0bb5b Implement a CFG_POSITION type and use it 2008-03-23 15:52:21 +01:00
Julien Danjou f01a2ad47d Check for alignment values in configuration file 2008-03-23 15:52:21 +01:00
Julien Danjou 532709ec3e Add validate functions for positions 2008-03-23 15:52:21 +01:00
Julien Danjou 72cad278cf Cosmetic, remove uppercase 2008-03-23 15:52:21 +01:00
Julien Danjou b748d114bf Use common validation infra for mwfact upper and lower limits values
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 6b5cf37119 Fix default example in awesome-client.1 2008-03-23 15:52:21 +01:00
Julien Danjou c7e821a54a Remove sizeof() usage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Arnaud Fontaine 77dfdd2928 Remove PATH_MAX usage from awesome-menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou d4f08ae5ae Force validation of some more values 2008-03-23 15:52:21 +01:00
Julien Danjou 9204066788 Begin to use validate function in config handling 2008-03-23 15:52:21 +01:00
marco candrian 214a5c4bfa new graph-widget option: grow = <{right, left}>
Signed-off-by: Marco Candrian <mac@calmar.ws>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 08f1e90384 Do not set urgent on window if it is focused 2008-03-23 15:52:21 +01:00
Julien Danjou 279e83ba05 Update titlebar with real floating info now if client is floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 8774c2d85b Revert "don't draw the border of skip'ed windows"
This reverts commit a1437fb66c.

Conflicts:

	ewmh.c
2008-03-23 15:52:21 +01:00
Julien Danjou a47e3d26d5 Add support for urgent style in tasklist 2008-03-23 15:52:21 +01:00
Julien Danjou 44824e9ac7 Draw buf, not text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Arnaud Fontaine f75f16c325 Don't get ascent/descent informations about a font because it's not
useful at the moment (commented out).
2008-03-23 15:52:21 +01:00
Arnaud Fontaine 542a944361 Use Pango for fonts instead of Xft (which hasn't been ported yet to
XCB) to measure text.
2008-03-23 15:52:21 +01:00
Julien Danjou 3a63b7bb52 Put ismoving flag on the right place 2008-03-23 15:52:21 +01:00
Julien Danjou b1cd7d16c6 Do not compute smart floating geometry on awesome restart 2008-03-23 15:52:21 +01:00
Julien Danjou 1acc6ec8f6 Fix various bug with smart/mouse floating placement
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:21 +01:00
Julien Danjou 94a83c84b6 Fix a bug preventing ismoving to be reset to false 2008-03-23 15:52:21 +01:00
Julien Danjou 83cecd067c Remove useless include 2008-03-23 15:52:20 +01:00
Julien Danjou 7c79f94341 Move titlebar initialization routine in titlebar.c 2008-03-23 15:52:20 +01:00
Julien Danjou 02298299b6 Check if c is non NULL before toggling titlebar 2008-03-23 15:52:20 +01:00
Julien Danjou 0b6d6d738a Do nothing it the client already has focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Arnaud Fontaine 7743e71837 Add missing includes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Julien Danjou 720dabbaf6 Add support for titlebar on right 2008-03-23 15:52:20 +01:00
Julien Danjou bb0fab396f Add an ismoving attribute to client to fix a bug with titlebar and mouse moving in Xinerama 2008-03-23 15:52:20 +01:00
Julien Danjou a42d43a853 Fix various placement issue with titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:20 +01:00
Julien Danjou 850145f994 Changing floating geometry is bad 2008-03-23 15:52:20 +01:00
Julien Danjou 466ed47c2a Remove useless code 2008-03-23 15:52:20 +01:00
Julien Danjou 119f1822b6 Fix SEE ALSO section 2008-03-23 15:52:20 +01:00
Julien Danjou a893843873 Fix config option 2008-03-23 15:52:20 +01:00
Julien Danjou 0f845913f4 Fix synopsis 2008-03-23 15:52:20 +01:00
Julien Danjou 280fcf5b5b Return geometry 2008-03-23 15:52:20 +01:00
Julien Danjou 2c0b68cd4e Add --sync option 2008-03-23 15:52:20 +01:00
Julien Danjou dbe2052320 Check for sw also before restacking titlebars 2008-03-23 15:52:20 +01:00
Julien Danjou c99bc4dc1d Fix titlebar drawing on max 2008-03-23 15:52:20 +01:00
Julien Danjou 7462b44e37 Do nothing if no titlebar.sw 2008-03-23 15:52:20 +01:00
Julien Danjou 3eef1842e4 Do not use titlebar_update_geometry_floating() which sucks in client_resize() 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 403d7e89f9 Compute style when we need to. 2008-03-23 15:52:20 +01:00
Julien Danjou cf58c338e4 Add drawing support for left titlebars 2008-03-23 15:52:20 +01:00