Mathias Gumz
603b36a2cc
use FbTk::API to reduce code duplication
2010-09-17 14:46:01 +02:00
Mathias Gumz
12e1ef7826
code deduplication by using <algorithm> and FbTk/STLUtil.hh
2010-09-15 02:07:09 +02:00
Mathias Gumz
52f614b598
bugfix: 'reset' nr_shapes to '0' after last instance of 'Shape'
2010-09-15 01:23:56 +02:00
Mathias Gumz
2b62cf9733
cleanup and code deduplication
...
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch)
* FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned
* FbTk/FbString.cc: missing return
* WinClient.cc: create atoms only once; use helper function
* Window.cc: use a helper function
2010-09-15 01:22:01 +02:00
Mathias Gumz
c6047e9eba
use one array instead of two to hold both 'names' and 'atoms' for the rootwindow
2010-09-14 16:59:05 +02:00
Mathias Gumz
f39bcbd93c
bugfix: create the corner pixmaps only once per screen
...
for each window (windows, menue etc) the initCorners() function of
FbTk/Shape.cc was called (which is ok). On each call the corner pixmaps
(of the Screen the window belongs to) were created and destroyed the
formerly created pixmaps. this is not needed.
2010-09-14 16:58:08 +02:00
Mathias Gumz
75b9a4ed72
bugfix: free the shape-corners on the last used 'Shape'
...
the global 's_corners' vector was still used on an application shutdown
(including ctrl-c SIGINT). depending on when 's_corners' was created on
the stack this could lead to an exception ('pure virtual called') while
trying to free the 'FbPixmaps' without having a valid
'FbTk::Application::instance()' left.
2010-09-14 16:54:08 +02:00
Mathias Gumz
4e2c7e2167
moved helper struct TextPropPtr into anonymous namespace
2010-09-10 16:36:17 +02:00
Mathias Gumz
7fdb0676a7
bugfix: initialize the Shape of a menu AFTER we created the window for the menu
...
on startup a lot of 'Fluxbox: X Error: BadDrawable (invalid Pixmap ...)' occured.
this was caused by using an empty 'Window' to create the shape.
2010-09-09 23:23:33 +02:00
Mathias Gumz
77f39235cf
added FbTk::Util::clamp() and simplified related code
2010-09-09 15:31:54 +02:00
Mathias Gumz
e685117941
simpler to use FbTk/Timer api
2010-09-09 12:47:38 +02:00
Mathias Gumz
b76be98227
improved extract*Number functions from FbTk/StringUtil.cc
2010-09-08 21:42:48 +02:00
Mathias Gumz
6ecfa0ef3e
cosmetic fix: looks like a copyNpaste issue
2010-09-08 20:48:37 +02:00
Mathias Gumz
26c1cd0cee
code simplification
2010-09-08 20:48:01 +02: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
8feb0b8c83
avoid constructing new strings implicit
2010-09-05 10:49:05 +02:00
Mathias Gumz
83656fc0e8
cosmetic
2010-09-05 10:47:12 +02:00
Mathias Gumz
63f9c8c1a2
reuse temporary memory for reencoding / reordering fribidi-strings
2010-09-05 10:47:01 +02:00
Ken Bloom
ea98db4140
added support for bidirectional text
2010-09-04 15:01:33 +02:00
Mathias Gumz
b8987fc623
code simplification / deduplication
...
* parse the string only once for a bunch of chars to check instead of
starting over again and again from the beginning, created a helper
function to do this (FbTk::StringUtil::findCharFromAlphabetAfterTrigger)
* put same code into a function (setClockModeLabel())
* use much simpler code to switch between 12h and 24h mode and replace
the fmt-switches
2010-08-24 17:30:24 +02:00
Jim Ramsay
a3b063292c
bugfix: another crash when cleaning up signals
...
While 769130f51a
did fix one issue, it introduced another by changing the
logic related to the new SignalTracker. The original logic (introduced in
9ad388c5bf
) was:
-> in 'leave(Signal)', only call 'disconnect'
-> in 'leaveAll()', call 'disconnect' and 'disconnectTracker'
But 769130f51a
inverted this, calling 'disconnectTracker' in both cases but
only 'disconnect' in the 'leaveAll()' case, which would leave unattached signals
around after calling 'leave(Signal)'.
This fix not only repairs the logic, but renames the ambiguous 'disconnect'
boolean to something more explicit: 'withTracker'.
2010-07-14 11:36:00 -04:00
Mathias Gumz
769130f51a
bugfix: do not use invalid iterators while looping thru a container which gets destroyed
2010-05-23 15:58:35 +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
Mathias Gumz
ff9c68e247
fixed potential memory leak
2010-05-16 14:25:59 +02:00
Mathias Gumz
17b21635a2
cleanup created corner pixmaps, moved the initCorners() function out of the class
2010-05-16 14:25:36 +02:00
Mathias Gumz
04739b2d1f
initialize all member variables, otherwise unclean state in some circumstances
...
(valgrind complained a lot about ::updateGeometry() accessing uninitialized variables)
2010-05-16 14:24:34 +02:00
Mathias Gumz
bca59851f3
bugfix: crash when cleaning up signals
...
22fa5f544b
was not fixing anything, the real cause is that the
SignalHolder still has a reference to a not existing Tracker.
2010-05-07 09:36:30 +02:00
Mathias Gumz
615e9cec32
compile fix: FD_ZERO (sys/select.h) on solaris wants to use memset(); closes #2997117
2010-05-06 21:19:31 +02:00
Mathias Gumz
22fa5f544b
bugfix: added missing 'virtual' keyword, otherwise fluxbox crashes with 'pure virtual method called'
2010-05-06 20:25:47 +02:00
Henrik Kinnunen
9ad388c5bf
Added Tracker interface for SignalHolder.
...
This is used by SignalTracker so Signals can disconnect from it when
they die.
2010-03-26 18:04:58 +01:00
Henrik Kinnunen
1cae9f22f8
Minor fix for argument reference in MemFunSelectArgImpl
2010-03-26 18:00:23 +01:00
Henrik Kinnunen
5bc782561b
Initialize all variables in FbWindow
2010-03-26 17:28:18 +01:00
Henrik Kinnunen
f150f727b2
Added SelectArg.hh to Makefile.am
2010-03-19 02:32:17 +01:00
Henrik Kinnunen
ceff86b794
Added SelectArg and MemFunSelectArg*
...
The MemFunSelectArg* functions can be used to select
a specific argument from a signal. For example this would
select the string argument as argument to the callback:
Signal<void, int, float, string> signal;
signal.connect(MemFunSelectArg2(obj, &Object::takesOneStringArg));
signal.emit(10, 3.14, "hello");
...
void Object::takesOneStringArg(const string& value) {
...
}
2010-03-19 02:23:41 +01:00
Henrik Kinnunen
68e90ab84f
Added missing RelaySignal.hh to Makefile.am
2010-03-18 19:47:14 +01:00
Henrik Kinnunen
02bb93590c
Added FbTk::relaySignal, which relays new signals to old Subject type signals.
2010-03-18 19:35:19 +01:00
Henrik Kinnunen
18570d83a2
minor cleaning in MemFun.hh
2010-03-18 10:56:15 +01:00
Henrik Kinnunen
0504de454a
Added MemFunIgnoreArgs which ignores aditional arguments.
...
For example connecting a function that takes two arguments
to a signal that emits three arguments:
struct Functor {
void show(int a, int b);
};
Functor f;
Signal<void, int, int, int> s3;
s3.connect(MemFunIgnoreArgs(f, &Functor::show));
2010-03-18 10:45:33 +01:00
Mathias Gumz
254bc96daf
fixed little preprocessor error
2010-02-27 10:33:06 +01:00
Mathias Gumz
c65dc30fc2
improved documentation of the code
2010-01-19 20:20:13 +01:00
Mathias Gumz
46261a8284
implemented 'MoveN' and 'ClickN' support in keys file.
...
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent())
is disabled for now, should be added to fluxbox-update_configs
2009-12-18 08:05:07 +01:00
Mark Tiefenbruck
8def80cec3
reportedly fix compiling on gcc 4.4 on Solaris
2009-10-08 00:18:43 -07:00
Mathias Gumz
6645688880
definition should match declaration
2009-10-03 13:53:13 +02:00
Mathias Gumz
69bf3965b7
compile fixes for sun compiler 5.10: class Layer conflicts with class FbTk/Layer .. so just a little renaming
2009-10-03 13:53:00 +02:00
Mathias Gumz
f2ea245f1d
compile fixes for sun compiler 5.10: complains about 'not beeing able to initialize this from that'
2009-10-03 13:38:41 +02:00
Mathias Gumz
261ba26d27
another little helper for FbTk::StringUtil: extractNumber()
2009-10-01 21:16:46 +02:00
Mathias Gumz
4eeac74a3d
removed unused code
2009-10-01 08:58:56 +02:00
Mathias Gumz
65a45dc65f
compile fix: missing include guards
2009-10-01 08:57:46 +02:00
Mathias Gumz
c4c96ec830
simpler code
2009-10-01 08:57:31 +02:00
Mathias Gumz
078438e993
compile fix: missing headers (sun compiler complained about)
2009-10-01 08:41:04 +02:00
Mathias Gumz
6c0739e889
compile fix: using correct forward declaration for template classes
...
we got this 'Warning (Anachronism): Old syntax for explicit specialization or
instantiation ignored.' with the solaris compiler
2009-10-01 07:34:37 +02:00
Mathias Gumz
38ef6e5155
made code simpler
2009-10-01 07:07:07 +02:00
Mathias Gumz
69de5b5a00
cosmetic fix: removed warning about double ';' after command
...
static xyz inside a anonymous namespace is not really needed, so i removed the namespace
to get rid of the compiler warning. it's more convinient for the developer
to put ';' after that REGISTER_COMMAND_PARSER
2009-09-30 21:08:55 +02:00
Mathias Gumz
f8c61a1ba2
compile fix: use the correct format string to parse the number
2009-09-30 21:05:02 +02:00
Mathias Gumz
12fe9ca7a8
compile fix: sun compiler complains about missing std::mem_fun_t<>
2009-09-30 21:03:25 +02:00
Mathias Gumz
884db973bb
cosmetic fixes: removed redundant ';' + some whitespaces
2009-09-30 21:02:24 +02:00
Mathias Gumz
4663a9591e
bugfix: 'HideMenus' command did not work if the user 'opened' an empty submenu.
...
'openeing' such an empty submenu lead to an already hidden menu referenced by
the 'shown' pointer
2009-09-23 22:21:13 +02:00
Mark Tiefenbruck
ca9e2e0d15
allow navigating multi-column menus with left and right arrows
2009-08-08 10:20:45 -07:00
Mark Tiefenbruck
9f59ce18a2
change default toolbar tools to:
...
prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
2009-06-28 10:54:55 -07:00
Mark Tiefenbruck
c1d9ae5068
fix changing iconbar alignment and button width from init file
2009-06-28 09:39:28 -07:00
Mark Tiefenbruck
659af0eb75
allow 'Ctrl' and 'Alt' as modifiers in keys file
2009-06-28 09:12:02 -07:00
Mark Tiefenbruck
4e586cc172
previous fix for reverting iconbar to relative broke external tabs
2009-06-28 08:22:51 -07:00
Mark Tiefenbruck
fe92b6b39b
revert to relative iconbar alignment when too many windows are open
2009-06-28 03:40:50 -07:00
Jim Ramsay
ff6a46391f
Error on incomplete MacroCmd key command
2009-05-26 16:27:31 -04:00
Jim Ramsay
a56e409b1f
Exit loop for unterminated { } pair
2009-05-26 16:27:31 -04:00
Mark Tiefenbruck
e770016660
remove unnecessary xpm.h include in imlib code
2009-02-24 14:22:18 -08:00
Mark Tiefenbruck
9bd6401013
ignore XRandr events that don't actually change the screen size
2008-10-14 19:40:33 -07:00
Mark Tiefenbruck
5b07791ed4
merge menuDelay and menuDelayClose options
2008-10-12 21:55:03 -07:00
Mathias Gumz
93924af160
using namespace instead of a useless class
2008-10-09 09:38:42 +02:00
Mark Tiefenbruck
dda95bf106
allow relative path for background images in style files
2008-10-06 18:16:26 -07:00
Mark Tiefenbruck
c033c201c4
remove menu modes
2008-10-04 19:49:28 -07:00
Mark Tiefenbruck
c91926cf71
fix flickering of shaped windows on focus changes
2008-10-03 20:48:38 -07:00
Mark Tiefenbruck
9df75ed7a6
fix restacking
2008-10-01 02:29:59 -07:00
Mark Tiefenbruck
269459e1aa
don't flash original window in the middle of cycling focus
2008-10-01 01:38:56 -07:00
Henrik Kinnunen
f2c8868724
Merge branch 'master' of fluxbox@git.fluxbox.org:fluxbox
...
Conflicts:
ChangeLog
2008-09-28 10:53:16 +02:00
Henrik Kinnunen
bcf37890b6
Change focused signal to use the new signal system
2008-09-28 10:46:49 +02:00
Mark Tiefenbruck
04a1d2a83b
don't let KeyRelease events propagate to windows
2008-09-28 01:26:21 -07:00
Mark Tiefenbruck
01aa0b6f8f
fix some goofy code
2008-09-27 00:59:12 -07:00
Mark Tiefenbruck
bb70b14432
fix rounded corners on restart
2008-09-25 20:51:37 -07:00
Mark Tiefenbruck
3f33657fb7
fix active menu item when inserting or removing other items
2008-09-21 22:32:02 -07:00
Henrik Kinnunen
f5113e2ec1
no virtuals needed Signals, added leaveAll for SignalTracker which must be used before all screens dies.
2008-09-21 12:02:49 +02:00
Mark Tiefenbruck
4c11204716
fix a few things with new signal code
2008-09-20 23:46:23 -07:00
Henrik Kinnunen
e4d4717703
Added new Signal/Slot system in FbTk
...
This is suppose to replace the obsolete Subject/Observer classes.
See the src/tests/testSignals.cc for basic usage.
2008-09-18 22:24:35 +02:00
Henrik Kinnunen
91408776f0
Fixed a pixmap resource leak with selected pixmap in menus.
...
menu.hilite.selected.pixmap and menu.selected.pixmap was not
deleted while switching between non-pixmap styles and pixmap styles.
2008-09-14 21:36:16 +02:00
Henrik Kinnunen
8fb1722389
included some missing files in distribution
2008-09-01 20:18:59 +02:00
Mark Tiefenbruck
13a73a78f6
highlight the nearest menu item when the current one is disabled, and add separators to focus model menu
2008-09-01 11:00:04 -04:00
Mark Tiefenbruck
65c5fb3237
make clicking on the border of the toolbar activate toolbar buttons
2008-08-23 17:14:31 -07:00
Mark Tiefenbruck
1fe1da5ca0
fix parsing of Delay command
2008-08-21 12:53:32 -07:00
Mark Tiefenbruck
75850d8b60
shift+enter wasn't sending right click if the menu item had a submenu
2008-08-19 09:36:08 -07:00
Mark Tiefenbruck
a30a14ef36
add top, left, right, and bottom center tab placement options
2008-08-18 01:45:44 -07:00
Mark Tiefenbruck
72fd5e03a4
revert focus when closing dialogs
2008-08-16 06:30:09 -07:00
Mark Tiefenbruck
38654bae45
some cleanup
2008-08-16 05:54:07 -07:00
Mathias Gumz
31b47e7814
cleanup of some files
2008-08-14 07:53:38 +02:00
Mark Tiefenbruck
7970388238
add selection box to various "choose one of these" menu items
2008-08-03 21:59:14 -07:00
Mark Tiefenbruck
c492daf2d9
remove dithering code
2008-06-26 12:41:43 -07:00
Matthias S. Benkmann
6509fe0cac
fix some memory leaks and uninitialized values
2008-06-07 06:14:23 -07:00
Mark Tiefenbruck
ad6a7e48f4
add new command line option -list-commands
2008-06-03 01:07:14 -07:00
Mark Tiefenbruck
bfaec62d79
remove some unnecessary architecture
2008-06-03 00:15:37 -07:00
Mark Tiefenbruck
85a44db6c6
reset typeahead when adding/removing items in the menu
2008-05-30 02:02:41 -07:00
Mark Tiefenbruck
46bca62a9c
move FluxboxWindow::applyDecorations() to FbWinFrame
2008-05-24 01:03:59 -07:00
Matteo Galiazzo
af0f241954
don't save rc in SetStyle command if loading the style fails
2008-05-14 01:40:53 -07:00
Mark Tiefenbruck
93b0c5322a
refactor menu reloading, added FbTk::AutoReloadHelper
2008-05-11 17:22:40 -07:00
Matteo Galiazzo
4a3be045b2
add tooltips for iconbar buttons when title is too long to fit
2008-05-05 05:05:52 -07: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
Thomas Orgis
1e2ab2f3ed
some fixes for gcc 3.4
2008-04-21 15:43:10 -07:00
Mark Tiefenbruck
26dafdafbe
fix highlighted menu item on mouse out
2008-02-08 18:36:06 -08:00
Mark Tiefenbruck
b7eee2350d
fix rotation
2008-02-03 07:37:01 -08:00
Mathias Gumz
9cb78eaa3b
reordering
2008-01-28 08:41:42 +01:00
Mark Tiefenbruck
70a24b992c
don't require final {} on :If
2008-01-24 04:03:04 -08:00
Simon Bowden
7b055cc54a
Fix missing destructor warning
2008-01-18 20:29:09 +11:00
Mark Tiefenbruck
1d4bea8a2d
Merge branch 'master' of fluxbox@gitfbox:fluxbox
2008-01-18 00:33:47 -08:00
Mark Tiefenbruck
3a5fd7342d
use function pointer for CommandParser::Command
2008-01-17 14:16:58 -08:00
Mathias Gumz
f6c292a406
split Text.hh into Orientation.hh and TextUtils.{cc,hh}
2008-01-15 08:45:57 +01:00
Mathias Gumz
e1db89e2d7
moved code a bit around, cleaned up some classes
2008-01-14 23:27:00 +01:00
Mark Tiefenbruck
5b0806f1cb
forgot to add this
2008-01-11 02:46:06 -08: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
60ba709c2f
add a level of indirection to themes
2008-01-04 01:06:38 -08:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mathias Gumz
bf15250292
merged
2008-01-03 07:56:59 +01:00
Mathias Gumz
b73411a95f
moved seldom used code to where it is actually used, no need to include code into compilation when its not needed
2008-01-02 22:44:16 +01:00
Mark Tiefenbruck
6ea1ed8cfa
fix border width on synthetic ConfigureNotify events
2008-01-01 19:10:38 -08:00
Mark Tiefenbruck
72d2f0e481
fix compatibility with older gcc versions
2007-12-30 14:58:41 -08:00
Mathias Gumz
04cd2fd14c
removed some unneeded headers
2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
4cc810b0d3
remove some (hopefully) unneeded header includes
2007-12-29 22:44:11 -08:00
Mathias Gumz
de6d340ba3
forgotten inlines from previous round
2007-12-30 01:36:37 +01:00
Mathias Gumz
e1f362ae76
'inline' in class declaration is implicitly inline
2007-12-29 22:38:53 +01:00
Mark Tiefenbruck
8e96ffb74b
moved DelayedCmd from Screen.cc to FbTk/Timer.cc, added it to the keys file
2007-12-28 01:19:33 -08:00
Mark Tiefenbruck
0f6b73f36a
move shape handling from FbMenu to FbTk::Menu
2007-12-28 01:14:19 -08:00
Mark Tiefenbruck
2940869cd7
merge MenuTheme with FbTk::MenuTheme
2007-12-27 23:16:17 -08:00
Mark Tiefenbruck
62bcfaf0e4
move Shape to FbTk
2007-12-27 22:52:48 -08:00
Mark Tiefenbruck
0ec165e85b
move STLUtil to FbTk
2007-12-27 22:22:38 -08:00
Mark Tiefenbruck
32eb2a148e
move RegExp to FbTk
2007-12-27 22:15:06 -08:00
Mark Tiefenbruck
39224b0142
move Parser to FbTk
2007-12-27 21:52:00 -08:00
Mark Tiefenbruck
e8a2f155e8
moved Container to FbTk
2007-12-27 21:47:55 -08:00
Mark Tiefenbruck
00ceefd884
moved BorderTheme and TextTheme to FbTk
2007-12-27 20:39:31 -08:00
Mark Tiefenbruck
b5c354b994
architecture astronomy
2007-12-27 13:55:24 -08:00
Mark Tiefenbruck
1f5cd12fac
simplify the window transparency menu and handling a bit
2007-12-26 20:42:10 -08:00
Mark Tiefenbruck
f5024351e7
stupid &
2007-12-26 13:50:44 -08:00
Mark Tiefenbruck
f3790fb3e4
revert previous patch until it can be fixed
2007-12-26 13:44:55 -08:00
Mark Tiefenbruck
b2546389a5
changing focusnew/mousefocus should affect windows that are already open
2007-12-26 13:31:55 -08:00
Mark Tiefenbruck
9daf464b28
fix showing program icons with depth=1 in menus
2007-12-24 21:58:50 -08:00
Mark Tiefenbruck
eaabe0321d
make bit depth accessible from an FbDrawable
2007-12-24 21:15:17 -08:00
Mark Tiefenbruck
54eda44f85
fix menuitem height on startup
2007-12-20 18:25:50 -08:00
Mark Tiefenbruck
aef3155784
convert macro command parsing to use new StringUtil function
2007-12-20 12:52:20 -08:00
Mark Tiefenbruck
03dce043b7
added ForEach key command
2007-12-20 12:23:56 -08:00
Mark Tiefenbruck
98c5cea5f5
fix torn menus
2007-12-17 22:52:30 -08:00
Mark Tiefenbruck
c01bd6e9fd
holding control will now keep the menu open
2007-12-17 21:44:17 -08:00
Mark Tiefenbruck
31df2d8bd6
make MenuItem responsible for decision to close menu when clicked
2007-12-17 21:09:20 -08:00
Mark Tiefenbruck
0ca0aa1ac2
fix initialization of menu fonts
2007-12-16 13:13:22 -08:00
Mark Tiefenbruck
4a7a143713
load style before loading theme objects, remove duplicate theme load
2007-12-16 00:50:59 -08:00
Mark Tiefenbruck
8516f1e2a2
changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>
2007-12-15 19:36:01 -08:00
markt
d90befb430
StringUtil::removeFirst/TrailingWhitespace didn't truncate a string that was only whitespace
2007-12-14 20:05:14 +00:00
markt
b001ea9f1f
close menus when they lose focus, instead of on [exec] commands
2007-12-13 18:42:05 +00:00
markt
8b7464046c
added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register
2007-12-13 05:48:00 +00:00
markt
474e201745
only allow one open menu at a time
2007-12-11 19:29:00 +00:00
markt
bb6906fa80
added special FocusIn/Out MouseOver/Out ChangeWorkspace keys
2007-11-22 20:21:47 +00:00
markt
675bc5d66a
added conditional statements to keys file
2007-11-22 04:07:57 +00:00
markt
08ebff4b31
move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed
2007-11-20 19:01:45 +00:00
markt
5d7043320d
allow arbitrary window patterns in iconbar
2007-11-12 21:59:43 +00:00
fluxgen
c7d4438d91
fixed bug #1809786
2007-10-18 17:37:46 +00:00
markt
a59428d67a
merged changes from pre-devel
2007-10-13 21:51:37 +00:00
markt
16218ae90b
fix crash when changing toolbar visibility with empty toolbar.tools
2007-09-08 18:38:30 +00:00
markt
538e33fedb
some minor changes
2007-08-05 22:28:11 +00:00
simonb
288dfa6eb9
only possible anomaly I can see here
2007-08-04 18:15:58 +00:00
simonb
b273360331
Fix system tray restart issues
2007-08-04 17:14:13 +00:00
markt
8da54ca0eb
add some decorations to torn menus, and fix restart without an argument
2007-07-31 23:16:05 +00:00
markt
363764db5b
fix ToggleDecor for fullscreen and decorationless windows, plus some other cleanup
2007-07-24 12:12:45 +00:00
markt
8de73d0fd4
updated behavior of alt-tab to match pre-devel, fixing bug #1755698
2007-07-17 21:21:17 +00:00
markt
5aecf58d47
make sure menus close only when right clicking down and up on the titlebar
2007-07-15 16:32:54 +00:00
markt
18cd70f749
save workspace names, and some fixes for menu behavior
2007-07-07 01:56:46 +00:00
markt
823ce0d017
stop gvim from repeatedly resizing tabbed windows
2007-07-03 21:08:07 +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
86031f9c75
don't create gigantic images when XGetGeometry fails in FbTk::FbPixmap::copy
2007-07-03 01:55:44 +00:00
markt
329fca30fd
updates for compiling with gcc 4.3
2007-06-29 17:25:24 +00:00
markt
bbdc61c87b
strip off extra bits set by Xorg in event state
2007-06-28 22:25:35 +00:00
markt
8f89c86592
update menu xinerama settings after moving
2007-06-03 23:51:11 +00:00
fluxgen
75f8d95c17
fixed bug #1718112 , memory leak in FbWindow::textProperty
2007-05-19 11:42:44 +00:00
markt
cd73887b11
added include command to ITypeAheadable.hh header for tolower()
2007-05-17 20:35:09 +00:00
markt
b66dde6e94
better check these too
2007-05-05 22:33:36 +00:00
markt
008685a90e
fixing return value checks for utf8 strings
2007-05-05 22:21:35 +00:00
mathias
6ac57655d9
basicly cosmetic changes, patch by slava semushin
2007-04-17 07:52:40 +00:00
markt
3b9351be77
menu from workspacename tool wasn't focused, and fixed unpressed button rendering
2007-04-08 18:01:01 +00:00
markt
b09aae8579
changed caps lock detection to use LockMask, so the actual key can be used for Mod4, etc.
2007-04-05 16:07:01 +00:00
markt
e89d4aa219
getting rid of more useless files in the repo
2007-04-03 22:39:41 +00:00
markt
06fb6cbd55
fixed a bug, removed some unused code
2007-04-03 17:14:00 +00:00
markt
48f761f981
fixed problem with creating windows in iconic state
2007-04-01 21:42:01 +00:00
markt
a744b152bb
fix a little compile error on some machines
2007-03-21 22:52:47 +00:00
markt
d7eebb62bd
active menu item wasn't getting reset properly when closed from [exec] with buttonpress
2007-03-19 06:18:25 +00:00
markt
d948abb81b
fixed parentrelative menu highlight bug
2007-03-11 19:07:42 +00:00
markt
4ed76f99b6
don't mark menu as focused, even if it gets a FocusIn, when it's not visible
2007-03-07 02:09:24 +00:00
markt
8c5fd07d77
fixed compiling error with xft disabled
2007-03-05 00:16:53 +00:00
markt
b9e39764f3
more little changes to typeahead (thanks Matteo, plus changes from me)
2007-03-04 18:22:25 +00:00
markt
0d02b9bdf3
little bug fix for menu typeahead (thanks Matteo)
2007-03-04 17:51:17 +00:00
markt
4c1a242968
moved some code around (regarding event handling) in preparation for upcoming features
2007-03-04 17:47:37 +00:00
markt
a233229bd8
added support for typeahead in menus
2007-03-03 19:35:34 +00:00
markt
d6a7bd786f
add XK_KP_Enter to menu
2007-03-02 19:17:06 +00:00
markt
6de3414135
whoops, didn't mean to add these
2007-02-28 21:32:24 +00:00
markt
a0944a02cd
ignore borders when doing FocusLeft, etc.
2007-02-28 21:29:58 +00:00
markt
ec9cd21dda
some code simplification and bug fixes
...
mainly, using a non-zero menuDelayClose allowed you to have multiple submenus open
2007-02-28 19:13:59 +00:00
markt
3503f75903
lots of unrelated fixes
2007-02-27 17:46:48 +00:00
markt
68aa6be216
little sanity check
2007-02-25 17:39:47 +00:00
markt
3d789a1e70
ButtonRelease should only trigger actions if ButtonPress was on the same button
2007-02-21 17:17:40 +00:00
markt
6fdda1a31d
added mouse bindings to the keys file
2007-02-09 18:13:01 +00:00
markt
07a3b3939b
clicking on the edge of a button didn't work
2007-02-04 18:41:08 +00:00
markt
d446ba265a
bunch of cleanup, little bug fixes
2007-01-27 18:06:28 +00:00
markt
c0bfde4aca
fix some crashes with empty menus, and fixed default workspace names
2007-01-26 21:57:43 +00:00
markt
0f07f98ae2
don't raise windows above OverrideRedirect windows, or else they eventually get restacked on the bottom
2007-01-25 18:09:11 +00:00
markt
feb56381d7
various changes to menu behavior
2007-01-21 18:43:22 +00:00
markt
6ed9f38b7a
several fixes for background option in styles
2007-01-14 19:00:18 +00:00
markt
45743c6f42
fix another 64-bit window property
2007-01-08 21:12:47 +00:00
simonb
a1b78a1e6d
I overkilled RefCount. Too tired. Heres the proper fix.
2007-01-07 14:58:10 +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
4628ff7694
set opacity properly
2007-01-06 19:59:46 +00:00
markt
94e2c89053
make "force pseudotransparency" menu item work immediately
2007-01-06 19:03:33 +00:00
simonb
1f7b12cc49
move triangle drawing into FbDrawable
...
Make MenuItem triangles proportional
2007-01-06 07:38:04 +00:00
markt
8930a711ee
only grab keybindings on screens managed by fluxbox
2007-01-05 16:54:34 +00:00
simonb
64fcedda00
use LC_TIME for interpreting clock locale.
...
Fix something likely to break locales on BSDs and things without
nl_langinfo
2007-01-05 16:10:56 +00:00
simonb
ad7fd2d867
fix loading of rotated fonts on style change
2007-01-05 13:43:54 +00:00
simonb
3a79de034f
change default Xft font so that it works properly with rotation (see
...
notes in ChangeLog or FbTk/Font.cc)
2007-01-05 13:01:19 +00:00
markt
aeac1b3344
scaling color values so that they have the right intensity
2007-01-02 06:31:23 +00:00
markt
9d1447b0d5
more dead functions
2006-12-22 05:44:42 +00:00
markt
1440919956
Change to data structure for keybindings, ungrab and grab keys when switching
...
keymodes instead of deciding whether we need it and repeating the key.
2006-12-19 18:08:33 +00:00
fluxgen
3efe68ffe3
removed duplicate headers, patch from Slava Semushin aka php-coder
2006-11-12 17:16:56 +00:00
mathias
a3c5fd6000
cosmetic patch from slava again
2006-11-07 19:12:42 +00:00
mathias
e5e76e7761
Cosmetic patch from Slava Semushin
2006-10-30 19:31:15 +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
857e96049b
added CachedPixmap
2006-10-16 19:41:57 +00:00
fluxgen
9f4baeb0fc
cached pixmap helper, works like auto ptr for cached pixmaps
2006-10-16 18:47:27 +00:00
simonb
b1b8bd12ae
fix minor menu separator highlight issue
2006-08-14 13:45:05 +00:00
markt
6c4dcc679b
it never existed (what never existed?)
2006-08-09 04:54:58 +00:00
markt
bd8ef1bc87
remove FbTk::Menu::enter/leaveNotifyEvent -- caused problems with placing submenus
2006-08-09 04:20:06 +00:00
markt
9b9d5a9617
fix some compiler warnings in gcc 4.1
2006-08-08 19:25:48 +00:00
markt
0954a0b61d
fix torn menus on exec
2006-07-26 20:20:52 +00:00
markt
be2f40a10d
use a timer to make sure focus always reverts if possible
2006-07-23 09:51:54 +00:00
markt
a72fc5e002
unfix *lock modifiers, ignore scroll lock on events
2006-07-21 08:36:12 +00:00
markt
f9ade8947c
properly revert focus when two windows close at the same time
2006-07-20 07:15:59 +00:00
fluxgen
06320420a5
Fixed bug #1362913 , did not check format pointer.
2006-07-16 15:55:19 +00:00
markt
349441ec6e
dead function
2006-07-11 03:20:41 +00:00
simonb
b407e121ba
fix crash on startup from iconv_close of an invalid descriptor
2006-07-04 23:41:43 +00:00
markt
c18985732b
more dead functions
2006-07-01 03:32:53 +00:00
markt
698539d9b9
more dead functions
2006-07-01 02:56:46 +00:00
simonb
6dc5ca4e60
some minor code cleanups thanks Slava Semushin (php-coder), who also thanks Mikhail Gusarov
2006-06-27 08:54:24 +00:00
simonb
aedcaea054
properly protect usage of iconv_t by HAVE_ICONV
2006-06-26 01:36:27 +00:00
markt
b699ed4d9e
Fix compile error with some compilers not including iconv.h before FbString.hh
2006-06-25 19:04:46 +00:00
simonb
bf9b60833f
fix FbPixmap retaining pixmap (that made cache not work properly)
...
Also small tidy in FbWinFrame.cc
2006-06-25 14:59:34 +00:00
simonb
131d04cf42
Check for NoSymbol more explicitly - thanks Julien Trolet (dmxen at
...
sourceforge)
2006-06-25 14:00:13 +00:00
simonb
80389b5dd5
support encodings in menu files
2006-06-25 09:05:58 +00:00
simonb
577859034d
fix crash when unable to convert from local to utf-8
2006-06-25 07:18:41 +00:00