Commit Graph

1893 Commits

Author SHA1 Message Date
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
marco candrian 4a7ebc9c5c [widgets/progressbar] fix FS#145 - empty progressbar draws one pixel too far
+ check_settings should be below the check for data_items (count).
+ some fix on check_settings
2008-04-02 15:51:30 +02:00
Julien Danjou c582f4397b [widgets] Check for no value in uicb_widget_tell and only update sbar on no error
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 15:31:19 +02:00
Julien Danjou 2456f6d62a [floating] Do not lower windows when going back to tiled
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 14:48:42 +02:00
Julien Danjou 680555a317 [bobmarley] Stop grabbing Motion events
That fails in GTK+ apps anyway

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 11:39:11 +02:00
Julien Danjou a79cb3f927 [config] Add a bunch of new checks in configuration file
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 09:17:25 +02:00
Julien Danjou c43054bc4d [progressbar] check_settings should be static
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 08:46:32 +02:00
Julien Danjou 30baa4bebd [layout] Fix copyright notice
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-02 07:44:18 +02:00
marco candrian ed231336fb [widgets/progressbar] try to prevent the bug FS#141
The real cause for it is unknown to me. I personally can't reproduce it.

Even when it won't fix, that patch makes still sense so:
no drawing of a rectangle what will get 'overdrawn' fully anyway.
2008-04-02 06:26:17 +02:00
marco candrian 30de23d8c7 [widgets/progressbar] fix x-offset value (pb_x actually) 2008-04-02 06:26:17 +02:00
marco candrian cc8d2beef7 [focus] parenthesis cosmetic 2008-04-02 06:26:01 +02:00
Martin Stubenschrott 8b7c8e3822 [draw] Better computation for vertical text centering
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 17:59:23 +02:00
Julien Danjou 7a220718d2 [awesome-menu] Grab keyboard earlier if stdin is not a tty
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 16:43:18 +02:00
Sebastian Stark 4ae523c531 [scratch] Fix scratch client does not get focus in task list (FS#142)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 09:01:37 +02:00
Julien Danjou 4bfcfc5a9b [tags] Check that at least one tag is vieedw on toggletag (FS#143)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 09:00:14 +02:00
Julien Danjou c4eaec5b82 [emptybox] Add alignment option
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-01 08:20:59 +02:00
Julien Danjou 841ce84ed9 [doc] Update a bunch of documentation for uicb; set transparency to be between 0 and 1
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 20:07:13 +02:00
Julien Danjou 3fbf7bd7d1 [emptybox] Remove align
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 15:58:33 +02:00
Julien Danjou ce117df401 [awesome-menu] Map when finished to draw
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 15:50:29 +02:00
Julien Danjou 99c9e00d99 [awesome-menu] Remember the last completion request (FS#136)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 15:32:41 +02:00
Julien Danjou 6c6d86eef1 [widgets/graph] Fix regression in padding removal (FS#139)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:31:58 +02:00
Julien Danjou ff44fc44ca [awesome-menu] Documente code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:25:59 +02:00
Julien Danjou e43ca13b6c [awesome-client] Add some more code documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:18:27 +02:00
Julien Danjou 2779610ab5 [build] Enhance documentation building
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 14:15:55 +02:00
Julien Danjou 2fd0b3c008 [widgets] New emptybox widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 10:15:38 +02:00
Julien Danjou c4cc8c5e04 [widgets] Remove paddings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-31 10:04:03 +02:00
Arnaud Fontaine 6439ab0597 Fix unitialized variable
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-30 14:57:00 +02:00
Julien Danjou 0b678413f3 [bobmarley] Save x,y pointer coords on arrange()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 20:04:52 +01:00
Julien Danjou 6ee23de391 [event] Only record mouse position on real button grabbing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 17:49:11 +01:00
Julien Danjou fb36ccee49 [styles] Set shadow_offset to 0 by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 13:40:59 +01:00
Julien Danjou ffe6186fa4 [mouse] Fix uninitialized vars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 13:22:26 +01:00
Julien Danjou 18117e8495 [styles] Use 0xffffffff as auto value for shadow (FS#117)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 12:13:16 +01:00