summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2005-06-30if we check the time only ever second we can get into trouble, eg:mathias1-3/+4
assume its 12:34:56.99, displaying 12:34:56 takes some time and so its already 12:34:57 when we display 12:34:56. to fix that i set the time to check the clock to 0.01 seconds. that shouldnt hurt much since we only redraw the clock when the string has changed. a more complex approach would be to analyze the strftime-string and set the timeout accordingly. but i dont know if its really worth the effort and beeing a bit off schedule can happen too, just not as often as if you are in seconds mode.
2005-06-28Add missing ``template <>`` befor ThemeItem<Font>::setDefaultValue.grubert1-1/+1
2005-06-28- Fix for toggling the toolbar doesnt update strut (thanx C. Monti)mathias1-25/+15
- Little reordering of ToolbarMenu items, more important ones to the top and "edit current ws" out... maybe we should think of another way of providing menus for the tools .. submenus?
2005-06-23minor fix for window menufluxgen1-2/+4
2005-06-23added forgotten _FBNLS;mathias1-0/+1
2005-06-23moved window menu from FluxboxWindow to BScreenfluxgen1-2/+6
2005-06-23added showSubmenu in MenuItemfluxgen3-3/+11
2005-06-23moved window menu from FluxboxWindow to BScreenfluxgen16-283/+303
2005-06-23new filesfluxgen4-1/+83
2005-06-19fix handling of shaded and iconic windows, particularly on restartsimonb1-44/+44
2005-06-19revert 4055, caused crashes plus it should be done differentlysimonb1-12/+16
2005-06-19change fbwinframe to use containersimonb4-269/+266
move a few frame ops to have most code in Container
2005-06-18Fixes #1116965, shadwd windows on restart:mathias1-16/+12
shaded icons behaved badly on restart, they went into a real stupid state: somehow shaded, but at the same time iconic, so you werent able to unshade, resize them properly. i fixed that by applying NormalState on shutdowntime (see FluxboxWindow::restore(), unshading a shaded frame to get good window dimensions and on init() i mark the window initialized and connect it to Fluxbox::attachSignals() a bit later.
2005-06-18Screen.cc: not used codemathias1-4/+0
fbgm.in: added amarok
2005-06-17*.font.shadow.x and *.font.shadow.x were not correctly read or better,mathias1-3/+8
misinterpreted. so the shadow'ed text was written direct underneath the normal text .. and hence invisible.
2005-06-16little typo which prevented shadowcolor beeing setmathias1-1/+1
2005-06-15Enhanced MoveTo, fixes #1074568mathias3-14/+81
MoveTo <int|*> <int|*> <Reference Corner> - * means "use current value" - Reference Corner is one of: - UpperLeft, Upper, UpperRight - Left, Right - LowerLeft, Lower, Right examples: MoveTo 0 * Left -> snap to left workspace edge MoveTo * 0 Lower -> snap to lower workspace edge MoveTo 0 0 UpperRight -> snap to upper right workspace corner TODO: perhaps add some "aliases" to make it more userfriendly
2005-06-15Fixes #1213003, SendToWorkspace shouldnt followmathias3-2/+57
SendToWorkspace and the rest are putting the window onto the new workspace silently, TakeToWorkspace warps to the new workspace with the window.
2005-06-15Fixes #1216020, *.font.effect wont get cleared if not defined in stylemathias1-1/+15
2005-06-08most used items should appear ontop of a menu. so i reordered themathias1-22/+41
workspacemenu a bit to fit that idea.
2005-06-07Fixed justification in WorkspaceNameTool #1213262, values were set after themathias1-4/+6
render() call was made.
2005-06-04added -screen to -helpmathias1-0/+1
2005-06-03- Usage of xft-fonts is prefered, except a font-description starts with '-'mathias15-276/+197
- Removed "antialias"-option completly, to enable/disable "antialias" use either <fontname>:antialias=<bool> in the style or use Xft.antialias: <bool> in your .Xdefaults - Added new styleresources: *.font.effect: <halo|shadow> *.font.shadow.x : <int> - shadow x offset *.font.shadow.y : <int> - shadow y offset *.font.shadow.color : <color> - color of shadow *.font.halo.color : <color> - color of halo - Removed 'shadow' and 'halo' options from fontdefinitions: !! Style authors have to update their styles !! - Simplified XmbFontImp to not try all possible fonts to match locale - Style authors may specify multiple fonts: <font1>|<font2>|<font3> if loading of font1 fails, fluxbox probes <font2>, etc. The last font is "fixed". Hints for style authors: - if xft tries to load a font it will _ALWAYS_ return a valid font, it doesnt have to look like the one you want to have, read more about it: http://fontconfig.org/fontconfig-user.html - export XFT_DEBUG=1 before running fluxbox helps to see which fonts are picked. eg: *.font: Verdana,Arial-12:antialias=true|-artwiz-snap-*- if fluxbox is compiled with xft this will NEVER try to load "-artwiz-snap-*-" since xft gives for sure a font, most likely Verdana or Arial but noone knows. So, if fluxbox has no xft support the first fontpattern fails and fluxbox tries the next one, which might be successful. if everything fails, it will use "fixed" - Added caching of fonts, fonts are only loaded once. - Fixed #1090902 (slow utf8 start)
2005-06-03deleted the "fallback"-code, which was one of the reasons for slowing downmathias1-44/+2
fluxbox in utf8-locales: if no fontset is found up to this point its because of a) no such font b) not supported locale if we try our best and enhance the basename-list and add some more generic patterns the xserver will give us a valid fontset .. which is good coz we have something to work with but which is BAD coz we return a valid fontset as if we have found the font the user wants .. so, every fallback in higher level code will fail coz we find a valid fontset by any meaning here. if no fontset can be found, the "fixed"-fontset should be there already.
2005-06-02* patch from vadim <suhanov_vadim@mail.ru>:mathias1-0/+5
"_BLACKBOX_NOTIFY_WINDOW_ADD was emited before _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING lists updates."
2005-06-02* patch from vadim <suhanov_vadim@mail.ru>:mathias1-1/+1
"when i iconify some window it disappears from _NET_CLIENT_LIST until Ewmh::updateClientLis are been called again."
2005-06-02* _NET_WM_STATE_HIDDEN is now used correctly -> if the window goes iconic, thismathias2-12/+33
state is set... what about moving it outside of the visible area? we need to think about this. * mixing _NET_WM_STATE_HIDDEN and _NET_WM_STATE_SKIP_TASKBAR is solved, we dont do this anymore * we dont use _NET_WM_STATE_SKIP_PAGER .. so we shouldnt delete it, thats handled now correctly -> look at the *State() - functions
2005-05-20added the ability to use keycode in keys filefluxgen1-2/+20
2005-05-18locale pathfluxgen1-3/+0
2005-05-18locale pathfluxgen1-1/+0
2005-05-18updatefluxgen1-0/+1
2005-05-17fix systemtray overlapsimonb1-1/+3
2005-05-14Vadim pointed out that _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING are ↵mathias3-5/+11
not updated when sending _BLACKBOX_NOTIFY_WINDOW_DEL _NET_WM_DESKTOP and _WIN_WORKSPACE had wrong initial values (-1), which lead to probems with (eg) fbpager (unaware of newly created windows and such things)
2005-05-13fix a segfaultsimonb2-3/+3
2005-05-12llittle rewrite for the FbTk_istringstream usage.. was needed coz gcc2.95.xmathias3-17/+8
systems had problems before. with this change fluxbox should compile on such old compilers.
2005-05-12replaced setenv() completly by putenv(). since putenv() really puts themathias1-6/+30
*string into the environment we need to track what we putenv.
2005-05-12missing #include <typeinfo>mathias1-0/+1
2005-05-12__APPLE__ doesnt have <nl_types.h>mathias1-1/+1
2005-05-12when the app changes its pixmap we need to trigger that correctlymathias1-0/+12
2005-05-11minor optimizationmathias1-2/+2
2005-05-10copy N paste ... icc complained slightlymathias1-1/+1
2005-05-10cache the root pixmap (per screen)simonb3-36/+123
2005-05-09fix from vadim for fbrun-tabcompletionmathias1-0/+1
2005-05-09fix for gentoo #91955, remembering the current window-position didnt store themathias1-1/+21
reference corner to the appsfile.
2005-05-07patch from vadim to fix the issues in input-areas he introduced with his lastmathias1-24/+36
patch
2005-05-07remove default gray background on created FbWindowssimonb1-4/+3
(not everything should get a bg set)
2005-05-07new code in WinButton was assuming that at ::clear() - time there is always amathias1-5/+5
valid m_listen_to.winClient() .. which is not true under some circumstance. i guarded the code accordingly.
2005-05-07fix titlebar transparency in some casessimonb1-1/+3
2005-05-06Added new Buttons for the Titlebar of a Window (Mathias)mathias7-60/+240
- Shade - just like the "Stick"-button Styleresources: window.shade.pixmap, window.shade.unfocus.pixmap, window.shade.pressed.pixmap window.unshade.pixmap, window.unshade.unfocus.pixmap, window.unshade.pressed.pixmap etc. - MenuIcon - click on it provides the windowmenu, if the app contains a pixmap (gvim, konqueror etc etc) the pixmap is displayed, a little menu otherwise. Styleresources: windowmenu.pixmap, windowmenu.unfocus.pixmap windowmenu.pressed.pixmap etc. Example ~/.fluxbox/init - entry: session.titlebar.left: MenuIcon Stick session.titlebar.right: Shade Minimize Maximize Close hint: if the app HAS a pixmap i use window.title.focus.pixmap (look WinButtonTheme for reference)in pixmap-based-styles. this looks excellent and dont need much extra-code to pipe that info into WinButtons.
2005-05-06fix wm_name for fluxboxsimonb2-1/+4