Uli Schlachter
056d9a074b
wibox: make sure no garbage is painted to the screen
...
Wiboxes are lazily updated. This means that we could receive an expose event on
them between making them visible and actually painting their content.
Due to this we were copying undefined content to the wibox, because the pixmap
was only created just now, but it wasn't actually filled with anything yet.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-08 10:32:43 +01:00
Uli Schlachter
00092b59bb
Set a wibox' bit gravity to NorthWest.
...
After the last patch, after each resize the X server fills the complete wibox
with its background color which means that the widgets will still flicker. This
patch fixes this by setting the wibox' bit gravity to NorthWest.
This means that if a wibox is enlarged, only the new, larger part will be filled
with the wibox' background color and the rest of the wibox' content will be left
intact. With this patch I couldn't see any flickering anymore.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-08 10:31:10 +01:00
Uli Schlachter
1bb3b07177
wibox: Set a proper back pixel
...
Currently wiboxes have their background set to "inherit parent pixmap". That
means that each time a wibox is e.g. resized, the X server sets the wibox'
content to the wallpaper and then immediately awesome redraws the wibox with the
proper background. This causes flicker when you e.g. resize clients which have a
titlebar.
With this patch, wiboxes get their proper background color for their "back
pixel" value. Now, instead of showing the wallpaper, the X server will fill the
complete wibox with its background color.
With this patch, the actual widgets will still flicker. Also, if the wibox has a
background image, this image obviously won't be used by the X server and we get
some flicker again. My next patch will address these issues.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-08 10:30:46 +01:00
Julien Danjou
f3509f745a
naughty: convert <br> tag to \n
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-06 12:45:46 +01:00
Julien Danjou
64becbc047
awful.layout: emit arrange signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-06 12:40:13 +01:00
Julien Danjou
d79acb3da9
mouse: coords() get silent parameter
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-06 11:05:07 +01:00
Lukas Hrazky
19971c4610
taglist: don't pad name with space, use margin
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:07:37 +01:00
Lukas Hrazky
a085a26d99
widget layouts: always set widgets.height as total
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:07:00 +01:00
lukash
717efb9ae4
awful.widget: few formal fixes for widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:05:27 +01:00
Julien Danjou
d5e3a25bbc
xwindow: check that window exists before setting opacity
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:53 +01:00
Julien Danjou
4717feb02b
image: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:36 +01:00
Julien Danjou
d8c0f516ba
luaclass: implement object checking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:30 +01:00
Julien Danjou
31552f2122
font: remove draw_ prefix in names
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:22 +01:00
Julien Danjou
11601b670f
font: create a small surface
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 12:16:18 +01:00
Lukas Hrazky
f2800d96fd
naughty: update to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 09:34:29 +01:00
Alexandre "kAworu" Perrin
8ddc77eeb9
awesomeConfig: test for execinfo.h/backtrace()
...
add a test for execinfo.h and backtrace() function which are defined by
GNU libc. If it fails, require libexecinfo.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 09:33:08 +01:00
Lukas Hrazky
8eece559b9
progressbar: remove minimum size limit
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 17:27:09 +01:00
Lukas Hrazky
5f38aadc25
progressbar/graph: fix rounding and graph drawing
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 17:27:09 +01:00
Julien Danjou
7f7ffca497
awful.tag: fix new when layout is nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:11:17 +01:00
Lukas Hrazky
a4f8935509
wibox: remove implicit orientation change
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:08:28 +01:00
Lukas Hrazky
4685023a28
update rc.lua to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:44 +01:00
Lukas Hrazky
ec33544896
capi.widget: draw only widgets with numeric index
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:43 +01:00
Lukas Hrazky
a7c5668a92
update simple widgets to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:43 +01:00
Lukas Hrazky
f885b8e954
capi.widget: added widget.type getter
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:43 +01:00
Lukas Hrazky
9a51955279
update taglist and tasklist to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:42 +01:00
Lukas Hrazky
a079ab654d
awful.util: change table.clone to do deep copies
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:41 +01:00
Lukas Hrazky
c09582dca3
widget layouts: rewrite
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:40 +01:00
Zsolt Udvari
eb7ae0fb20
awful.tag: allow table as layout argument (FS#670)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:58:39 +01:00
Anton Bobrov
ad50440d5c
awful.rules: apply accumulated rule properties (FS#669)
...
To avoid the screen flickering, when two rules have different tags
with true switchtotag.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:27:44 +01:00
Damjan
3f565f1a3d
awful.menu: fix gap (FS#665)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:07:15 +01:00
Julien Danjou
8e02306b7d
ewmh: fix toggle on maximized_horizontal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-21 11:41:20 +02:00
Julien Danjou
48565f10bb
tokenenize: remove useless tokens
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
3ce7638e0f
window: rename to xwindow
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
371ee3e8cc
titlebar: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
e9ef51a521
wibox: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
5de485c648
button: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
0672414414
key: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
6fa62a3029
widgets: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
e204473dfc
client: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
104e28778b
tag: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
86127a9f49
timer: move into objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
6d012144d5
globalconf: move client_need_stack_refresh out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
6b426b1da1
globalconf: move argv out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
a6de1608a5
awful.wibox: remove useless deprecation-pass code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
f66178c5df
tag: remove deprecated code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
4c178d5441
hooks: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
5b27fb014e
wibox: remove deprecation warnings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
3fd3bd2f85
button: remove deprecated code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
3d4eeb80ec
key: remove deprecated code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
be09012c08
graph, progressbar: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00