187 Commits

Author SHA1 Message Date
Sascha Kruse
f68d99165b get rid of dead initialization 2012-10-08 08:58:53 +02:00
Sascha Kruse
fa3e498c4e make use of asprintf 2012-10-08 08:58:53 +02:00
Sascha Kruse
d9d2ccb3d4 fix bad frees 2012-10-08 08:58:53 +02:00
Sascha Kruse
286e0c5104 use own ini parsing 2012-10-08 08:58:47 +02:00
Sascha Kruse
e97c0106ca calculate width after finalizing all texts 2012-10-06 22:25:53 +02:00
Sascha Kruse
f48522a322 fix segfault when geom x1 2012-10-05 23:52:59 +02:00
Sascha Kruse
8f9866ced5 remove flickering when window size is changed 2012-10-04 15:37:10 +02:00
Sascha Kruse
965fd17c7b fix --version description 2012-09-27 13:16:42 +02:00
Sascha Kruse
a340aec4a8 fix compilation with xinerama disabled 2012-09-26 22:36:20 +02:00
Sascha Kruse
2c2f5d2d31 map canvas before moving window
Otherwise on higher load it could happen that for a short moment there's
only a black box shown.
2012-09-15 16:01:39 +02:00
Nuno Cardoso
434a575bfb Implemented bouncing text 2012-09-13 10:32:10 +01:00
Sascha Kruse
210d404c90 add rangecheck for transparency 2012-09-13 07:19:59 +02:00
Sascha Kruse
3219f21f2f match behaviour of transparency in dunstrc and config.h
The transparency value in dunstrc was the inverse of the transparency
value in config.h.
2012-09-13 07:11:14 +02:00
Nuno Cardoso
36efd8846c Implemented Transparency 2012-09-11 12:40:59 +01:00
Sascha Kruse
e04da92807 test keybindingavailabilty after initdbus
The keybindings are always taken when there's already another instance
of dunst running. The binding-errors could hide the important error
message about another notification-daemon running
2012-09-10 20:50:28 +02:00
Sascha Kruse
3e3235f522 Replace XKeysymToKeycode
See github issue #60

XKeysymToKeycode fails on keyboard-layouts that have the same keysym on
different keycodes.
2012-09-10 20:47:01 +02:00
Sascha Kruse
1a4deea501 Update to verbose mode
Remove dead code and print the notifications, when -print is given
2012-09-09 10:39:33 +02:00
Sascha Kruse
c3767d1a7b change separator to be a solid line at the bottom 2012-09-09 10:19:58 +02:00
Sascha Kruse
28e6f27060 Revert "configurable total height of separator"
This reverts commit 9534cd4d46a9089f26e5d5304899541b728e5e13.

this breaks on splitted notifications
2012-09-09 09:24:54 +02:00
Sascha Kruse
9534cd4d46 configurable total height of separator 2012-09-09 08:55:41 +02:00
Pascal Wittmann
079e77358c corrected a typing error 2012-09-03 16:28:33 +02:00
Michael Rosenberg
8794107a63 Check grab_key return on start and disable it if it fails 2012-09-02 16:47:37 -04:00
Sascha Kruse
8a3970f223 don't display notifications with empty format 2012-08-31 02:51:32 +02:00
Sascha Kruse
8d8834a8f3 move enums and structs to dunst.h 2012-08-30 06:28:14 +02:00
Sascha Kruse
be626b68a5 draw separator line between notifications 2012-08-30 01:47:24 +02:00
Sascha Kruse
357a40b586 use correct line index when calculating width 2012-08-23 00:10:06 +02:00
Sascha Kruse
925f3e8731 do wordwrap on "\n" even with !word_wrap 2012-08-22 22:34:31 +02:00
Sascha Kruse
b5a7dbee5a Add error handling to XGrabButton 2012-08-22 20:27:05 +02:00
Sascha Kruse
a606b1b471 remove more debug output 2012-08-22 06:58:52 +02:00
Sascha Kruse
f17c00d37e remove debug output 2012-08-22 06:58:23 +02:00
Sascha Kruse
e5aed09224 don't wordwrap if width == 0 2012-08-20 01:46:50 +02:00
Sascha Kruse
8c0b27f323 don't ignore the word_wrap option 2012-08-20 01:34:53 +02:00
Sascha Kruse
79dff42fe1 strtrim -> strtrim_end 2012-08-19 02:53:34 +02:00
Sascha Kruse
92499b38a0 word wrap on "\n" 2012-08-19 02:53:26 +02:00
Sascha Kruse
c74a2cc8d4 indent --no-tabs -linux 2012-08-18 22:28:05 +02:00
Sascha Kruse
0cff22c46a handle_mouse_click: handle split notifications 2012-08-18 22:26:48 +02:00
Sascha Kruse
a8d0ef1854 fix height calculation on split notification 2012-08-18 22:06:51 +02:00
Sascha Kruse
48c3df1134 cleaner implementation of do_word_wrap 2012-08-18 21:45:33 +02:00
Sascha Kruse
788ed745ac new option for line height
This implements github issue #51
2012-08-16 23:19:43 +02:00
Sascha Kruse
e67b9cf092 free strdup'd strings 2012-08-16 23:19:37 +02:00
Sascha Kruse
2f5d8d7afb cleanup draw_win 2012-08-16 23:18:37 +02:00
Sascha Kruse
da718c4998 fix calculation of window position on multihead
Conflicts:
	dunst.c
2012-08-15 21:25:43 +02:00
Sascha Kruse
4a5778ec2f indent --no-tabs -linux 2012-08-15 00:00:43 +02:00
Sascha Kruse
fa6f7e24c0 remove unused x_offset from notification_buffer 2012-08-14 23:59:22 +02:00
Sascha Kruse
ca8b61d8ab refactor draw_win
move filling of notificaiton buffer into own function and other minor cleanup
2012-08-14 23:58:30 +02:00
Sascha Kruse
9eda03513e word_wrap 2012-08-14 17:14:07 +02:00
Sascha Kruse
a18d993401 "none" to disable keybinding 2012-08-13 00:49:30 +02:00
Sascha Kruse
2dbdc19e1f X(Un)grab wrapper with error handling 2012-08-13 00:49:21 +02:00
Sascha Kruse
59cb3a5247 fix notification age calculation
see github issue #52
2012-08-10 16:57:12 +02:00
Sascha Kruse
4590ecb234 fix deleting geometry on -history_key and -all_key 2012-08-09 11:09:40 +02:00