o9000
92bd9e9184
Taskbar: code cleanup
2016-01-08 23:43:53 +01:00
o9000
228d20a72c
Systray: handle changing icon names and reorder if necessary
2016-01-07 12:50:54 +01:00
o9000
29a34083c9
Remove the sleep at startup since it has side effects and is a poor solution anyways
2016-01-07 12:11:09 +01:00
o9000
5835eb6f57
Always sleep 1s at startup to let the compositor start first
2016-01-05 01:36:57 +01:00
o9000
88e1d56a98
Reorder some statements
2016-01-05 01:33:27 +01:00
o9000
1ae20fa3eb
Move backtrace generation behind cmake flag
2016-01-05 01:28:12 +01:00
o9000
84df026878
Do not restart on crash, it cannot be done reliably from a single process; use instead "while true ; do tint2 ; sleep 1; done"
2016-01-05 01:06:40 +01:00
o9000
b8a7304f4b
Cleanup restart code
2016-01-05 00:18:05 +01:00
o9000
cd863c2819
Restart on crash
2016-01-03 18:03:36 +01:00
o9000
6fc608f099
Work better without a config file
2016-01-03 15:09:46 +01:00
o9000
0992662396
Attempt to fix compilation on BSD
2016-01-03 02:38:04 +01:00
o9000
fa5137cad8
Dump stack trace on crash also on a file in $HOME
2016-01-03 01:28:47 +01:00
o9000
76a68fb071
Dump stack trace on crash
2016-01-03 01:14:51 +01:00
o9000
106471225f
Rename dsp -> display
2016-01-01 13:49:10 +01:00
o9000
da0c52ecff
Rename: monitor -> monitors
2015-12-22 23:16:01 +01:00
o9000
3790723483
Code cleanup
2015-12-13 11:39:12 +01:00
o9000
9a85f7f2c5
Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file
2015-12-12 15:14:42 +01:00
o9000
3f84d5d14c
Merged execplugin from tint2-mods2 (no config GUI yet)
2015-12-05 10:05:42 +01:00
o9000
333ed7a207
Fix missing redraw
2015-11-22 16:33:58 +01:00
o9000
eb044da8bc
Support for NETWM viewports (compiz)
2015-11-21 04:35:12 +01:00
o9000
4a6937826c
Cleanup indentation with clang-format and changed a few variable names
2015-11-20 23:28:37 +01:00
o9000
c0e62e2e79
Cleanup: area.h
2015-11-18 21:57:10 +01:00
o9000
732b9d3910
Mouse pressed effect + some fixes for mouse over
2015-11-04 12:19:23 +01:00
o9000
57c35549f3
Area: refactor list -> children
2015-11-04 02:37:10 +01:00
o9000
294fdee57f
Mouse over effects
2015-11-04 01:32:13 +01:00
o9000
00a1803348
if( -> if (
2015-08-08 08:51:44 +02:00
Sebastian Reichel
46a6d2c2ad
Add Linux kernel event handling code
...
This is a simple handler for uevents send by the Linux
kernel.
2015-08-08 06:29:54 +02:00
o9000
ed24d0bd4c
Fix command line argument processing (issue #516 )
2015-08-03 18:34:12 +02:00
o9000
c874e76343
Merge branch 'moreclicks' into 'master'
...
Moreclicks
The two commits in this merge request would allow the user to set up as many as eight extra custom actions via tint2rc.
I've been running these changes (minus the up/down wheel actions) for many months without any obvious issues, mainly to adjust laptop screen brightness via a couple of scripts.
I've just tested the wheel actions and they appeared to work fine. The clock commit should solve issue #505 .
I have merely augmented the work of two other people, and appropriate credits/references are indicated in the individual commit messages.
See merge request !5
2015-08-01 07:02:51 +00:00
o9000
e2023b7172
systray: Revert break embedding into 2 steps (breaks transparency for Qt icons)
2015-07-31 10:04:41 +02:00
o9000
d492f80468
systray: Redirect resize events
2015-07-31 09:31:03 +02:00
o9000
78bc330448
systray: Break embedding into 2 steps
2015-07-30 23:54:46 +02:00
o9000
9624b5d558
Revert "taskbar: Add logging for event_configure_notify()"
...
This reverts commit b99c5c204b
.
2015-07-30 22:55:47 +02:00
o9000
b99c5c204b
taskbar: Add logging for event_configure_notify()
2015-07-26 12:08:59 +02:00
o9000
50e21b4077
systray: Trying some variations
2015-07-19 18:06:45 +02:00
o9000
57b878d5e4
Remove debug line
2015-07-16 22:33:13 +02:00
o9000
46aab61bf6
Revert "systray: Process XEmbed events according to spec"
...
This reverts commit 227dc8e48a
.
2015-07-16 22:25:18 +02:00
o9000
227dc8e48a
systray: Process XEmbed events according to spec
2015-07-16 21:08:48 +02:00
o9000
68c3205b53
systray: Handle UnmapNotify correctly
2015-07-16 21:08:48 +02:00
o9000
61f0a4ec85
systray: remove icon when reparented away from us
2015-07-16 21:08:47 +02:00
o9000
c606a1a35a
systray: Separate reparenting from embedding
2015-07-16 21:08:47 +02:00
o9000
8d5c2d8cbb
tint: remove inner loop from the main event loop
2015-07-14 08:33:13 +02:00
berkley4
fd78e6d886
Allow clicking and mousewheeling on the battery panel
...
This commit is the same as vimishor's original [*] except that I have
added middle-click and up/down mousewheel actions. In order to fix a
ftbs I also added guards to panel.c, panel.h & tint.c
The following configuration settings have been created :-
battery_lclick_command
battery_mclick_command
battery_rclick_command
battery_uwheel_command
battery_dwheel_command
[*] c78732c46a
2015-07-13 04:57:16 +01:00
berkley4
e84d963ab6
Allow middle click & up/down mousewheel on the clock
...
The bulk of this commit originally came from David B. Cortarello's
patch (see here - https://gitlab.com/o9000/tint2/issues/430 ), with me
adding the up/down mousewheel elements.
Under Openbox the middle-click is normally used to display the Openbox
menu and the mousewheel to switch desktop. So I needed to modify tint.c
in order to prevent openbox intercepting the new actions.
This commit creates the following new configuration settings :-
clock_mclick_command
clock_uwheel_command
clock_dwheel_command
2015-07-13 04:10:45 +01:00
o9000
efe9aadb39
Prevent race at startup in detecting screen resolution changes
2015-07-12 14:36:11 +02:00
o9000
8242c969e3
Detect compositor at startup
2015-07-04 13:34:42 +02:00
o9000
47a7013029
Remove noisy debug messages
2015-06-28 11:34:53 +02:00
o9000
a4de005a54
Add missing include
2015-06-26 23:46:43 +02:00
o9000
5abbf168a9
Cosmetic changes
2015-06-25 15:56:36 +02:00
o9000
4d69a0bc33
tint2: Do not rely only on select() to detect new X events, since we sync the socket in the system tray which messes up select
2015-06-25 15:36:47 +02:00
o9000
ea75558ac2
systray: reduce icon flicker by painting on buffer instead of directly on window
2015-06-21 15:00:01 +02:00
o9000
876cae8239
systray: fix black icon background for 32-bit icons when disable_transparency = 1; fix empty icon detection when disable_transparency = 1; fix icon blinking by delaying rendering less aggressively; removed XClearArea on traywin->win (triggers unnecessary redraws); cache icon names; profiling messages updated
2015-06-21 14:50:08 +02:00
o9000
b13540123b
systray: force a repaint on icon resize
2015-06-14 11:21:42 +02:00
o9000
481c409617
Fix bad interaction between freespace and systray
2015-06-12 02:09:43 +02:00
o9000
df1f2d4e4b
Merge taskbar_alignment from branch
2015-06-12 00:52:10 +02:00
o9000
9040764cf1
systray: Cleaned up the code a bit
2015-06-07 12:58:29 +02:00
o9000
fbcfa54061
Disable systray composited rendering if disable_transparency = 1
2015-06-07 11:44:43 +02:00
o9000
5450dcca0b
Attempt to fix new window title race in fvwm
2015-05-08 21:49:26 +02:00
o9000
b78c854700
Flush stdout/stderr after newline
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@760 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:31:28 +00:00
o9000
66cae4bb7c
Fix dangling pointers causing erratic timer behaviour (affects taskbar with spacing); use calloc instead of malloc for safer initializations
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@758 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:17:25 +00:00
o9000
45d6463315
Revert r751 and add workaround for systray rendering artifacts
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@755 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-13 20:18:28 +00:00
o9000
eb1244a415
Simplify systray icon management (attempt to fix issue 480)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@751 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 17:35:54 +00:00
o9000
af003d0e19
Memory management review: match char-malloc/strdup-free, gchar-g_str*/g_free; set pointers to null after free; initialize fonts/backgrounds correctly when missing from config
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@748 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-11 09:51:10 +00:00
o9000
e539c6536f
Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
67d5bfcfce
Sort tasks on taskbar: handle task drag and drop (disabled, work in progress) - issue 478
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@742 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:15:30 +00:00
o9000
5376e09963
Sort tasks on taskbar (disabled, work in progress) - issue 478
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@740 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:07:33 +00:00
o9000
e113080a0e
Tentative to sort tasks on taskbar (disabled) - issue 478
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@738 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-22 16:07:04 +00:00
o9000
5faf063f96
Add config option startup_notifications = 0/1
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@737 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 13:39:43 +00:00
o9000
c900bc24b2
Add option to hide tasks from different monitors when panel_monitor = x (issue 196)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@736 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 09:49:10 +00:00
o9000
a2de8d6e53
Modified startup notification logic to prevent deadlock in issue 471
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@735 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 22:49:13 +00:00
o9000
7b698e1fe1
Fix issue 463: Launcher icon accepts all mouse buttons
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@687 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-05 12:21:56 +00:00
google@craigoakes.com
0fa10d83b9
Added mouse_left configuration, defaults to original function (Issue 459, 397)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@676 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 21:13:04 +00:00
o9000
28d726626d
Xorg: Add option to disable transparency (workaround for broken graphics stacks; issues 432, 435, 439)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@675 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 10:01:39 +00:00
o9000
45cc690167
Xorg: Rename function
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@674 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:54:16 +00:00
o9000
4e76c2bb5d
Taskbar: add option to redistribute size in multi-desktop mode (useful especially when the taskbar is getting full on one desktop)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@673 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:53:16 +00:00
o9000
d584d04691
Remove global variables from header files
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@671 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:13:56 +00:00
o9000
fc4b29631f
Cleanup whitespace
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@654 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 02:20:35 +00:00
o9000
dc137ef1a6
Fix incorrect memset
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@653 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 01:27:15 +00:00
o9000
257cc45adc
Fix for no task cycling if all windows are minimized
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@652 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-10-14 22:04:25 +00:00
o9000
0a1ceaeed0
Fix for incorrect task cycling when windows visible on all desktops are present
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@651 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-10-14 22:00:48 +00:00
xico.atelo@gmail.com
cfa4bc89e1
Adding startup-notification support.
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@650 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-07-02 16:50:30 +00:00
o9000
13b0d7612a
Drag and drop support for launchers
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@648 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-03-14 05:15:23 +00:00
Andreas.Fink85
53c40d415d
*fix* segfault when removing last virtual desktop while being on it
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@619 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-29 10:51:23 +00:00
Andreas.Fink85
8201742546
*add* remove of tooltip = En/Disabled. it's renamed to task_tooltip to enable/disable task/clock tooltip separatly (tooltip = N is equivalent to
...
task_tooltip = N for backwards compatibility)
git-svn-id: http://tint2.googlecode.com/svn/trunk@615 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-12 08:57:51 +00:00
Andreas.Fink85
07f48183d7
*fix* issue 313 (pcmanfm sets _XROOTMAP_ID instead of _XROOTPMAP_ID)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@614 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-11 09:15:14 +00:00
Andreas.Fink85
cf12f63198
*fix* warning
...
*fix* tint2conf installation directories
git-svn-id: http://tint2.googlecode.com/svn/trunk@604 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-18 20:29:30 +00:00
thilor77
2ab0d33ae5
desktop name : last step
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@601 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-16 20:00:22 +00:00
thilor77
d94e2a1790
desktop name: first step
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@596 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-13 10:27:26 +00:00
thilor77
fc5269d610
XSETTINGS manager : reload icons when theme changed (gnome, xfce, ...).
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@589 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 12:59:51 +00:00
thilor77
da27293d22
launcher : limit launcher_icon_theme to 1 theme. Add XSETTINGS client and read launcher_icon_theme if manager is running.
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@588 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 08:44:27 +00:00
thilor77
7c8a31db72
update my contribution to the company
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@585 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-02 11:40:50 +00:00
thilor77
86cfa07735
fixed multi_desktop switching
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@582 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-24 09:18:41 +00:00
thilor77
eb07f935fe
cleanup : remove unneeded title change
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@579 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-23 13:39:09 +00:00
thilor77
c01b7f480e
memorized taskbar pixmap. So we don t redraw taskbar/task when switching desktop.
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@577 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-23 11:16:29 +00:00
Andreas.Fink85
eae7223ddf
*fix* valgrind invalid read/write and memleaks
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@572 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 21:45:14 +00:00
thilor77
c19819843e
panel_items : fixed _NET_WM_ICON_GEOMETRY. panel_items is done for me.
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@563 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-23 20:28:30 +00:00
thilor77
98c3cbe874
cleanup code
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@562 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-23 18:09:30 +00:00
thilor77
d44628b16c
panel_items : fixed change number of desktop
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@554 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-19 08:34:24 +00:00
thilor77
b98d2001cb
panel_items : fixed segfault (panel without clock, change number desktop)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@550 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-18 18:06:29 +00:00
thilor77
52eb843047
order of panel items : position of each object is update by layering engine (area)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@547 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-18 10:41:34 +00:00