Arnaud Fontaine
bf4071397a
* Remove buggy ignore_motion_events.
...
* Add xcb_aux_sync() in order to fix problem when moving or resizing a window.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
ed00d300ab
Translate properly a KeyCode to a KeySym and a string (XKB support
...
missing ATM).
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
64edc7c767
Allow to specify hexadecimal colors in configuration
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
970d2e7bd9
When handling a ConfigureRequest, send a ConfigureWindow according to
...
the event value mask.
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
4a1720ddca
Remove useless x_select_input() which leaded to useless requests
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
abcb60b9ea
Fix x_get_transient_for_hint() based on XGetTransientForHint()
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
164e696005
Cosmetic
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
163c1240d8
Fix incorrect call of xcb_configure_window()
2008-05-03 12:01:00 +02:00
Arnaud Fontaine
df3e102832
Rewrite code which query xinerama screens to fix a double free
2008-05-03 12:00:59 +02:00
Arnaud Fontaine
3ea19aab12
Set properly the border width of a new window
2008-05-03 12:00:59 +02:00
Arnaud Fontaine
4bd034f768
Use unchecked instead of checked call because the error has to be in the error queue
2008-05-03 12:00:59 +02:00
Arnaud Fontaine
98091b2f1e
Copy properly a window text property
2008-05-03 12:00:59 +02:00
Arnaud Fontaine
dafafd077c
Port Awesome to XCB
2008-05-03 12:00:59 +02:00
Thomas Janu
7e301b5ef2
Layer 0 is also usable now
...
The check for a valid layer was wrong
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:00:25 +02:00
Wolfgang Kroener
3af77fd56e
add ewmh stacking layers
...
Add layers for ewmh stacking order
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#STACKINGORDER
desktop, below, tile, float, above, fullscreen
Signed-off-by: Wolfgang Kroener <wk@azog.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:00:25 +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
marco candrian
96fe2ec6fd
[widgets/graph] when grow=right, fg_end in on the left of the rectangle (FS#163)
2008-04-14 04:23:57 +02:00
marco candrian
09be09bf41
[doc] graph's grow has left and right (only)
2008-04-14 04:21:52 +02:00
marco candrian
bc7d9211ba
[widgets/graph] offset fixed now.
...
In fact on my pc, when there is no fg_end or fg_center defined,
it draws it one pixel too much on the right.
On Gigamo's PC, that patch should work on any case.
It also 'should' work from what I guess!
For people having a problem, they could define fg_end to the same as fg.
Or when it's really serious (on not just here), that could be done inside
awesome.
(Finally somekind of little cairo bug, from my perspektive)
2008-04-14 04:21:52 +02:00
marco candrian
8277693ab4
[common/draw] no slightly diagonal gradient anymore (again)
...
that 'fix' didn't work out anyway properly.
Following patches should do a better job.
2008-04-14 04:18:40 +02:00
marco candrian
fe07cd4f30
[draw] miter set to 10 is enough
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-13 14:18:29 +02:00