Commit Graph

3791 Commits

Author SHA1 Message Date
Julien Danjou ddcbd2ae9d awesomerc: move where the mouse is only soon
That avoids overriding apptag.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:25:49 +01:00
Julien Danjou ee1e63009b awful.menu: check there's at least one item
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:20:33 +01:00
Julien Danjou d6dbb00f10 client: add support for input faking
This is done using XTest extension.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:03:17 +01:00
Julien Danjou c8b17808ef image: realloc rather than delete/new
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:39:31 +01:00
Julien Danjou 9f47cb4d01 client: document content property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:28:24 +01:00
Julien Danjou bdbcd9352d client: add content property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:21:00 +01:00
Julien Danjou 48d4c41ed9 image: add save method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 15:19:01 +01:00
Julien Danjou 6fe62d2093 awesomerc: do not change windows screen if filtered out.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:27:59 +01:00
Julien Danjou d779aa6c40 client: client screen change at manage is done in Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:26:01 +01:00
Julien Danjou cd667802db hooks: manage gets an extra startup arg
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:23:37 +01:00
Julien Danjou 8aa8b17c75 awful.client: do not ignore focused client if filtered in next()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:54:10 +01:00
Julien Danjou adc91aa37a awful.client: check client with filter in history fallback
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:51:46 +01:00
MATSUU Takuto aa38e717e6 build: set minimum pango version required
pango_layout_set_height is implemented in pango-1.19.3.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 10:16:11 +01:00
Maxime COSTE 74188a07df awful.completion: escape spaces
This patch add a bash_escape function for bash completion, at the moment it
only escape spaces, other escaping may easily be added

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 10:14:00 +01:00
Maxime COSTE 3cc60e84dc client: fixed client_isfixed
here is a little patch which fix the unresizeable window bug.  This bug is due
to some windows, like firefox, having XCB_SIZE_HINT_P_MAX_SIZE and
XCB_SIZE_HINT_P_MIN_SIZE on and all related values to 0, which makes
client_isfixed believe that the windows are of fixed size.

Hope this is the right way to fix it. Anyway now you know where this bug comes
from.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 10:13:49 +01:00
Leon Winter 653fa0fadb awful.menu: use bg_image instead of an imagebox
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:59:44 +01:00
Julien Danjou 4379b19eb9 textbox: include margin when computing needed width
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:59:16 +01:00
Leon Winter 8199f1c35a awful.menu: change menu height to 16px
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:39:48 +01:00
Leon Winter ff0f15f9a0 naughty/GetServerInfo: act according spec
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:37:48 +01:00
Leon Winter 2d0c8940fe naughty: announce GetServerInfo over dbus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 09:56:41 +01:00
Leon Winter 894f9c5439 naughty: fix returning correct awesome version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 09:56:41 +01:00
Julien Danjou e7db0a58ee image: set alpha when creating ARGB32 image
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 17:39:41 +01:00
Julien Danjou d709180738 wibox: reset mouse_over on visibility/attachment changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 16:58:15 +01:00
Julien Danjou 8a43415c0c image: add alpha property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 15:18:47 +01:00
Sébastien Gross 8fb0ba2417 awful.completion: remove keywords global variable
* move keywords global variable to generic() last parameter.
  This prevents from having table clash.

  Please udate you configuration according this feature in your
  awful.prompt.run() calls.
  If keywords parameter is missing then no completion would be
  done.

  Before:
   awful.completion.keywords = kw
   awful.prompt.run( [ ... ],
     function(t, p, n) return awful.completion.generic(t, p, n) end,
     [ ... ] )

  Now:
   awful.prompt.run( [ ... ],
     function(t, p, n) return awful.completion.generic(t, p, n, kw) end,
     [ ... ] )

Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 13:55:41 +01:00
Damien Leone d3a4506a43 awesomerc: raise client when awful.client.focus.history.previous() is called
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 11:50:43 +01:00
Julien Danjou 53f58aa1a6 keybinding: move to key
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 11:33:52 +01:00
Leon Winter fa41e0d395 naughty: return correct awesome version via dbus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 09:56:28 +01:00
Leon Winter e8502a268f naughty: add callbacks for presets
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 09:56:05 +01:00
Paul Hinze cf5195a4d2 Adding Mod4 + o to the man page Signed-off-by: Paul Hinze <paul.t.hinze@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-17 10:04:26 +01:00
Julien Danjou b0d5d7dbef image: add orientate() method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 16:45:24 +01:00
Julien Danjou 0288e227ee image: copy data before using it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 16:44:25 +01:00
Julien Danjou 8193a9cf0c keygrabber: identify release events
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 15:02:54 +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
Julien Danjou 67a9f0d302 keybinding: add support for release event
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 12:00:51 +01:00
Julien Danjou 13787c0ba8 luaa: do not replace string.len(), export wlen()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 14:06:22 +01:00
Arnaud VALLAT ba6f5e42bb ewmh: add suport for _NET_ACTIVE_WINDOW message
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 10:47:07 +01:00
Leon Winter a1489b867b awful.layout.set for non active tag
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 10:00:15 +01:00
Leon Winter f49ce21335 telak: use luasocket instead of external wget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 09:59:14 +01:00
Gregor Best fc91497d2f awful.mouse: split client.dragtotag into .widget and .border
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 09:57:22 +01:00
Maarten Maathuis 02e4be93dc completion, util: Check for io.popen failure.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +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
Leon Winter 5f8b34b909 naughty: convert text and title tostring()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Leon Winter b4f0e90362 naughty: support for categories via mapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis 709ae7afc7 mouse: prevent resizes of maximized windows
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis 49ad26d2d2 titlebar: fix geometry calculations
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis 630ef295a1 titlebar: resize client when adding/removing so total size remains the same
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Gregor Best f655e8bcf4 awful.mouse: add wibox.move()
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou 59c04ce3dc wibox: add mouse bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou f8063dea09 refcount: remove useless assert include
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00