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
Julien Danjou
38ad723055
[titlebar] Reuse geometry_remove function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:46:25 +01:00
Julien Danjou
0a9b206fc0
[ewmh] Use premul alpha for net_wm_icons
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:26:08 +01:00
marco candrian
89f4e22255
[widgets] new progressbar options
...
if a ticks_count is defined (!= 0), round the value to them ('ticks')
and draw finally some gaps.
Also an important issue: since the bar needs to be 'homogenous', they may won't
match a given height. Some value tweaking will be necessary then.
An alternative would be a not homogenous bar, what is worse I think.
The values, when there are 'ticks', get rounded up somebit. So they get turned on,
when half of them is reached - or so.
new options (see awesomerc.5.txt for a more detailed description):
border_width
border_padding
fg_off
ticks_count
ticks_gap
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 10:02:37 +01:00
Julien Danjou
3fa15dd272
[core] Fix ConfigureRequest handling for non-floating windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 09:52:54 +01:00
Steffen Schulz
981c47835e
[uicb] uicb_client_toggletag() with NULL use as sticky toggle
...
The following modification to client_toggletag will make it possible to
make windows sticky/unsticky via client_toggletag(0).
Upon unsticky, the window will stay at the currently selected tags.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 09:06:53 +01:00
Julien Danjou
2a6292db29
Add documentation for tag_new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-26 08:53:14 +01:00
Julien Danjou
5cabcab2f5
Fix a bug in NET_WM icon, blue and red were reversed
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 19:30:31 +01:00
Julien Danjou
3514982955
Focus has prio over urgent in titlebar style drawing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 19:07:25 +01:00
Julien Danjou
7605585aee
Fix bug when switching focus to an empty screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 18:20:39 +01:00
Julien Danjou
06ac58cd6e
Add icons in dist tarball and in default statusbar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:59:51 +01:00
Julien Danjou
d5d1319821
Do not start to OpenDisplay before reading command line options
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:56:47 +01:00
Julien Danjou
e9dbf302be
Add window indicating size and position on move and resize (FS#107)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 16:10:12 +01:00
Julien Danjou
f00b0b850e
draw_textwidth() can use a const char *
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 15:55:45 +01:00
Julien Danjou
57c36df181
Add window snapping with siblings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 15:24:45 +01:00
Julien Danjou
9c17053c51
Moving client with mouse will now snap on titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:56:38 +01:00
Julien Danjou
13168d758a
Add a function to remove titlebar geometry
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:56:21 +01:00
Julien Danjou
f47ca7cda7
Export titlebar_geometry_add() outside of placement to titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:45:13 +01:00
Julien Danjou
ee56b41833
uicb_client_mousemove now detects screen changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 14:41:46 +01:00
Julien Danjou
536700b674
If the window did not received focus, restack it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 11:28:56 +01:00
Julien Danjou
762645ca32
client_focus() now return bool to indicate if it has given focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-25 11:28:38 +01:00
Julien Danjou
da119cda7d
Add alignment attribute to titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 17:42:45 +01:00
Julien Danjou
c5afa7753b
Split restack function out of focus, and fix click-to-raise
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-24 16:34:41 +01:00