Commit Graph

2174 Commits

Author SHA1 Message Date
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
marco candrian 62ac090368 [common/draw] curious (cairo?) bug, sometimes draws the line 1 pixel to much on the right
happens only when creating a gradient, and not always, and
adding + 1 (creating a slightly diagonal gradient), seems to help a little bit).
2008-04-12 06:56:14 +00:00
marco candrian 727a42eb41 [common/draw] force the draw of the left bottom corner on rectangles
setting the miter limit to 100 works here. How to do it really properly, I won't know actually.

http://cairographics.org/manual/cairo-cairo-t.html#cairo-set-miter-limit
2008-04-12 05:41:46 +00:00
marco candrian 4e15b4fab4 [widgets/progressbar] calculate/return 'real' width (instead of d->width) when ticks are used 2008-04-12 04:49:15 +00:00
Fabienne Ducroquet b12a5235a5 [doc] Fix some typos, modify a few descriptions
Before awesome 2.3 release, I've decided to look for typos in the
awesome* manpages, here is the result. I've also modified some options'
descriptions that I didn't find very clear, I hope I have not
added/missed too many mistakes as I'm not a native English speaker...

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-11 07:34:45 +02:00
Julien Danjou f3d6ca0072 [client] Fix issues with opacity
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-10 13:18:08 +02:00
Julien Danjou a09e6180bb [mouse] Allow multiple bindings for mouse events
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-09 18:03:25 +02:00
Julien Danjou d95b38849b [layout] Fix focus on arrange for multi head
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-09 17:15:44 +02:00
Julien Danjou c3ba206dc6 [mouse] Use mwfact lower and upper limits
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-09 16:54:52 +02:00
Julien Danjou 4343771bc7 [uicb] Prefix uicb_run
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-09 13:14:56 +02:00
marco candrian 3f38529b0c [doc] generate rc skeleton based on the order found in common/configopts
what is much better now already.

Much better could be achived still once
2008-04-09 03:07:57 +02:00
marco candrian 0113e69463 [docs] rcskeleton improving and completing 2008-04-09 02:21:54 +02:00
Julien Danjou 76fb9906ca [client] Fix opacity focused issue
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 16:27:27 +02:00
Julien Danjou 2f513459e2 [titlebar] Give focus when clicking with Button1
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 16:11:13 +02:00
Julien Danjou 5a062eb0d3 [client] Fix placement for maximized apps
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 15:40:33 +02:00
Julien Danjou 40eaa6b997 [doc] Add a bunch of documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 09:45:48 +02:00
Julien Danjou 212b5578aa [doc] Add rcskeleton to gitignore
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 09:18:50 +02:00
Julien Danjou b4932cbea6 [focus] Add doc for uicbs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 09:17:52 +02:00
Julien Danjou 6b19c3e246 [doc] Rewrite type details
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 08:28:37 +02:00
marco candrian 03e754e04a [doc] Initial rc skeleton generator
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 08:18:19 +02:00
Julien Danjou 7124b8887c [tasklist] Fix focused client handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-07 20:34:42 +02:00
Julien Danjou 70b745b315 [build] include common.h
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-07 08:24:47 +02:00
Julien Danjou 5f3e37e099 [build] Use real image library name
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-07 07:50:08 +02:00
Tim Conrad 568117dae1 [doc] Added socket checks for the examples
In the examples in awesomerc.5.txt, they kind of assume that awesome is
already running. If you run them from your .xinitrc, they'll fail, because
the awesome socket isn't available.

This patch adds a quick check to make sure the socket is there before
starting up.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-04 15:34:07 +02:00
Julien Danjou 038e52c699 [draw] Allow more space for characters conversion
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-04 11:07:57 +02:00
Julien Danjou 5e6760c589 [titlebar] Resize correctly titlebar on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-04 10:53:53 +02:00
Julien Danjou eaa8d9a486 [mouse] Place correctly window on resize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-04 10:36:28 +02:00
Julien Danjou 10903a3cb5 [titlebar] Better handling of position changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-04 10:26:46 +02:00
Julien Danjou d4764787c5 [placement] Really resize client if we change the placement (FS#152)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 20:11:38 +02:00
Chris Ciulla c940cd723d [doc] Use statusbar name in widget_tell
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 15:19:53 +02:00
marco candrian 37283e2152 [focus] parenthesis re-fix
sorry, my fault previously... ([focus] parenthesis cosmetic)

I asked Sebatian about it and he clarified, thx.
2008-04-03 15:18:34 +02:00
Julien Danjou 5f58d17d58 [widgets] Use statusbar name in widget_tell (FS#144)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 14:00:46 +02:00
Julien Danjou 68c14355af [events] Stop handling LeaveNotify events
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 13:17:33 +02:00
Julien Danjou 219d78b52c [doc] Add GTK+ possibility
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:34:18 +02:00
Alex Cornejo cee3e9b60d [draw] Add option to link against GTK instead of Imlib2
I added an option to the configure script to link against gdk instead
of imlib2. Most people already have gdk installed so that way they can
use awesome without installing imlib2, and gdk's pixbuf was explicitly
designed to replace imlib2.

Also, a nice side effect is that GDK works directly with cairo
surfaces, so the process of loading images should be faster, although
since awesome does very little image loading it probably wont have a
noticable impact on performance, but it certainly won't hurt.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:16:58 +02:00
Julien Danjou 6f001de781 [client] Remove useless call to XMoveResizeWindow()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:05:23 +02:00
Julien Danjou c45841921f [placement] Smart pl. only use visible floating windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:04:57 +02:00
Julien Danjou e3b057cf21 [placement] Resize client with new floating geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-03 09:04:18 +02:00
Julien Danjou ae096824d6 [draw] Better check for cairo version
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 17:14:09 +02:00
marco candrian 6d0040603f [config] minus values would be useful for the progressbar's gap option.
in order to get a single border for e.g. two bars. Looks more unified then.
2008-04-02 15:51:32 +02:00