Giuliano Schneider
|
2d59a77e0c
|
wrap the text if it's wider than the screen width (Fixes #53)
|
2013-04-23 20:58:19 +02:00 |
|
Sascha Kruse
|
99feeea84b
|
fix segfault
|
2013-03-12 02:17:43 +01:00 |
|
Sascha Kruse
|
cdb39c30b4
|
x.c: free_colored_layout stuff leak
|
2013-03-08 20:14:13 +01:00 |
|
Sascha Kruse
|
75ef76946b
|
x.c define functions as static where possible
|
2013-03-08 17:59:23 +01:00 |
|
Sascha Kruse
|
916b8816cb
|
refactor calculate_foreground_color()
split repeated code into separate function.
|
2013-03-08 17:50:46 +01:00 |
|
Sascha Kruse
|
2ee38ca961
|
only FocusChangeMask|PropertyChangeMask if needed
We don't need to listen to the corresponding events when we don't need
to follow the mouse/keyboard focus.
|
2013-03-08 17:19:56 +01:00 |
|
Sascha Kruse
|
15cd7586a2
|
move renderling of layouts into extra function
|
2013-03-08 03:25:13 +01:00 |
|
Sascha Kruse
|
411434a18f
|
refactor calculation of dimentions
|
2013-03-08 02:47:03 +01:00 |
|
Sascha Kruse
|
5099b57ee5
|
use double buffering
render to cairo_image_surface and drop that onto the xlib_surface
to get rid of flickering on redraws.
|
2013-03-08 02:30:23 +01:00 |
|
Sascha Kruse
|
c2a5b526e2
|
fix expanding window across the screen
test case included
|
2013-03-02 17:22:12 +01:00 |
|
Sascha Kruse
|
d314e01b34
|
fix background rendering with padding
|
2013-02-28 20:09:35 +01:00 |
|
Sascha Kruse
|
0c3c7c8d16
|
get rid off some compiler warnings
|
2013-02-25 22:04:34 +01:00 |
|
Sascha Kruse
|
779c4354c4
|
Wakeup on PropertyNotify
This causes dunst to wakeup when _NET_ACTIVE_WINDOW changed so we can
check wether we need to move to another monitor.
|
2013-02-25 21:58:15 +01:00 |
|
Sascha Kruse
|
f4d852550d
|
Merge remote-tracking branch 'tardis/focusevent' into cairo
|
2013-02-25 20:40:50 +01:00 |
|
Sascha Kruse
|
06b056eea2
|
actually use the result of calculate_width()
|
2013-02-23 00:46:41 +00:00 |
|
Sascha Kruse
|
7af28d7145
|
ellipsize when !word_wrap
|
2013-02-23 00:35:06 +00:00 |
|
Sascha Kruse
|
dd0647eaf7
|
fix width calculation
|
2013-02-23 00:35:06 +00:00 |
|
Sascha Kruse
|
a34adda3a4
|
resize surface to match window size
|
2013-02-22 20:41:23 +00:00 |
|
Sascha Kruse
|
88cb136b88
|
reintroduced (x more) message
|
2013-02-22 20:32:45 +00:00 |
|
Sascha Kruse
|
4cb4e9f8d4
|
watch focus event
|
2013-02-22 19:53:47 +00:00 |
|
Sascha Kruse
|
f12d5332a8
|
fail more gracefully on broken markup
Strip markup and display plain text. Also print
error message why markup couldn't be parsed.
|
2013-02-22 19:38:42 +00:00 |
|
Sascha Kruse
|
0d8be7dccf
|
markup
|
2013-02-22 18:36:25 +00:00 |
|
Sascha Kruse
|
f839d0656e
|
use cairo_rectangle for separator
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
fdffe4a6c0
|
colors
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
5f5f706381
|
remove debug printfs
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
138476486e
|
removed another unused function
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
ced9186cf1
|
removed the rest of old drawing code
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
c2032b9cc6
|
removed some unused code
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
ec52f00edf
|
frame
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
ce4e834de5
|
horizontal padding
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
658cc9f88f
|
padding
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
d1fa0faefc
|
separator
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
ec2c23a652
|
spacing (settings.line_height)
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
8c8c6c9c47
|
alignment
|
2013-02-22 18:36:24 +00:00 |
|
Sascha Kruse
|
b2883b2133
|
implement basic features with pango/cairo
|
2013-02-22 18:35:55 +00:00 |
|
Sascha Kruse
|
64a7dd9743
|
move text generation to notification code
|
2013-02-22 10:47:11 +00:00 |
|
Sascha Kruse
|
e82da9d5e7
|
indent -linx --no-tabs
|
2013-02-21 23:23:54 +00:00 |
|
Sascha Kruse
|
b8004f56d8
|
remove folding markers again
|
2013-02-21 23:19:30 +00:00 |
|
Sascha Kruse
|
0a04bceb6f
|
move x_* functions to x.c
|
2013-02-21 23:14:23 +00:00 |
|
Sascha Kruse
|
5bc68ffc4b
|
move global variables related to x in struct
|
2013-02-21 23:04:43 +00:00 |
|
Sascha Kruse
|
f88cc4e831
|
renamed draw.{c,h} x.{c,h}
|
2013-02-21 20:03:00 +00:00 |
|