155 Commits

Author SHA1 Message Date
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
Sascha Kruse
cbd645d0d0 fix monitor option 2012-08-02 18:25:02 +02:00
Sascha Kruse
b7875450dd Merge branch '0.3.1' 2012-08-02 17:13:57 +02:00
Sascha Kruse
84009461a9 fix -mon
this was a regression
2012-08-02 17:10:49 +02:00
Sascha Kruse
7fe7938460 moved monitor and follow_mode to config.h 2012-07-25 10:30:11 +02:00
Sascha Kruse
59886c1447 added rules to config.def.h 2012-07-25 10:07:54 +02:00
Sascha Kruse
311e2ff437 reintroduced config.h 2012-07-25 10:07:54 +02:00
Sascha Kruse
d4f38c0533 utils.{c,h} 2012-07-25 10:07:54 +02:00
Sascha Kruse
a369f5d344 initialize depricated_dunstrc_shortcuts 2012-07-25 10:07:06 +02:00
Sascha Kruse
b06a94c8fc display warning notification on depricated settings 2012-07-25 07:05:47 +02:00
Sascha Kruse
f05e80edf6 new function: warn(...) 2012-07-25 06:57:52 +02:00
Sascha Kruse
03411ac365 new function: die(...) 2012-07-25 06:34:31 +02:00
Sascha Kruse
e98492dcf2 follow focus 2012-07-24 13:56:27 +02:00
Sascha Kruse
0a9b650fc8 fix memory corruption 2012-07-23 13:17:14 +02:00
Sascha Kruse
4380af776f rewrite keyboard shortcut handling
this adds more flexibility to the shourtcuts since now you can have
separate modifiers for different keys.
2012-07-23 11:36:58 +02:00
oblique
cf1d868666 handle properly XKeysymToKeycode's return 2012-07-21 05:09:16 +03:00
Sascha Kruse
a84e558d82 ungrab keyboard when no notification
This doesn't apply to history key.
2012-07-21 00:50:27 +02:00
Sascha Kruse
bab419f56f fix memoryleak 2012-07-18 03:48:50 +02:00
Sascha Kruse
f335ff2927 add NULL checks 2012-07-18 03:42:31 +02:00
Sascha Kruse
841eea2f3e indent --no-tabs -linux 2012-07-18 00:47:59 +02:00
Sascha Kruse
160796a058 Merge branch 'master' of https://github.com/mil/dunst 2012-07-18 00:44:05 +02:00
Sascha Kruse
c85b40e90e don't segfault on closeNotification with unknown id 2012-07-17 00:31:57 +02:00
Sascha Kruse
ab0404c30d fix removing notifications from notification_queue
close_notification_by_id doesn't properly remove notifications from
notification_queue which causes an endless-loop in
move_all_notifications_to_history.
2012-07-16 23:33:43 +02:00
Miles Sandlar
fc74d6bf18 Added all_key to clear all messages by keybinding 2012-07-13 18:44:26 -04:00
Sascha Kruse
4507b704e0 don't initialize i to itself 2012-07-13 10:19:02 +02:00
Sascha Kruse
dc3a2d2659 don't crash on bad parameters to resizedc 2012-07-07 04:31:16 +02:00
Sascha Kruse
4feac25664 update screen info before mapping window 2012-07-07 04:10:21 +02:00
Sascha Kruse
a5cc76c986 filter duplicate messages 2012-07-01 08:06:33 +02:00
Sascha Kruse
f9885f38c4 make use of c99 for loop initializer 2012-07-01 08:06:29 +02:00
Sascha Kruse
454fb4ebed org.freedesktop.Notifications.NotificationClosed 2012-07-01 04:09:55 +02:00
Sascha Kruse
fcd794df6a new option for sticky history 2012-07-01 02:11:17 +02:00
Sascha Kruse
97bc600884 "(x more)" colors = most_important(queued)
Give the "(x more)" text the same colors as the most important
notification in the queue has.
2012-07-01 01:46:25 +02:00
Sascha Kruse
dd27202ba7 only parse geometry once 2012-07-01 01:32:23 +02:00