Commit Graph

17 Commits

Author SHA1 Message Date
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 2e97991a90 beautiful: merge awful.beautiful, stop registering system
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 11:54:23 +01:00
Julien Danjou 0cddba4d82 awful.menu: store active child
This fix the menu when they are multiple submenu entries.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 19:09:20 +01:00
Julien Danjou 36e4847dd1 themes: move theme icons to themes/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 12:02:08 +01:00
Julien Danjou 950e9f96c5 awful.menu: fix icon widget if no image given
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-08 14:32:50 +01:00
Julien Danjou cb43b5a5bd awful.menu: rewrite to be more object compliant
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Damien Leone d8aef41795 awful.menu: add menu_toggle parameter 2008-10-30 12:52:16 +01:00
Damien Leone a2f3790dce awful.menu: add a close function and fix various bugs 2008-10-27 12:30:47 +01:00
Julien Danjou 827d084dbf awful.menu: escape client name in clients menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-25 15:36:08 +02:00
Damien Leone 666f3c9c83 awful.menu: add custom theme and fix various bugs 2008-10-25 15:33:02 +02:00
Damien Leone e3ea2789de awful.menu: fix screen width computation 2008-10-24 11:04:02 +02:00
Damien Leone 7750631bf2 awful.menu: prevent menus from poping outside the work area 2008-10-24 10:37:59 +02:00
Damien Leone 75e6f4cb9e awful.menu: change menu parameters to use a table, add height and width parameters
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 15:22:10 +02:00
Julien Danjou dc58313eee awful.menu: add a menu for listing clients
This also allows usage of images object as icons, and destroy menu on
function execution.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:19:46 +02:00
Julien Danjou 8824d9f703 awful.menu: add support for functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:52:51 +02:00
Damien Leone 4a6885e0eb awful.menu: align text when item doesn't have icon
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 16:25:07 +02:00
Damien Leone 4d5b43a75e awful.menu: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:20 +02:00