Commit Graph
80 Commits
Author SHA1 Message Date
Andreas.Fink85 d9454cc8cf *fix* issue 221
git-svn-id: http://tint2.googlecode.com/svn/trunk@397 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-02-27 19:25:51 +00:00
Andreas.Fink85 a58a4d1830 *add* strut_policy = none
git-svn-id: http://tint2.googlecode.com/svn/trunk@395 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-02-20 10:08:56 +00:00
Andreas.Fink85 bf1dc33ca7 *add* drag'n'drop task reordering
*fix* autohide and tooltip after SIGUSR1
*fix* send low_battery_cmd only once
*fix* update clock if time difference > 60 sec (after hibernation or supsension)
*fix* changed transient window behaviour


git-svn-id: http://tint2.googlecode.com/svn/trunk@393 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-02-08 22:44:56 +00:00
Andreas.Fink85 cb5eea1bd3 *fix* issue 217
git-svn-id: http://tint2.googlecode.com/svn/trunk@391 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-31 16:56:54 +00:00
Andreas.Fink85 6155ce0f0c *fix* reverted Thierry's last change
git-svn-id: http://tint2.googlecode.com/svn/trunk@390 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-31 15:10:38 +00:00
Andreas.Fink85 3ed9676af7 *fix* typo
git-svn-id: http://tint2.googlecode.com/svn/trunk@389 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-31 14:49:26 +00:00
Andreas.Fink85 2c9cfb229d *fix* hopefully fixed issue 212 (thx to l_man for testing)
git-svn-id: http://tint2.googlecode.com/svn/trunk@388 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-31 14:04:58 +00:00
Andreas.Fink85 d70f267780 *fix* maybe issue 212
git-svn-id: http://tint2.googlecode.com/svn/trunk@385 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-30 23:06:07 +00:00
Andreas.Fink85 fa9521ca40 *fix* correct comparison whether task_icon_asb is set
git-svn-id: http://tint2.googlecode.com/svn/trunk@384 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-30 08:30:02 +00:00
Andreas.Fink85 249d380183 *fix* issue 215
git-svn-id: http://tint2.googlecode.com/svn/trunk@383 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-30 08:24:25 +00:00
Andreas.Fink85 c340974d42 *fix* issue 213
git-svn-id: http://tint2.googlecode.com/svn/trunk@382 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-29 18:13:01 +00:00
Andreas.Fink85 3378a9a50e removed real_transparency from all config files
updated changelog



git-svn-id: http://tint2.googlecode.com/svn/trunk@376 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-28 11:16:34 +00:00
Andreas.Fink85 a22041ce09 *fix* removed warnings
*fix* removed unneeded code (backwards compatibility to tint2-0.6 and unneccesary XSetWindowsBackground)
*fix* better heuristicMask algorithm



git-svn-id: http://tint2.googlecode.com/svn/trunk@363 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-18 21:11:05 +00:00
Andreas.Fink85 fc1ebc04b6 *fix* bug fixed (multi-desktop and taskbar_active_id != taskbar_id)
git-svn-id: http://tint2.googlecode.com/svn/trunk@362 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-18 20:16:32 +00:00
Andreas.Fink85 0e0ae86bfa reverted my last checkin, because I forgot that XCopyArea only works if src.depth == dest.depth
minor bugfix if in hidden mode a new tray icon appears



git-svn-id: http://tint2.googlecode.com/svn/trunk@360 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-17 20:02:56 +00:00
Andreas.Fink85 8efe25f851 *fix* set window background on trayicon parents
git-svn-id: http://tint2.googlecode.com/svn/trunk@358 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-16 18:58:31 +00:00
Andreas.Fink85 6051ae447f *fix* unmap traywin (part of issue 205)
git-svn-id: http://tint2.googlecode.com/svn/trunk@357 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-16 15:42:02 +00:00
Andreas.Fink85 178b33a145 *fix* include file fix
git-svn-id: http://tint2.googlecode.com/svn/trunk@356 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-16 09:44:11 +00:00
Andreas.Fink85 3aa476a248 *fix* missing include
git-svn-id: http://tint2.googlecode.com/svn/trunk@347 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-14 12:00:53 +00:00
Andreas.Fink85 5e60361da8 updated default tint2rc to contain all available options
git-svn-id: http://tint2.googlecode.com/svn/trunk@346 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-13 19:36:25 +00:00
Andreas.Fink85 0c7c50dbd5 updated changelog
git-svn-id: http://tint2.googlecode.com/svn/trunk@345 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-13 19:22:46 +00:00
Andreas.Fink85 37d2086b37 *fix* use XSetWindowBackground in hidden mode (otherwise the painting is deferred)
git-svn-id: http://tint2.googlecode.com/svn/trunk@341 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-12 08:24:24 +00:00
Andreas.Fink85 06518a0f4b *fix* 2 memleaks
*fix* no more warnings


