Commit Graph

1826 Commits

Author SHA1 Message Date
Gregor Best 5ee4b0d97d Completely change the default mwfact to .618
The original changes to tag.c missed quite a bunch.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-24 15:21:45 +02:00
Gregor Best 95216be66b UICB: allow running a uicb on all screens
-1 is an alias to "run on all screens"

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-23 14:09:33 +02:00
Gregor Best 5e089dceb3 Use inverse of the golden ratio for default mwfact
This makes for a more pleasant splitting between master and slave
windows.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-23 14:09:32 +02:00
Gregor Best ef89a3e3e6 Replace obsolete XKeycodeToKeysym
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-23 14:09:31 +02:00
Gregor Best 61da4d9c22 Add support for _NET_WM_STATE_DEMANDS_ATTENTION
Straight from 3.4

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-22 15:02:27 +02:00
Gregor Best f119a5869f Fix focus tracking on tag viewing
The original reason for this patch was the following:
When focusing a client and hiding that by unviewing all of its tags
and then trying to set the urgent hint on that client got wrongly
ignored.

It also (slightly) changes behaviour when viewing tags: If a new client
is made visible by viewing a tag, and that client comes before the
currently focused one in the focus list, it is focused instead of the
current one.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-22 15:02:24 +02:00
Gregor Best c8255ca554 Draw: fix some Imlib warnings
Using an iconbox without an image caused a warning from imlib.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-22 15:02:23 +02:00
Gregor Best 396ebe5d0b Fix a small compiler warning
Apparently libevent declares a global called 'raise'. The parameter
shadowed that here.

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-22 15:02:23 +02:00
Gregor Best 7bd501af67 Add client_seturgent and a bit more ICCCM compatibility
Stolen straight from 3.4

Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-05-22 15:02:22 +02:00
Nikos Ntarmos ec6f9fa825 titlebar: unmap when going to Off position (FS#156)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-01 16:53:27 +02:00
Nikos Ntarmos bc2e7cde15 uicb: check before overwriting DISPLAY (FS#318)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-15 09:50:56 +01:00
Julien Danjou 2a82b09a73 build: use back quote instead of $()
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-16 17:15:10 +01:00
Julien Danjou dc2dbbb156 build: check for connect in socket lib
This is useful for Solaris, at least.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-16 17:14:37 +01:00
Julien Danjou 8d61619be9 build: use backquote rather then $()
It's more portable.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-16 16:39:23 +01:00
Julien Danjou b3c71a87e4 awesome: define SUN_LEN if not already defined
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-16 15:36:09 +01:00
Hannes Schueller cdd673f6f4 awesome-menu: make autocomplete behaviour configurable (FS#336)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-03 08:59:46 +02:00
Julien Danjou 84a2a34aa6 mouse: fix client snapping
Signed-off-by: Julien Danjou <julien@danjou.info>

Conflicts:

	mouse.c
2008-08-18 11:06:17 +02:00
Julien Danjou deb3cc26d8 Revert "awesomerc: fix xterm -e in case of others terms"
This reverts commit 9de637afee.

Conflicts:

	awesomerc.in
2008-08-02 18:32:19 +02:00
Hannes 4ee816510f awesome-menu: match string mode and autocomplete
I'm made some simple modifications of awesome-menu.c
to achieve the following:

1. Match the string entered by the user with the whole search string.
So far, it only matches from the start of the string. For menu entries
like 'gksu synaptic', the default behaviour is very inconvenient,
because obviously, I don't want to enter the 'gksu' part every time.
Another example: I have iceweasel, iceape and icedove installed.
Entering 'wea' is enough to find 'iceweasel' exclusively if the whole
string is searched. 'ice', on the other hand, won't do much good.

2. If there's just one single match, select that one automatically.
This saves hitting tab once in the cases when the choice is obvious
(because there is only one).

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:40:47 +02:00
Julien Danjou c12f0ff3aa awesomerc: fix default path in menu launching
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 17:41:34 +02:00
Julien Danjou 6d84d8246b awesomerc: fix subprocess (FS#193)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 17:33:22 +02:00
Julien Danjou c4f498fa14 tasklist: add tags as cache element (FS#227)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 17:18:42 +02:00
Mark Somerville e133f6c496 Fixed bug #232 - give floating dialogs of maximised windows focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 09:04:27 +02:00
Julien Danjou 9de637afee awesomerc: fix xterm -e in case of others terms
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 10:07:59 +02:00
Julien Danjou 0eed11dadd [build] Replace $() with ``
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:37:07 +02:00
Michael Gehring d8e4fe9d3f [PATCH] [mouse] show correct geometry on resize (FS#203)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-03 14:24:44 +02:00
Julien Danjou 3b6cddbef2 [config] Add support for mouse button 8 and 9
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 07:30:30 +02:00
Julien Danjou 1b495c698c [focus] Backport `Rewrite focus handling on arrange' from awesome-3
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 11:26:51 +02:00
Julien Danjou 24d2e200af [client] Fix for 'invalidate' cache when swapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 11:59:56 +02:00
Julien Danjou 5daa3c6478 [client] Invalidate cache when swapping
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 11:53:38 +02:00
Jan Niehusmann 78dd0b8620 [event] Fix handling of keysym/keycode in event_handle_keypress.
Only compare the configured one of these two properties for any
given key.

Signed-off-by: Jan Niehusmann <jan@gondor.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 14:23:58 +02:00
Julien Danjou 6623668b6f [config] Store keysym or keycode (FS#64)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 11:12:53 +02:00
Julien Danjou 73dee91a28 [layout] Do not focus new client if current focused is maximized (FS#182)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 11:02:22 +02:00
Julien Danjou 4ca0c6f684 [doc] Generate doc for widgets/layouts/common
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-02 10:55:46 +02:00
Julien Danjou e3496f7a25 [config] Enhance rules documentation a bit
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-30 11:11:32 +02:00
Julien Danjou 20ad84d972 [config] Fix memory leak in widget handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-28 22:00:19 +02:00
Julien Danjou 84df60e11b [draw] Check len while checking for UTF-8 chars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-28 07:35:03 +02:00
Julien Danjou afdc57bc97 [titlebar] Add proper interface to set titlebar position
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-24 22:58:25 +02:00
Julien Danjou 3df5a50fc4 [titlebar] Fix unmap/map handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 14:25:40 +02:00
Julien Danjou 029a60072b Enhance AUTHORS file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 10:52:12 +02:00
marco candrian ce17b1457e [widgets] allow NULL for 'command' (FS#175)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-23 08:49:31 +02:00
Julien Danjou 62e3eb758b [awesomerc] Fix indentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-22 11:03:06 +02:00
marco candrian 88a08c210f force a floating point division
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:28:54 +02:00
marco candrian 8129bb7135 documentation fix on client_settrans
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:28:54 +02:00
marco candrian 7cad52aa01 [progressbar] Fix X computation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-20 09:25:13 +02:00
Nikos Ntarmos ef60378754 [common] remove and getline and strndup usage
There is no getline() on FreeBSD, nor any strndup().

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 23:08:18 +02:00
marco candrian 1b65a8acfd [draw] line-width increasing from 1.0 to 1.25 for line-style
1.25 figured out by testing...

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 11:20:06 +02:00
marco candrian 37f05a8277 [draw] precise line drawing using antialiasing
Antialiasing also has the advantage, that the path get's drawn now precisely -
there have been some issues without ... depending on the line-angle, some
pixels weren't filled on some y coordinates etc.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-19 11:19:59 +02:00
calmar cad79c2e64 BUG's page
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-18 19:33:58 +02:00
Julien Danjou bbb1b233ca [keys] Store KeySym, not KeyCode
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-18 14:57:52 +02:00