Commit Graph

4862 Commits

Author SHA1 Message Date
Uli Schlachter 33e209dd83 Re-add lazy banning
This kind-of-reverts 058dbab828.

If banning_refresh() is called, only the lua events that it generated before are
now generated (the unfocus event). The actual mapping and unmapping of X11
windows is defered until the end of the main loop via a new per-screen
need_lazy_banning flag.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 14:04:59 +02:00
Uli Schlachter 9a56a3ad4b Add client_ban_unfocus
client_ban_unfocus() generates the unfocus events that client_ban() would
generate, but it doesn't do the actual banning.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 14:01:04 +02:00
Julien Danjou 67e5346956 Revert "beautiful: init default theme by default" and "awesomerc: stop handling beautiful"
This reverts commit 42c47eecce.
This reverts commit 4823a12541.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 13:43:49 +02:00
Julien Danjou d49756c252 luadoc: add awesome.spawn documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 11:44:19 +02:00
Julien Danjou 9166584b96 awful.tag: fix view{only,more}
Now they do not select multiple tags at once, and they do not flicker.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 11:24:39 +02:00
koniu 52c4461169 awful.tag: fix typo in viewmore
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 10:14:36 +02:00
Uli Schlachter 2d15a67f25 Image: Allow objects to be drawn outside of the image
At least for circles it's really useful to be allowed to draw a circle which is
only partly inside the image. For the other drawing functions there should be no
reason why this shouldn't be allowed.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-27 16:00:58 +02:00
Uli Schlachter 8165a3b483 image: Fix a memleak
Before this patch, this code allocated a buffer and then created an imlib image
from this via imlib_create_using_copied_data(), but this function does not take
ownership of the buffer you pass in and thus we had a memory leak.

This is fixed by using a separate function for creating "empty" images which
doesn't have this memory leak problem.

This patch was verified using a quick valgrind run and seemed to be fine.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-26 13:20:00 +02:00
Julien Danjou 539af16a65 tag: emit selected signal after banning change
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-23 15:46:42 +02:00
Julien Danjou 1bf296dfce awesomerc: only uses placement when no hints (FS#637)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-23 10:07:02 +02:00
Julien Danjou 61d2712076 awful.completion: use sort -u to sort (FS#621)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 17:15:49 +02:00
Gregor Best ae0bf17af2 awful.tag: fix screen in viewonly
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 16:33:53 +02:00
Julien Danjou 7c5ba1fcef awful.tag: filter out window before switching screens (FS#633)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 16:09:44 +02:00
Julien Danjou 9388dc5a1e awful.client: fix initial geometry storage (FS#608)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:56:58 +02:00
Julien Danjou e4df381c3e client: emit more signals on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:52:06 +02:00
Julien Danjou 69fa11af8f screen: only untag if client had a screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:51:55 +02:00
Julien Danjou d4e6411971 awful.tag: make viewmore smarter
This avoids flickering.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:11:40 +02:00
Julien Danjou 743603d24d awful.tag: make viewonly more smart (FS#634)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 14:09:56 +02:00
Julien Danjou f347876af4 awful.tag: fix client auto-tag on startup (FS#618)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 11:57:40 +02:00
Julien Danjou c5acc8f613 client: remove banning_refresh (FS#631)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 15:01:36 +02:00
Julien Danjou 7fae0db5ea tokenize: remove useless tokens
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:29:42 +02:00
Julien Danjou 058dbab828 banning: remove passive refresh support (FS#629)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:18:24 +02:00
Julien Danjou 890e15fa19 screen: fix tag removal/add
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 12:12:59 +02:00
Julien Danjou 9f21570a05 awesome.1: remove Java stuff (FS#630)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-21 10:14:16 +02:00
Julien Danjou f3c57faf1d awful.layout.suit.magnifier: simplify
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 13:40:29 +02:00
Julien Danjou 295f712552 awesomerc: use keycode for tag bindings (FS#627)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:41:55 +02:00
Julien Danjou 36d9178917 awesomerc: enable smart placement
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:35:59 +02:00
Julien Danjou 9c21ce8907 awful.layout: listen to geometry signal and lock arrange (FS#625)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:31:49 +02:00
Julien Danjou 91b4611c94 client: emit geometry signal
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:31:31 +02:00
Cedric GESTES 9a0ae64840 placement: import center_horizontal and center_vertical
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-14 11:53:45 +02:00
Adrian C. (anrxc) 626ea00ca0 themes: added mouse finder and tooltips
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:38:59 +02:00
Jacob Winther 808be1d9b8 variable set twice in client.lua
Very small fix.

From 6933b43bd3d00baba661b367db5450a9179da0c7 Mon Sep 17 00:00:00 2001
From: Jacob Winther <jacob.winther@gmail.com>
Date: Sat, 12 Sep 2009 06:59:58 +1200
Subject: [PATCH 1/2] awful.client: remove duplicate variable

Signed-off-by: Jacob Winther <jacob.winther@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:33:31 +02:00
Sébastien Gross e196826415 awful.tooltip: ensure tooltip is attached to a screen
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 18:21:28 +02:00
Julien Danjou 4e35145ee3 remove bad files
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 14:21:19 +02:00
Julien Danjou ff653fd881 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:45:33 +02:00
Julien Danjou 8588e2d594 awful.mouse: load finder
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:43:02 +02:00
Sébastien Gross 4d1ca7bc18 awful: Add a mouse finder capability
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:38:38 +02:00
Julien Danjou 1d595fe507 awful.mouse: move into a directory
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:31:33 +02:00
Sébastien Gross 2faa2c1d2d awful: add tooltip module
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 20:27:47 +02:00
Uli Schlachter 7fc0c24f4f awful.wibox: Error out on invalid positions
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 19:50:52 +02:00
Julien Danjou 444edf1d03 awful.wibox: update documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 17:02:56 +02:00
Julien Danjou c0cb4203a9 awful.tag: fix withcurrent screen choice (FS#616)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 16:41:23 +02:00
Julien Danjou b94a32c281 client: emit x,y,width,height signal on size changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 16:09:47 +02:00
Julien Danjou 26a367fab0 icons: remove invaders
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 13:29:25 +02:00
Julien Danjou 67b66a8d62 awesome: fix memory leak with confpath
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 12:01:07 +02:00
Julien Danjou 97d82d8517 client: fix machine memory leak
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:21:47 +02:00
Julien Danjou 17226e5a61 telak: remove
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:43 +02:00
Julien Danjou 3617c4d43e invaders: remove
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:15 +02:00
Stephen Sugden 24a614f8d0 awful.menu: fix wibox height computing
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:24:32 +02:00
Julien Danjou 68148167ef awesomerc: fix default menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:23:18 +02:00