git-svn-id: http://tint2.googlecode.com/svn/trunk@335 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-10 22:16:27 +00:00
Andreas.Fink85 f9a7bb8b1e *fix* stupid mistake corrected
git-svn-id: http://tint2.googlecode.com/svn/trunk@334 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-10 15:12:55 +00:00
Andreas.Fink85 a20eb44a28 *fix* minor bugfixes
*fix* do not use g_ptr_array_unref since not everybody has glib-2.22 ;)



git-svn-id: http://tint2.googlecode.com/svn/trunk@333 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-10 15:00:40 +00:00
Andreas.Fink85 c6ff59f9f7 *fix* panel_monitor = n works again, after I've broken it with revision 308
*add* convenience storage for tasks in a hash map (Window is mapped to a GPtrArray of Task*)
*fix* bugfix in resize_taskbar when task.area.width/height changes



git-svn-id: http://tint2.googlecode.com/svn/trunk@332 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 18:29:00 +00:00
Andreas.Fink85 8280d4dc87 *fix* only redraw task on state change, if not already drawn
git-svn-id: http://tint2.googlecode.com/svn/trunk@329 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 09:34:15 +00:00
Andreas.Fink85 739af13714 *add* more task states (normal, active, iconified, urgent), with each an own background, font and asb
*fix* two memleaks
*fix* some code beautification



git-svn-id: http://tint2.googlecode.com/svn/trunk@327 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 00:11:01 +00:00
Andreas.Fink85 8042047cd4 *fix* wrong XClearArea usage
git-svn-id: http://tint2.googlecode.com/svn/trunk@326 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-07 21:23:15 +00:00
Andreas.Fink85 f76206c63e *add* interval timeouts are aligned to each other
git-svn-id: http://tint2.googlecode.com/svn/trunk@325 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-07 19:51:00 +00:00
Andreas.Fink85 35ace40a05 *add* render finitely often systray icons (at most every 50 ms)
git-svn-id: http://tint2.googlecode.com/svn/trunk@324 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-06 19:47:12 +00:00
Andreas.Fink85 349cb2f023 *fix* only changed systray icons are rendered
git-svn-id: http://tint2.googlecode.com/svn/trunk@323 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-06 19:30:55 +00:00
Andreas.Fink85 adb784a859 *add* autohide
*fix* issue 182 by using select instead of pselect


git-svn-id: http://tint2.googlecode.com/svn/trunk@321 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-05 20:38:49 +00:00
Andreas.Fink85 755d6672fe *fix* once again issue 192
git-svn-id: http://tint2.googlecode.com/svn/trunk@320 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-05 11:24:48 +00:00
Andreas.Fink85 da8a260659 *fix* memleak
*fix* issue 192



git-svn-id: http://tint2.googlecode.com/svn/trunk@319 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-05 11:21:18 +00:00
Andreas.Fink85 6cdf27ddfd *fix* image rendering in real_transparency mode fixed (imlib_render_image does not work correctly)
git-svn-id: http://tint2.googlecode.com/svn/trunk@318 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-04 16:25:17 +00:00
Andreas.Fink85 404d84afd3 *add* systray icons can also be adjusted, like task icons
git-svn-id: http://tint2.googlecode.com/svn/trunk@314 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-03 20:17:46 +00:00
Andreas.Fink85 fad21d3c1c *fix* issue 175
*fix* a bug I introduced with one of my previous checkins...



git-svn-id: http://tint2.googlecode.com/svn/trunk@313 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-03 13:14:25 +00:00
Andreas.Fink85 a0cf313f08 *fix* broke systray with last checkin for fake transparency
*fix* some real transparency stuff fixed... it seems as if it is done now



git-svn-id: http://tint2.googlecode.com/svn/trunk@312 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-03 09:49:55 +00:00
Andreas.Fink85 3c53d06506 *fix* more systray modifications for nice looking icons in real transparency mode
*add* added new options to the sample files



git-svn-id: http://tint2.googlecode.com/svn/trunk@311 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-03 00:33:07 +00:00
Andreas.Fink85 009653db34 *fix* clear tooltip window before redrawing
*fix* all systray icons should be visible also in real transparency mode


