Commit Graph

4173 Commits

Author SHA1 Message Date
Julien Danjou 5154cfc19f remove deprecated functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou e6c7770b33 awful.client: remove debug print() (FS#469)
Shame on me.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:54 +01:00
Julien Danjou dd862007a9 dbus: fix fixed array handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-11 16:20:39 +01:00
Julien Danjou 01a74e9c9e dbus: push nil on unhandled elements
That fix the handling of dict in case we do not handle the value, we
would get:

dict entry (
  type
  type-not-handled
)

returned as 1 value (the key), and lua_rawset() would fail later.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-10 09:17:00 +01:00
Julien Danjou b07857b4f6 suit.magnifier: fix focused window handling in multi screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-10 07:56:48 +01:00
Julien Danjou fce7f17915 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-06 13:53:17 +01:00
Mariusz Ceier 926f458331 event: FocusIn and FocusOut events handlers
We need to handle FocusIn event to update focused client, when client
with GAIM sends SetInputFocus message (that is FocusIn event for WM).

Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-03 17:24:50 +01:00
Julien Danjou 9b654095ec client: add Globally Active Input Model (GAIM)
with small fixes, changes:
- client_focus handles case when c==NULL
- don't focus on already focused client

- added window_takefocus function, that sends WM_TAKE_FOCUS client
  message. It is needed by GAIM and Locally Active Input Model.
- moved invocation of lua focus hook from client_focus to
  client_focus_hook function.

- client_focus has one additional paremeter, sendmessage.
  It is used in FocusIn event handler, to disable sending SetInputFocus
  and WM_TAKE_FOCUS messages ( to avoid infinite loop )

Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-03 17:24:40 +01:00
Julien Danjou 527e6308c3 graph: return if size is 0 (FS#466)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-02 17:43:14 +01:00
Julien Danjou ab0220274e graph: check width value (FS#465)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-02 14:20:08 +01:00
Julien Danjou e81fd419c3 luaa: return parsing error right away
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-02 14:16:08 +01:00
Julien Danjou bcfdc290db change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-27 10:47:29 +01:00
Julien Danjou 7cd50a3d81 key: remove dead code
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-26 17:57:27 +01:00
Julien Danjou 9db9abd02a client: remove _AWESOME_FLOATING
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-26 12:35:46 +01:00
Gregor Best 75b4f04251 lib/awful/hooks: fix removal of last timer hook
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 19:31:18 +01:00
Damien Leone 84b75524ee awesomerc: raise client when focused with mouse buttons 4 and 5
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 17:43:25 +01:00
Julien Danjou baab41fb1f Revert "awesomerc: raise client when focused"
This reverts commit 2de0b063fe.
2009-02-24 17:42:21 +01:00
dcurtis@cs.uiowa.edu 8f7ecb798d awful.client: Automatically select the current client during a toggle
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 11:08:22 +01:00
Julien Danjou e2bfc1ca5f wibox: fix south systray orientation (FS#459)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 15:39:37 +01:00
Julien Danjou 8b79502302 naughty: return unsigned
Actually, libnotify expect an unsigned for the id, not a signed integer.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 15:32:24 +01:00
Julien Danjou 9554536db6 naughty: init preset
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 15:25:21 +01:00
Julien Danjou 1e74e61c13 wibox: use orientation rather than position
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 14:51:30 +01:00
Julien Danjou b282bf0086 awful.menu: fix auto_expand attribute copy between parent and child
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 14:19:49 +01:00
Julien Danjou 37d2fb6781 awful.menu: fix auto_expand
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 14:12:28 +01:00
Damien Leone 67f04c0d68 awful.menu: add auto expand feature
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:58:23 +01:00
Damien Leone 232a362994 awful.menu: refactoring menus
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:55:20 +01:00
Julien Danjou 2a45cd556f awesomerc: change default time to be human readable
This will also reduce awesome wake up by only printing minutes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:54:21 +01:00
Damien Leone 46144588f5 awful.menu: fix submenus coords and fix border gaps between menu items
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 10:13:44 +01:00
Damien Leone 2de0b063fe awesomerc: raise client when focused
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-21 11:59:21 +01:00
Gregor Best 01a725757a awful.hooks: replace already existing timer hooks instead of creating new ones
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-21 09:34:54 +01:00
Julien Danjou c86ef562b4 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 15:17:30 +01:00
| 334adf5208 awesomerc: do not use table.insert(), define table
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 15:02:22 +01:00
Julien Danjou a89ceecb1d xutil: handle COMPOUND_TEXT blindly
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 11:47:56 +01:00
Julien Danjou 77075d7281 property: do not convert
We do not need to convert text unless we render them.
And textbox already convert.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 11:07:39 +01:00
Maarten Maathuis c675bf64ec client: fix client_setborder
- Don't know why I didn't do this correctly in the first place :-|

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 09:48:34 +01:00
Julien Danjou f711503d7b client: call unfocus hook when we changed focused client (FS#454)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-19 16:27:06 +01:00
Julien Danjou a95fc407b5 client: add .id field
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-18 16:53:42 +01:00
Julien Danjou 3f75f6827c awsetbg.1: add -m doc
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-18 15:43:27 +01:00
Maarten Maathuis 4f447bcbdc Revert "client: remove a few useless client_need_arrange()."
This reverts commit c9caf05c2d.

- They were not so useless after all, the reason is that before or after setting the new state client_need_arrange() is a no-op.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-17 10:39:43 +01:00
Damien Leone d2af75691e awful.widget: handle clients without title on tasklist widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 15:01:31 +01:00
Maarten Maathuis 829b30c8a6 layout: reset need_arrange before calling arrange.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 13:34:48 +01:00
Maarten Maathuis c9caf05c2d client: remove a few useless client_need_arrange().
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:34:53 +01:00
Mike Kelly 0d834c325b Luadoc for taglist.gettag.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:24 +01:00
Mike Kelly 851047f6f2 Luadoc for awful.mouse.*_under_pointer
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:21 +01:00
Mike Kelly 77d6562e02 Fix luadoc for escape/unescape. Add docs for getdir.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:16 +01:00
Maarten Maathuis 06bc2a2e37 placement: allow centering on a parent.
- Typical usecase awful.placement.centered(c, c.transient_for).

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:31:10 +01:00
Maarten Maathuis 3d0a7e205a event: small code harmonisation.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:30:55 +01:00
Maarten Maathuis e11bc9e553 event: block stacking related changes in configurerequest.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:30:42 +01:00
Maarten Maathuis 04df061aa0 event: handle border size changes in configurerequest
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:30:23 +01:00
Maarten Maathuis 71bd32bcb1 event: Actually modify ev->x and ev->y for banned clients.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:29:56 +01:00