Commit Graph

1818 Commits

Author SHA1 Message Date
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
marco candrian cbef649a2d [graph] fix: use own vertical_gradient config for each data{}
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-18 09:12:08 +02:00
marco candrian 2eb6fda36e [graph] simplify 'line' drawing; draw the border after the graph-drawing
Drawing the border after the graph-drawing, allows to draw down to the border itself
when 0 values occur.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-18 09:12:02 +02:00
marco candrian 9ba6cfd6c5 [progressbar] using the new draw_rectangle function with outer-coordinates
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-18 09:11:48 +02:00
marco candrian 84e8949860 [draw] draw_rectangle draws stuff inside the coordinates
E.g. to get single line (or rectangle with width = 1 etc), the path should go
through the center of the pixels (.5), when that path gets stroked finally, it
filles the pixels fully.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-17 19:10:24 +02:00
marco candrian 66d24bb191 [progressbar] fix vertical-reversed bar + cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-17 09:50:00 +02:00
marco candrian 3f1c8a9479 [progressbar] about cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-17 09:49:49 +02:00
marco candrian 47495c50e3 [draw] provide the middle of a pixel to make sure it draws/fills that particular pixel/line
Fixes FS#162 now also on my PC in any way (it filled the pixels on the right
when a gradient was given, else the one on the left of x.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-17 09:46:23 +02:00
marco candrian 4817c018d0 draw_style has 'bottom', 'top' and 'line' options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-16 18:32:09 +02:00