Jan Sucan
625a690067
Add missing scope to a method definition
2020-04-05 10:28:08 +02:00
Gregor Bollerhey
d5902f1785
Const ref instead of const for string vector.
2020-04-05 09:57:59 +02:00
Gregor Bollerhey
d07ee244d3
Ignore case when matching window classnames.
2020-04-05 09:57:59 +02:00
Gregor Bollerhey
89dec4ff15
Corrected comment (now member and returns nothing).
2020-04-05 09:55:33 +02:00
Gregor Bollerhey
f833ff71a5
Use FbTk::StringUtils instead of own tokenizer.
2020-04-05 09:55:33 +02:00
Gregor Bollerhey
47474be46c
Sort on remove isn't needed.
2020-04-05 09:50:56 +02:00
Gregor Bollerhey
b23aba180f
Icon order now is property of the SystemTray.
...
This way it is only parsed once in the constructor. Updating the
TrayWindow order is now a method which is called once when the icon is
created.
sortClients/rearrange is now only called on adding and removing icons.
2020-04-05 09:50:20 +02:00
Gregor Bollerhey
bb0790d794
XFree must not be called with 0.
2020-04-05 09:47:18 +02:00
Gregor Bollerhey
173a66346b
Thought BadWindow was a return status on failure.
...
In fact its 0, thats why fluxbox sometimes crashes when freeing the
malformed structure.
2020-04-05 09:47:18 +02:00
Gregor Bollerhey
07d2137024
Store order in TrayWindow instead of using expensive comperator.
2020-04-05 09:47:18 +02:00
Gregor Bollerhey
c65f2ec6fb
Use XFree to free memory (not the default "delete").
2020-04-05 09:47:18 +02:00
Gregor Bollerhey
7e762f0a97
Make systray icon pinning available.
...
The user options screenname.systray.pinLeft and
screenname.systray.pinRight in .fluxbox/init are read as comma sperated
list of window classnames.
While preserving the order of the lists, systray icons are sorted so
that pinLeft'ed classnames appear left and vice versa.
2020-04-05 09:47:18 +02:00
Thomas Lübking
2c66471126
Replay toolbar button events
...
NOTICE!!!! THIS IS HIGHLY EXPERIMENTAL!
The patch alters the button grab mode to GrabSync
in order to ReplayPointer the event.
THIS CAN FREEZE ANY INPUT TO FLUXBOX!!!
The toolbar (and other things?) grab buttons in order to
handle MouseN events for the entire bar, INCLUDING all child
windows.
This causes two problems:
1. The bar handles events which are not meant for fluxbox at all
(but the systray icons)
BUG: 940
2. The bar will intercept (and suck) *every* press, even if only
doubleclicks are desired
BUG: 949
The problem with this patch is that an oversight here has the potential
to completely freeze input event processing in fluxbox (ie. the process
needs to be killed from outside), SO IT NEEDS TESTING!
As much as possible.
2016-08-27 09:36:19 +02:00
Mathias Gumz
3c06e9e93f
minor code cosmetics
2016-01-09 18:30:22 +01:00
foobar0815
6346368b58
send ConfigureNotify using root coordinates
2016-01-09 17:45:23 +01:00
Mathias Gumz
bd519dd952
Remove various unused variables
...
Clang and Gcc-4.9 complaint about some unused variables here
and there. And who are we to not make a compiler happy :)
2015-01-03 18:43:44 +01:00
Pavel Labath
57acca0b60
Convert ToolbarItem::resizeSig to FbTk::Signal
2011-05-10 13:00:46 +02:00
Pavel Labath
f7d7dfd2a8
Convert FbTk::Theme::reconfigSig and friends to the new Signal system
...
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const
methods anyway.
2011-05-10 13:00:45 +02:00
Mathias Gumz
35753c7c3f
fix calculating the width / height of SystemTray ( closes #3150939 )
2011-02-24 15:00:22 +01:00
Mathias Gumz
deb6a1ebf4
code simplification
...
we do not need a std::map just to store an attribute on an AtomHandler,
it makes housekeeping just more annoying.
2010-09-13 22:04:24 +02:00
Mathias Gumz
874eb67297
moved knowledge about '_NET_SYSTEM_TRAY_S' into the 'SystemTray' class
2010-08-23 19:49:47 +02:00
Henrik Kinnunen
ce0b41c847
Changed #ifdef DEBUG ... cerr << to using fbdbg.
...
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
2010-03-17 16:35:07 +01:00
Mathias Gumz
c4c96ec830
simpler code
2009-10-01 08:57:31 +02:00
Mathias Gumz
761c841171
minor cosmetics
2009-05-25 06:47:15 +02:00
Henrik Kinnunen
d05804e666
Changed background changed signal in BScreen to use the new signal system
2008-09-21 16:12:36 +02:00
Henrik Kinnunen
80b10f7772
Added SimpleObserver class.
...
This class works in the same way as the SimpleCommand class.
Use it with the makeObserver function.
It calls the receiver's member function when the subject sends
a signal.
2008-04-27 21:22:18 +02:00
Matteo Galiazzo
e048bdfd7a
system tray border patch from matteo
2008-04-15 01:55:14 -07:00
Mathias Gumz
f6c292a406
split Text.hh into Orientation.hh and TextUtils.{cc,hh}
2008-01-15 08:45:57 +01:00
Mark Tiefenbruck
ac1bd7e098
update code to use ThemeProxy
2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mark Tiefenbruck
4cc810b0d3
remove some (hopefully) unneeded header includes
2007-12-29 22:44:11 -08:00
simonb
d77de67332
fix KDE dockapps on restart
2007-08-06 04:19:48 +00:00
simonb
b273360331
Fix system tray restart issues
2007-08-04 17:14:13 +00:00
markt
b70f4c144c
fix updating of systemtray and kde dockapps in slit on background change
...
added fluxbox-remote.cc
2007-07-03 18:50:53 +00:00
markt
8ce203c949
this shouldn't be necessary
2007-02-26 17:16:58 +00:00
markt
78de14a99c
update systemtray alpha with toolbar alpha
2007-02-25 22:19:35 +00:00
markt
e85569f1df
added some support for XEMBED protocol in systemtray
2007-02-23 00:36:32 +00:00
markt
282326a9d0
little cleanup
2007-02-12 21:52:14 +00:00
markt
fdaba22635
random attempt to fix an aMSN bug
2007-01-04 23:36:06 +00:00
mathias
e5e76e7761
Cosmetic patch from Slava Semushin
2006-10-30 19:31:15 +00:00
simonb
939ffc7ef1
fix freeze in systemtray configuring, sf.net bug #1359442
2006-04-18 05:28:22 +00:00
simonb
7c79084433
implement vertical toolbar placement options
2006-04-15 16:41:11 +00:00
mathias
ae05ad9a01
updated copyright info
2006-02-16 06:53:05 +00:00
simonb
e3e8d5c33b
fix systemtray overlap
2005-05-17 11:24:50 +00:00
simonb
e57a30f664
fix systray client sizing
2005-04-26 04:18:10 +00:00
mathias
cf46669bc1
copyright date
2005-01-24 18:34:57 +00:00
mathias
69e86c6c25
systemtray-tool has now a propper background. its styleable via the
...
toolbar.systray.* ressource, same way as the clock.
2005-01-14 09:58:16 +00:00
mathias
993c17cf2e
svn propset svn:keywords "Id"
2004-11-19 11:37:27 +00:00
akir
b44cd19809
not all compilers have __FUNCTION__ (mipspro)
2004-10-21 10:38:25 +00:00
fluxgen
b29b4adc4a
fixed multiple screen issue...again
2004-09-01 08:46:55 +00:00