Vladimir A. Pavlov
36489e4a17
Set WM_WINDOW_ROLE for fluxbox windows
2012-12-30 12:27:43 +01:00
Mathias Gumz
541c8c407b
changed timing functions to use a monotonic increasing clock
...
gettimeofday() is subject to be changed on daylight-saving or to ntp-related
(think leap-seconds). even worse, it is subject to be changed BACK in time. this
is hard to fix correctly (see commit 45726d3016
and bug #3560509 ). it is
irrelevant for timers to know the nano-seconds since the epoch anyways.
2012-08-28 10:51:55 +02:00
Ryan Pavlik
5ae8bdf49d
Pre-increment non-primitive types.
...
Found with cppcheck:
"Prefix ++/-- operators should be preferred for non-primitive
types. Pre-increment/decrement can be more efficient than
post-increment/decrement. Post-increment/decrement usually
involves keeping a copy of the previous value around and adds
a little extra code."
2012-01-04 07:53:54 +01:00
Pavel Labath
79d526b968
Convert Screen::reconfigureSig 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
e850b01919
compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
...
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in
Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'.
'ResourceLayer' sounds crappy, but that was the best I could come
up with right now.
2011-03-23 12:02:15 +01:00
Mathias Gumz
f0ffaf890f
moved Menu placement into ScreenPlacement::placeAndShowMenu()
2011-02-24 11:21:16 +01:00
Mathias Gumz
9616a676d8
renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem
2011-02-23 22:49:27 +01:00
Mathias Gumz
bb480030f5
small refactoring of FbTk/Menu code
...
* removed useless struct _menu
* code deduplication via renderMenuPixmap()
* improved documentation:
- 'sublevel' actually means 'column'
- 'persub' means 'row_per_column'
2011-01-15 21:31:37 +01:00
Mathias Gumz
690d926ac4
introduced FbTk::BidiString
...
a 'BidiString' holds both the logical content and the visual reordered
version of the content of a string. this helps to reduce the number of
calls to reorder the string before drawing it (as introduced in the patch
from Ken Bloom) and to be more consistent in menus and textboxes (drawing
cursors and underlining text).
2010-09-08 20:17:21 +02:00
Mathias Gumz
fbcdd34b22
mostly cosmetic fixes, mainly discovered by 'clang --analyze'
...
reordering of Resource-related stuff was because of
"error: explicit specialization of 'getString' after instantiation"
complaints.
2010-05-23 12:25: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
884db973bb
cosmetic fixes: removed redundant ';' + some whitespaces
2009-09-30 21:02:24 +02:00
Mark Tiefenbruck
9dcbff31b4
make autohide only show the border or 1 pixel if borderless
2009-07-24 00:56:04 -07:00
Henrik Kinnunen
9aee5b80cb
Changed resize signal in BScreen to use the new signal system
2008-09-28 18:13:30 +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
Mathias Gumz
31b47e7814
cleanup of some files
2008-08-14 07:53:38 +02:00
Mark Tiefenbruck
2df84f6687
use the same options in Slit and Toolbar placement menus
2008-08-05 17:11:55 -07:00
Mark Tiefenbruck
7970388238
add selection box to various "choose one of these" menu items
2008-08-03 21:59:14 -07:00
Tomas Janousek
880209a438
Merge branch 'xinerama_randr'
2008-01-28 09:58:23 +01:00
Mathias Gumz
a61b37da70
minor correction of include names
2008-01-28 09:30:31 +01:00
Tomas Janousek
f605312c48
Move dockapps to (-100,-100) instead of (screenw + 10, screenh + 10).
...
The windows used to appear when one xrandr'ed to a bigger resolution.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
4faf1bf5c3
"On head" menu -- reloading and refreshing bugfix.
...
We should reload the contents of this menu on Xinerama layout change.
I switched it from FbMenu to ToggleMenu, because the selected head wasn't
being updated properly.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Mark Tiefenbruck
9f2f65a698
make FbTk::Command a template class, split parsing information out of ObjectRegistry
2008-01-10 23:41:22 -08: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
Mathias Gumz
04cd2fd14c
removed some unneeded headers
2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
b5c354b994
architecture astronomy
2007-12-27 13:55:24 -08:00
Mark Tiefenbruck
35d1017959
removed KDE configure option
2007-12-24 22:49:46 -08:00
Mark Tiefenbruck
1bcc966153
added resource session.screen<N>.slit.acceptKdeDockapps
2007-12-24 22:36:22 -08:00
Mark Tiefenbruck
c01bd6e9fd
holding control will now keep the menu open
2007-12-17 21:44:17 -08:00
markt
a59428d67a
merged changes from pre-devel
2007-10-13 21:51:37 +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
329fca30fd
updates for compiling with gcc 4.3
2007-06-29 17:25:24 +00:00
markt
678703b08f
open slit menu properly wrt xinerama
2007-06-03 20:30:21 +00:00
mathias
d267acc8e0
fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek <tomi at nomi dot cz>
2007-04-20 20:26:57 +00:00
markt
9212e1d7c8
an empty slit without autoHide but with clients in the slitlist file still created a strut
2007-02-17 17:40:50 +00:00
simonb
440c69afa4
fix intrinsic problem with refcount
...
adjust slit menus to deconstruct properly
2007-01-07 14:07:45 +00:00
simonb
1cc7b60aa2
per-window transparency, including apps and menu support, plus some
...
infrastructure and related changes. Thanks for original patch from
Julien Trolet, dmxen at sourceforge dot net
2007-01-07 11:55:14 +00:00
markt
94e2c89053
make "force pseudotransparency" menu item work immediately
2007-01-06 19:03:33 +00:00
fluxgen
3efe68ffe3
removed duplicate headers, patch from Slava Semushin aka php-coder
2006-11-12 17:16:56 +00:00
mathias
10082d821d
cosmetic patch from slava semushin, removes whitespaces and
...
uses only those things from "namespace std" what we really need.
2006-10-27 06:57:43 +00:00
fluxgen
202b87ae56
dont use a strut if slit is empty
2006-07-06 20:46:38 +00:00
markt
698539d9b9
more dead functions
2006-07-01 02:56:46 +00:00
markt
b79d7ee745
Fix slit menu so it closes when you press escape
2006-06-27 01:46:42 +00:00
simonb
3ada3b1f0d
fix nls... notably classify text on conversion whether its for X or
...
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
simonb
0861f3a907
improve native language handling, move messages and menu labels to
...
FbTk::FbString
2006-05-20 15:08:14 +00:00
mathias
a15d9af3c7
Cleanup unneeded headers (thanks Slava Semushin)
2006-04-25 06:46:06 +00:00
simonb
f6a072430d
fix memory leaks in menu code
2006-04-24 13:34:14 +00:00
simonb
1119068227
fix crash when toolbar disabled
2006-04-22 16:38:20 +00:00