git-svn-id: http://tint2.googlecode.com/svn/trunk@310 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-31 14:20:32 +00:00
Andreas.Fink85 2506f4045c *add* real transparency is now supported... most systray applications work out of the box. Some do not work yet, because they do not respect
freedesktops standard


git-svn-id: http://tint2.googlecode.com/svn/trunk@308 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 23:27:31 +00:00
Andreas.Fink85 7478765723 *add* more real_transparency things added... whole panel works now, but systray still has problems :(
git-svn-id: http://tint2.googlecode.com/svn/trunk@306 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 16:25:19 +00:00
Andreas.Fink85 c65ad3628d *add* clock supports timezones
*add* first preparations for real transparency (tooltip works already, but panel does not. Therefore it is disabled in the source code)


git-svn-id: http://tint2.googlecode.com/svn/trunk@304 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 11:27:29 +00:00
Andreas.Fink85 527c91f005 *fix* segfault fixed when removing last desktop and we've been on last desktop
git-svn-id: http://tint2.googlecode.com/svn/trunk@303 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-29 22:04:24 +00:00
Andreas.Fink85 c93bf5e1f3 *fix* better internal urgent task handling
*fix* urgent task blinks on all desktops for omnipresent windows
*fix* better active window handling on desktop changes
*fix* better active window handling if switching omnipresent property



git-svn-id: http://tint2.googlecode.com/svn/trunk@302 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-29 19:55:25 +00:00
Andreas.Fink85 c78d7fa595 *fix* issue 185
git-svn-id: http://tint2.googlecode.com/svn/trunk@300 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-28 19:03:14 +00:00
Andreas.Fink85 cd00bee986 *fix* issue 187
git-svn-id: http://tint2.googlecode.com/svn/trunk@299 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-28 18:30:47 +00:00
Andreas.Fink85 72bcf623ee *fix* forward all clicks tint2 does not handle to the window manager, if wm_menu = 1
git-svn-id: http://tint2.googlecode.com/svn/trunk@297 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-28 15:49:15 +00:00
Andreas.Fink85 3767eb58f1 *fix* use another timer implementation, coz *BSD does not support timerfd :(
git-svn-id: http://tint2.googlecode.com/svn/trunk@296 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-27 20:33:02 +00:00
Andreas.Fink85 dae6ee07f9 *fix* calculate right struts for multiple monitors. fixes issue 148 and issue 178
*fix* uninstall all timers on reconfiguring



git-svn-id: http://tint2.googlecode.com/svn/trunk@291 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-22 13:37:13 +00:00
Andreas.Fink85 c46e1341aa *fix* tooltip fixed
*fix* send battery low command if below the value, not exactly the value


git-svn-id: http://tint2.googlecode.com/svn/trunk@289 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-17 18:25:51 +00:00
Andreas.Fink85 88fa3b7544 *fix* unset sigmask only for child fork
git-svn-id: http://tint2.googlecode.com/svn/trunk@283 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-07 14:10:14 +00:00
Andreas.Fink85 6c40536d1a *fix* make timer non-blocking to fix freezing when a timer is resetted in a callback function
git-svn-id: http://tint2.googlecode.com/svn/trunk@282 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-30 15:36:06 +00:00
Andreas.Fink85 cb9f2f7517 *fix* do not add active tasks to the urgent list
git-svn-id: http://tint2.googlecode.com/svn/trunk@281 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-26 09:25:38 +00:00
Andreas.Fink85 a32bb100ed *fix* fixed issue 172
git-svn-id: http://tint2.googlecode.com/svn/trunk@280 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-25 17:45:50 +00:00
Andreas.Fink85 f9ca3a2c0e *fix* tooltip copys the displayed text
*fix* remove urgent windows from list if closed



git-svn-id: http://tint2.googlecode.com/svn/trunk@278 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-19 13:53:01 +00:00
Andreas.Fink85 db83997eae *add* clock tooltip finished, see issue 115
*fix* reset sigmask before forking



git-svn-id: http://tint2.googlecode.com/svn/trunk@272 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 17:54:46 +00:00
Andreas.Fink85 7fa58c0552 *change* make tooltip more generous, and preparation for setting a tooltip on the clock
git-svn-id: http://tint2.googlecode.com/svn/trunk@271 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 17:17:53 +00:00
Andreas.Fink85 d1e7d189bf *fix* use XFlush to really make use of the tooltip timeouts and do not rely on some timer running in the background
*fix* moved panel_refresh in the mainloop to the top for panels without a clock for updating first and then going to the pselect statement
*changed* battery updates every 5 secs (I do not know if this is a good value...)
*fix* blinking urgent windows has a panel_refresh now



git-svn-id: http://tint2.googlecode.com/svn/trunk@270 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 10:06:45 +00:00
Andreas.Fink85 99b045a323 *fix* merged tooltip to the new timer syntax
*todo* check what happens if no clock and no battery are on the panel



git-svn-id: http://tint2.googlecode.com/svn/trunk@268 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 07:27:28 +00:00
Andreas.Fink85 11aa0bdc27 *fix* added missing files
git-svn-id: http://tint2.googlecode.com/svn/trunk@267 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-15 20:38:24 +00:00
Andreas.Fink85 806451955b *add* changed everything to kernel timer for easier integration with new timer
*todo* adapt tooltip also to the timer syntax
*fix* memory leak



git-svn-id: http://tint2.googlecode.com/svn/trunk@266 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-15 16:55:50 +00:00
Andreas.Fink85 429660abb6 *fix* memleak
git-svn-id: http://tint2.googlecode.com/svn/trunk@265 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-11 20:16:20 +00:00
Andreas.Fink85 e966c20f75 *add* multiple tasks can be urgent now
git-svn-id: http://tint2.googlecode.com/svn/trunk@264 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-11 20:09:34 +00:00
Andreas.Fink85 9f4e539f0b *fix* finally fixed issue 145
git-svn-id: http://tint2.googlecode.com/svn/trunk@263 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-11 18:25:55 +00:00
Andreas.Fink85 3f9adec3e3 *fix* allow minimizing omnipresent windows also on desktop 2-n
*fix* hopefully fixed issue 145
*fix* removed two unused variables



git-svn-id: http://tint2.googlecode.com/svn/trunk@262 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-11 17:12:24 +00:00
Andreas.Fink85 1d9990b400 *fix* use copied data for task icons on 64bit
*add* comment added why I commented a complete section


git-svn-id: http://tint2.googlecode.com/svn/trunk@215 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-17 07:03:44 +00:00
Andreas.Fink85 0867ce743c *fix* modal windows with hidden parent or no parent are added to the taskbar
git-svn-id: http://tint2.googlecode.com/svn/trunk@212 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-30 20:10:24 +00:00
Andreas.Fink85 2ded92352d *fix* using variable length array looks even better
git-svn-id: http://tint2.googlecode.com/svn/trunk@211 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-30 17:52:32 +00:00
Andreas.Fink85 d7b705e03d *fix* broken icons on amd64. fixes issue 155
git-svn-id: http://tint2.googlecode.com/svn/trunk@210 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-30 17:38:12 +00:00
Andreas.Fink85 e4b8b4d755 *fix* use ascending and descending instead of asc and desc
git-svn-id: http://tint2.googlecode.com/svn/trunk@206 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-27 20:07:30 +00:00
Andreas.Fink85 277ca7502c *add* option for ascending/descending/unsorted systray
git-svn-id: http://tint2.googlecode.com/svn/trunk@204 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-27 19:52:25 +00:00
Andreas.Fink85 fe2dde30db *fix* tooltip hide fixed
*fix* hopefully unnecessary code removed



git-svn-id: http://tint2.googlecode.com/svn/trunk@200 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-27 08:06:31 +00:00
Andreas.Fink85 d222fdabae *FIX* give reasonable task icon transparency default value
git-svn-id: http://tint2.googlecode.com/svn/trunk@191 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-20 18:26:32 +00:00
Andreas.Fink85 1bb885f840 *fix* Check wmhints for NULL
git-svn-id: http://tint2.googlecode.com/svn/trunk@179 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-16 11:00:23 +00:00
Andreas.Fink85 ed9278e87b *fix* respect the urgency flag if set by a window
git-svn-id: http://tint2.googlecode.com/svn/trunk@178 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-15 20:11:13 +00:00
Andreas.Fink85 7597d1b4c3 *fix* stop any pending alarms if timeout is 0
git-svn-id: http://tint2.googlecode.com/svn/trunk@177 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-15 16:35:32 +00:00
Andreas.Fink85 d66778438c *add* tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@175 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-14 21:28:17 +00:00
Andreas.Fink85 3082da0f5c added possibility to put tint2 into the windowmanagers dock
git-svn-id: http://tint2.googlecode.com/svn/trunk@172 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-10 17:19:08 +00:00