176 Commits

Author SHA1 Message Date
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
Sascha Kruse
9e1261c350 move file tail back to end 2012-07-22 22:43:32 +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
2dcf737e11 update AUTHORS 2012-07-18 00:57:20 +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
bbb02527b1 don't explicitly set CC 2012-07-13 10:18:35 +02:00
Sascha Kruse
335ac3f56f exit when display can't be opened 2012-07-13 10:08:14 +02:00
Sascha Kruse
f983ba1b2a exit when calloc failes 2012-07-13 10:03:57 +02:00
Sascha Kruse
df0e986ba3 initialize possibly uninitialized variable 2012-07-13 10:00:41 +02:00
Sascha Kruse
95b47a1766 fix NULL dereference 2012-07-13 09:56:02 +02:00
Sascha Kruse
afc5a8a5dc die when calloc failes 2012-07-13 09:51:31 +02:00
Sascha Kruse
ec8f3f6413 don't strdup(NULL) 2012-07-13 09:51:03 +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
880c8fcbe4 typo in dunstrc comment 2012-07-01 09:48:04 +02:00
Sascha Kruse
a5cc76c986 filter duplicate messages 2012-07-01 08:06:33 +02:00
Sascha Kruse
1b9d84f52a l_sort: fix tiny memory leak 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
fc68192e7c --std=c99 2012-07-01 06:23:08 +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
Sascha Kruse
45a7ae8a54 fix -config cmdline option
This fixes a regression that got introduced with
commit 78b6e2b19f1595b4c6ad38225f667a24d522a576
2012-07-01 01:32:23 +02:00
Sascha Kruse
7438ff266a show age of notification 2012-07-01 01:32:22 +02:00
Sascha Kruse
7e696cc02d alignment 2012-07-01 01:32:22 +02:00
Sascha Kruse
7a1d758242 rework draw_win to use buffers
This makes it much easier to add additional text to the Notifications
without changing the next of the notification itself.

This also implements issue #27
2012-07-01 01:32:15 +02:00
Sascha Kruse
41540c4bde -Wno-overlength-strings 2012-06-30 21:05:59 +02:00
Sascha Kruse
3f66ea2932 get rid of warning about wrong fp signature 2012-06-30 20:55:34 +02:00
Sascha Kruse
06c08f112e fixed typo 2012-06-29 22:02:36 +02:00
Sascha Kruse
bdf1561cb6 add -v/--version option.
This partially overrides the verbosity option, but that was poorly
implemented and needs to be reworked anyway.
2012-06-28 20:12:36 +02:00
Sascha Kruse
e4f2e031ab fix cmdline options for key/history_key 2012-06-27 22:27:57 +02:00
Sascha Kruse
61655d70ff initialize X after parsing of cmdline/config
This way, the '-h/--help' options work, even when $DISPLAY is not set.
2012-06-27 22:25:34 +02:00
Sascha Kruse
ca0f41a775 fix handling of geometry.h 2012-06-27 03:36:17 +02:00
Sascha Kruse
0e45d6cea6 add option "monitor" to dunstrc 2012-06-26 16:43:02 +02:00
Sascha Kruse
bd5749095c fix wrong calculation of height_limit 2012-06-26 16:43:02 +02:00
Sascha Kruse
47a21c2ddf lower dbus_poll_timeout when a notification is shown.
This increases the responsivness to keyboard and mouse input
2012-06-26 16:43:02 +02:00
Sascha Kruse
9df4ebff18 formatting 2012-06-25 19:20:09 +02:00
Sascha Kruse
70cdb3535c support proper closing and replacing requests 2012-06-25 19:19:16 +02:00
Sascha Kruse
99b482c484 send proper message id to client 2012-06-25 19:16:48 +02:00
Sascha Kruse
1410ddc8af change remove order on keyboard shortcut 2012-06-25 19:16:48 +02:00
Sascha Kruse
d6f3868cc0 use generic list for rules 2012-06-25 19:16:48 +02:00