Commit Graph

4624 Commits

Author SHA1 Message Date
Julien Danjou d02403e6b9 event: fix ConfigureRequest handling (FS#424)
ConfigureRequest are sent with real X windows size, not fake size with
border and titlebar.
So we need to re-add size of borders and titlebar before calling
client_resize(), otherwise we set a X size the client can considers wrong
and then we start loopin forever since we do not handle its request to
be sized correctly.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-10 10:03:41 +01:00
Julien Danjou 61359d0352 awful.placement: fix name collision
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-09 12:39:27 +01:00
Julien Danjou 8c83287e10 awful.placement: fix floating detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-09 11:56:36 +01:00
Leon Winter ab57bad361 awesomerc: open clients menu only once
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 14:29:15 +01:00
Julien Danjou 8a82349da3 awful.tag: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:26:12 +01:00
Julien Danjou e49ab302b9 naughty: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:26:00 +01:00
Julien Danjou b78dd5e8b6 awful.placement: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:25:45 +01:00
Julien Danjou f8c9a5e5e5 awful.menu: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:25:27 +01:00
Julien Danjou b69e249503 awful.prompt: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:23:31 +01:00
Julien Danjou fba27a5315 awful.client: do not export documentation of local functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:21:47 +01:00
Julien Danjou d74358a2b1 naughty: check for D-Bus availability
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 11:39:53 +01:00
Julien Danjou fae7e5bb8a wibox: check coordinates and screen attributes match
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 11:01:06 +01:00
Perrin "kAworu" Alexandre 14ef6acd48 fixed CMake logic error in Lua detection.
Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-07 11:13:40 +01:00
Julien Danjou 33372ea318 selection: do not use a useless module
We rather just export the function.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 17:02:08 +01:00
MATSUU Takuto 7e324e962e awesomerc: fix floating state handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 13:13:10 +01:00
Julien Danjou 84fad1a9cd awful.client: fix floating detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 11:12:14 +01:00
Perrin "kAworu" Alexandre e3068bd2b6 use SYSCONFDIR to find bash's completion file.
Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 18:44:17 +01:00
Julien Danjou d9c868b627 client: implements per-client key bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 16:59:20 +01:00
Julien Danjou bf44ae1e03 luaa: move root button bindings to root module
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 14:31:42 +01:00
Julien Danjou 8edd049e4d keygrabber: report modifier key press
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 11:22:04 +01:00
Julien Danjou 90b1adc0ce awful.prompt: Tab is now reported as Tab
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 11:16:08 +01:00
Julien Danjou 5751049745 awful.prompt: add support for Shift+Insert to paste
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-04 17:44:37 +01:00
Julien Danjou c8c2c75472 keygrabber: add a bunch of new key
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-04 17:44:19 +01:00
Julien Danjou cdbbe39011 key: add fallback when second column unavailable
This allows to translate certain combinaison like Shift+Insert.
Insert exists, but Shift+Insert converts to no symbol, resulting in
XCB_NONE returned.

We return either the k0 alternative, without shift, so we got at least
the 'simple' keysym.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-04 17:38:40 +01:00
Gregor Best c242657c3b awesome: add selection() for getting the primary X selection
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-03 11:52:24 +01:00
Julien Danjou 34020c31f8 Update copyright years
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-02 11:58:52 +01:00
Julien Danjou 17928bc112 ewmh: add support for _NET_WM_DESKTOP update
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-02 11:55:46 +01:00
Mariusz Ceier 2e345fbcda client: allow selection of nofocus windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-02 11:24:48 +01:00
Arnaud Fontaine 2a882803ec revolution: update tag creation accordingly to the new tag API 2008-12-30 19:38:14 +01:00
Roland Kammerer 7e6e50b1c5 awesome-client: fix warning by using a_asprintf()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 18:57:43 +01:00
Julien Danjou 99227dff1b awful.button: fix typo in image creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 18:15:09 +01:00
Julien Danjou 5977408e34 awful.widget: button can take a string as image argument
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 18:08:44 +01:00
Julien Danjou 0fea9909af build: add a xcb-property check
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:32:32 +01:00
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