Commit Graph

4283 Commits

Author SHA1 Message Date
Julien Danjou c70f284b45 draw: check harder for visual
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou 41296008a3 awful.layout.suit.floating: simplify
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou 122e1cc28a awful.layout: make layout optional
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou 84ee8f1f92 event: implements Bob Marley version 2
Version 1 was supposed to store somehow the mouse coordinates to drop
spurious EnterNotify.

Now, we use a simpler way: we just tell the X server we do not want to
receive this events while we are arranging, since we would get spurious
ones.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou 17e2d9e58f client: remove _AWESOME_TAGS property
We use EWMH hints.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou cc2b8f4e89 client: remove useless _AWESOME_FULLSCREEN
We use EWMH hints, it's enough.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Christian Kuka c635d3e2d1 awful.completion: add zsh completion
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu 2a2166d856 awful.layout: do not use global env
Layouts are passed a data structure that holds all the
information they need to render the clients.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu a2fe3919f2 awful.layout: store name into module
Layouts now store their name as a string and their arrange function
in a table rather than being stored as the entire module.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou 8745d691fe buttons: change grabbing method
We stop grabbing buttons on root windows. We select button press and
release events, and then we check that we have a bindings for them.
This allow to simply grab buttons on client once, and not redo such
things on arrange or mouse-over-window changes.

Most window managers do like this, anyway.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
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