Commit Graph

2703 Commits

Author SHA1 Message Date
Julien Danjou e6b14c1d39 [client] Fix border width setting
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 08:14:54 +02:00
Lucas de Vries 0ccfea330a [tabulous] Improve
I've attached a patch file which improves on the recently added
tabulous lib a lot, using it will require a bit more config-end logic,
but it's much more powerful and allows for things such as tabbars and
autotabbing.

List of changes:
* [awful] Add awful.hooks.userhook_create and
awful.hooks.userhook_call so external libs can easily add their own
hooks (tabulous uses these)
* Tabulous now uses a tabindex system, instead of a messy circular
table, every set of tabs is now a tabbed view, this is more practical
and allows for the same order to be retained even if the focus shifts
(otherwise, the currently focussed tag would always be the first one
in the tabbar)
* Tabulous now exports a number of extra functions that will help you
in managing your tabs efficiently
* Tabulous now has an autotab_start() function you can call
(preferably right after the require so any other hooks you may have
set up won't interfere with it), when this is on, any newly created
windows will automatically be tabbed into the current tabbed view if
you have one selected (if the focussed window is not part of a tabbed
view, tabulous will do nothing)
* Tabulous bugfixes

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:47:57 +02:00
Julien Danjou 11e93c2dbf [client] Fix titlebar destruction
We need to unref AFTER...

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:38:40 +02:00
Michael Gehring 276f5f8849 [doxygen] Add \lvalue and convert existing doc.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:36:34 +02:00
Julien Danjou 6cd6e18e29 [keygrabber] Add keys between XK_Home and XK_Begin
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 22:57:26 +02:00
Julien Danjou 7d79509df9 [keygrabber] Fix key mapping
- Use Mod5 to enter group 2 and 3
- Do not call the function is key not recognized

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 22:37:45 +02:00
Julien Danjou 213b2190ed [client] Fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:48:38 +02:00
Julien Danjou f11c913bc4 [lua] Fix gettop() usages
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:32:26 +02:00
Michael Gehring 1ca55927f0 [doxygen] Convert Lua documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 20:12:51 +02:00
Julien Danjou 88c76cadf4 [titlebar] Allow nil to be arg of titlebar_set()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:35:38 +02:00
Julien Danjou e9bfdcf681 [client] Documentation update
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:29:53 +02:00
Julien Danjou c5c75bf960 [client] Add ishidden() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:17:12 +02:00
Julien Danjou 4573147196 [hooks] Rename newclient to `manage', add unmanage hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:03:10 +02:00
marc lagrange 77fc1cb503 [awful] Add escape function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 18:26:14 +02:00
Julien Danjou 13a96b6edd [keygrab] Add keygrabbing infrastructure
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 17:22:36 +02:00
Julien Danjou 4a07bc578f [build] Fix gendoc spaces
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 16:44:47 +02:00
Julien Danjou df2770bb2f [client] Loadprops use screen_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 15:15:13 +02:00
Julien Danjou cd825b36c0 [awful] Add a check in toggletag
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 11:51:36 +02:00
Julien Danjou 43fee02a5b [tabulous] First import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 10:18:56 +02:00
Julien Danjou aa6bfc560a [draw] Do inline UTF-8 conversion
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 07:32:35 +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 ac1517bacb [client] Add support for hide/unhide
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 18:24:12 +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 89daa72790 [mouse] Fix bug with floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 18:16:55 +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
Michael Gehring 244a02b2d6 [lua] Fall back to default config file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 15:31:19 +02:00
Michael Gehring 19534c0bfc [build] Install awesomerc.lua to $sysconfdir/awesome
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 15:31:11 +02:00
Julien Danjou 5a88d26f0e [awesome-client] Fix manpage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 14:06:12 +02:00
Julien Danjou ce44489bf2 [awful] Add client.movetoscreen()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 09:06:00 +02:00
Michael Gehring 4af0791499 [lua] Split luaA_parserc into luaA_init/parserc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:52:00 +02:00
Michael Gehring 35d1bc283f Move default color/font initialization out of luaA_parserc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:51:46 +02:00
Michael Gehring 0422266818 testdrive new doxygen commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:49:00 +02:00
Michael Gehring 9b2a5be57f adapt gendoc.lua to work with the new lua commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:49:00 +02:00
Michael Gehring 125d12a1a2 add lua commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:49:00 +02:00
Julien Danjou ca81c9a1f1 [mouse] Add optionnal argument to specify corner to grab when resizing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 18:15:53 +02:00
Julien Danjou 8078d45da1 [statusbar] Use new userdata fct
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 18:05:32 +02:00
Michael Gehring 59c04890fc [cleanup] random doxygen fixes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 17:13:09 +02:00
Julien Danjou 75cb6b81af [screen] s/move_client_to_screen/screen_client_moveto/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 11:02:34 +02:00
Julien Danjou b3bb0faf36 [widget] Stop using useless screen fct
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 10:59:13 +02:00
Julien Danjou 8776b3adb5 [draw] Rename var
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 10:58:48 +02:00
Julien Danjou 4f0dbdabb0 [xutil] Move cursor creation to xutil
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 10:08:44 +02:00
Julien Danjou c148b378cf [build] Replace $() with ``
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:35:41 +02:00
Lucas de Vries 90088be534 [taglist] Fix taglist bugs in show_empty=false mode
Attached patch fixes the width allocation for the taglist (it stayed
the same size when it should've become smaller (FS#205)), as well as a
bug with mouse bindings when the first tag was empty and thus hidden.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:32:18 +02:00
Michael Gehring 8ab1831ed6 [mouse] Use different cursors for vert./horiz. resize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:28:11 +02:00
Michael Gehring 0db5446b2e [mouse] Rework tiled resizing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:26:12 +02:00
Julien Danjou 6d89565c8e [mouse] Use different cursors for corners
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-07 16:38:33 +02:00
Michael Gehring f00b5b252c [mouse] Grab Pointer before warping it.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-07 10:41:19 +02:00
marco candrian 265fc187a9 [graph] rename 'max' to 'max_value' (like in the progressbar)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-07 10:41:19 +02:00
marco candrian 57227075d9 [awful] client_moveresize(+/- x-offset, +/- y-offset, +/- width, +/- height)
e.g.:
awful.client.moveresize(10, 0, 0, 0) --increase x-offset by 10 pixels -> moves it to the right
awful.client.moveresize(0, 0, -10, 0) --decreases width of client by 10 pixels

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-07 10:41:19 +02:00
Julien Danjou 2b4ffb4b74 [event] Simplify event_handle_maprequest()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-05 18:13:11 +02:00