Commit Graph

1825 Commits

Author SHA1 Message Date
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
Julien Danjou ff1bd31633 [client] Optimize condition
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 11:35:56 +01:00
marco candrian 9db8635523 [config] add missing documentation 2008-03-28 09:53:50 +01:00
marco candrian 0e1dbe40d2 [widgets/progressbar.c] x_offset+1 and bg color fix
the widget got drawn 1 pixel to much on the left.
adding one progressbar x offset (pb_x) seems to work nicely.

also. bg shall draw (according to the manpage), the gaps
between the 'ticks' + the padding between the border and the ticks
(... everthing inside the border only the ticks)

so, an additional rectangle draw line to achieve that basic bg color.
2008-03-28 09:53:50 +01:00
Julien Danjou a8ab903e24 [client] Invalidate cache on maximize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-28 09:52:58 +01:00
Julien Danjou 3692e5f251 [config] Add documentation for a bunch of options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:31:55 +01:00
Julien Danjou d25ff609ca [build/doc] Add support for STR_LIST
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:02:53 +01:00
Julien Danjou ced72a959f [build] Add python detection
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:40:52 +01:00
Julien Danjou 7294dc55fd [build/doc] Add support for comments on section
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:22:35 +01:00
Julien Danjou 51b6630d9e [build] Change python path to /usr/bin/env python
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:13:14 +01:00
Julien Danjou 3d33c84e36 [titlebar] Check if titlebar was created before unmaping it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:01:57 +01:00
Julien Danjou 25b22a7cb9 [doc] Add autogeneration of options documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 16:48:52 +01:00
Julien Danjou c834134cc8 [doc] Autogenerate documentation for uicb from source code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 15:00:46 +01:00
Julien Danjou 4a40929d9b [placement] Fix smart placement with window which had titlebars
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 10:38:33 +01:00
Julien Danjou 553af0db03 [event] Add more comment about the Bob Marley algorithm
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 16:57:50 +01:00
Julien Danjou 227c31fd77 [titlebar] Collapse for all position
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 11:07:23 +01:00
Julien Danjou 15256cccc1 [titlebar] Collapse titlebar to windows even if we do not resize it
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 11:03:52 +01:00
Julien Danjou 3ea69238ae [widgets/progressbar] Initialize unit value to 0
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:59:06 +01:00
Julien Danjou 214b5a4a31 [titlebar] Fix resize_hints usage with titlebar
- titlebar_update_geometry() give now void
- we call titlebar_update_geometry_floating() to reset correctly the
  titlebar position for right/bottom, so they will be stucked to the window

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:57:06 +01:00