Commit graph

2953 commits

Author SHA1 Message Date
mathias
5324a82b01 most used items should appear ontop of a menu. so i reordered the
workspacemenu a bit to fit that idea.
2005-06-08 23:03:12 +00:00
mathias
a663db8fd3 Fixed justification in WorkspaceNameTool #1213262, values were set after the
render() call was made.
2005-06-07 09:01:29 +00:00
mathias
99a7f9a110 added -screen to -help 2005-06-04 11:46:42 +00:00
mathias
ef76b45ab1 - Usage of xft-fonts is prefered, except a font-description starts with '-'
- 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-03 07:25:48 +00:00
mathias
9c27e2e799 deleted the "fallback"-code, which was one of the reasons for slowing down
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-03 07:22:27 +00:00
mathias
5f489c23e4 * patch from vadim <suhanov_vadim@mail.ru>:
"_BLACKBOX_NOTIFY_WINDOW_ADD was emited before _NET_CLIENT_LIST 
 and _NET_CLIENT_LIST_STACKING lists updates."
2005-06-02 01:39:31 +00:00
mathias
ad5eb13210 * patch from vadim <suhanov_vadim@mail.ru>:
"when i iconify some window it disappears from _NET_CLIENT_LIST until 
 Ewmh::updateClientLis are been called again."
2005-06-02 01:38:03 +00:00
mathias
3d497bb703 * _NET_WM_STATE_HIDDEN is now used correctly -> if the window goes iconic, this
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-06-02 01:36:28 +00:00
fluxgen
f9af363e24 added the ability to use keycode in keys file 2005-05-20 22:25:22 +00:00
fluxgen
c8898e2017 locale path 2005-05-18 08:32:17 +00:00
fluxgen
9e34722e67 locale path 2005-05-18 08:31:58 +00:00
fluxgen
8bbf5e6eed update 2005-05-18 08:31:27 +00:00
simonb
e3e8d5c33b fix systemtray overlap 2005-05-17 11:24:50 +00:00
mathias
33e359a0df Vadim pointed out that _NET_CLIENT_LIST and _NET_CLIENT_LIST_STACKING are 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-14 01:55:31 +00:00
simonb
5175ac3a40 fix a segfault 2005-05-13 11:01:01 +00:00
mathias
64336d4cec llittle rewrite for the FbTk_istringstream usage.. was needed coz gcc2.95.x
systems had problems before. with this change fluxbox should compile on such
old compilers.
2005-05-12 20:16:45 +00:00
mathias
6280b9de05 replaced setenv() completly by putenv(). since putenv() really puts the
*string into the environment we need to track what we putenv.
2005-05-12 20:03:08 +00:00
mathias
87212dd249 missing #include <typeinfo> 2005-05-12 19:58:47 +00:00
mathias
7d1d67ca78 __APPLE__ doesnt have <nl_types.h> 2005-05-12 19:56:40 +00:00
mathias
59a806799f when the app changes its pixmap we need to trigger that correctly 2005-05-12 19:55:49 +00:00
mathias
44f2af5c10 minor optimization 2005-05-11 08:57:53 +00:00
mathias
f726168051 copy N paste ... icc complained slightly 2005-05-10 19:38:02 +00:00
simonb
5fec1906cc cache the root pixmap (per screen) 2005-05-10 16:29:00 +00:00
mathias
318d76b47c fix from vadim for fbrun-tabcompletion 2005-05-09 07:20:17 +00:00
mathias
aba44f47aa fix for gentoo #91955, remembering the current window-position didnt store the
reference corner to the appsfile.
2005-05-09 06:09:37 +00:00
mathias
4ddda95f20 patch from vadim to fix the issues in input-areas he introduced with his last
patch
2005-05-07 19:33:54 +00:00
simonb
5763339f4c remove default gray background on created FbWindows
(not everything should get a bg set)
2005-05-07 12:59:43 +00:00
mathias
64eb8cd6a9 new code in WinButton was assuming that at ::clear() - time there is always a
valid m_listen_to.winClient() .. which is not true under some circumstance.
i guarded the code accordingly.
2005-05-07 08:06:23 +00:00
simonb
a65511a32e fix titlebar transparency in some cases 2005-05-07 06:25:51 +00:00
mathias
4338fbec76 Added new Buttons for the Titlebar of a Window (Mathias)
- 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-06 18:04:14 +00:00
simonb
783a390375 fix wm_name for fluxbox 2005-05-06 15:24:53 +00:00
simonb
90fcc93d6e fix segfault opportunity in menu 2005-05-06 15:22:24 +00:00
mathias
d6ee96775d more keyactions for textbox-patch from Vadim <suhanov_vadim at mail dot ru> 2005-05-06 10:02:03 +00:00
mathias
6c057c6903 Fix for #1160244, #1099704, #1094107:
if the xkb-extension is enabled and the user switches between his/her
keyboardlayouts fluxbox's keybhandling doesn't work well anymore because
xkeyevent.state contains also xkb-related flags and thus we have to handle
that with caution.

KeyUtils now contain 'isolateModifierMask()' to really work only on the
modifiers. why not as part of cleanMods() ? because the XLookupString return
false results, eg TextBox's would only print chars from the first
keyboardlayout.
2005-05-06 09:22:53 +00:00
simonb
7d4f711204 fix some menu drawing issues 2005-05-03 13:53:25 +00:00
fluxgen
575578d810 minor fix 2005-05-03 09:53:13 +00:00
fluxgen
1bf17f9c32 using associateClient to create new tab and map it to labelbuttons 2005-05-03 09:28:05 +00:00
fluxgen
bc3b377efb code cleaning 2005-05-03 09:25:46 +00:00
fluxgen
86ee497b55 more compose and select2nd 2005-05-02 18:55:36 +00:00
fluxgen
ab3309338f Select2nd file 2005-05-02 12:14:31 +00:00
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
fluxgen
6b943ec69a select 2nd element in pair 2005-05-02 12:03:15 +00:00
fluxgen
d3362370f5 cleaning, create and delete tabs with FbWinFrame createTab/removeTab 2005-05-02 01:17:08 +00:00
mathias
55f62bc5cc Fix #1086673 ArrangeWindows on shaded aterms causes inconsistency (Mathias)
we now place shaded Windows above the normal windows. ArrangeWindows
touches only windows on the current (xinerama)-head.

there are still some open issues with this, look at my notes at the function
itself.
2005-04-30 13:10:15 +00:00
fluxgen
815e0cb09a minor const fix 2005-04-30 10:29:06 +00:00
mathias
cd3062405f commited the wrong file in the last session :/ 2005-04-29 18:02:14 +00:00
mathias
9214e519b3 added new IconbarModes:
NoIcons          - display all noniconified windows
  WorkspaceNoIcons - display all noniconified windows on the current
                     workspace

modified the nls-files accordingly
2005-04-29 16:54:30 +00:00
mathias
e2acd2b04c removed dead code 2005-04-29 16:46:26 +00:00
mathias
08601c23d3 enabled MenuItems / Separators are not clickable and the same logic should
apply to keys.
2005-04-29 11:20:41 +00:00
fluxgen
7e11e99f79 minor stuff 2005-04-29 02:53:34 +00:00
fluxgen
dba0d4ffb3 display accessor 2005-04-29 02:53:06 +00:00
fluxgen
c7eb5b0332 transient window fix 2005-04-29 02:52:36 +00:00
fluxgen
40d026ff99 transient window fix 2005-04-29 02:49:24 +00:00
simonb
94e3fa88fc revert mathias last change, and fix it differently using info already
there
2005-04-28 14:20:59 +00:00
mathias
f1c5abd17f i added an attribute to FbWindow to mark windows which are only used as
"carrier" (maybe a temporarly name?) ... carriers dont need background-updates
.. ever.

this leads to a big performance"boost" over the last commits. before we
updated also the windows which are the hosts for the apps (m_window and
        m_clientarea in FbWinFrame) -> bad idea.
2005-04-27 21:18:41 +00:00
simonb
c0f7258063 fix background setting + initialisation 2005-04-27 17:57:40 +00:00
simonb
690030444b add rough support for non-default depth pixmaps. Saves us having ghost
holes in windows
2005-04-27 17:45:56 +00:00
simonb
9970dd11c7 fix a few more bugs with recent reworking stuff
Some fixes could incidentally fix a few other bugs... the flaws were
pre-existing, I've just been weeding out a lot of duplication
2005-04-27 15:15:36 +00:00
mathias
b97c3db251 close #1182770
if someone changed the session.screen0.workspaces:<int> value and fired a
"reload config"/reconfigure-Command fluxbox crashed.

changes:

  - cleaner way of reading in the workspacenames
  - cleaner way of initialize the workspaces in BScreen()
  - on BScreen::reconfigure we add/delete Workspaces to the 
    current screen until init-file and fluxbox are in sync

    -> the user changed the initfile and pressed reload, so
       imho he wants to have the changes in the init-file realized.
2005-04-27 09:52:30 +00:00
simonb
6df9d6ed54 fix drawing foreground when transparency off 2005-04-26 11:37:29 +00:00
simonb
e57a30f664 fix systray client sizing 2005-04-26 04:18:10 +00:00
simonb
1c2f92a3d2 extension of previous big patch. Move a bunch of menu things onto
background pixmap. Same for textbuttons.
2005-04-26 01:41:55 +00:00
mathias
b49432be05 we are fluxbox, not blackbox. 2005-04-25 09:43:31 +00:00
mathias
adc88698fb #1188690, fbrun segfault 2005-04-25 06:47:01 +00:00
mathias
9288ae8eb0 close #956325 2005-04-23 10:03:06 +00:00
mathias
efe4ead214 fixed #960535, Deiconify with apps set 'sticky' 2005-04-23 08:44:45 +00:00
mathias
b0076fb3b4 fixed #1020399 aka broken ShowDesktop, its an error to travers the
workspace-windowlist and deiconify each window coz that list is
modified each time a window is iconified. a copy of that list solves
the problem.
2005-04-23 08:11:42 +00:00
mathias
d1876666c9 clear the maximized-Flag from a resized/moved Window ... a moved or resized
Window is not maximized any longer per definition imho. maybe we need to apply
the same policy to the fullscreen-State
2005-04-22 17:21:30 +00:00
mathias
0cc3391cec fixed a problem with iconified + sticky window not displayed in the iconbar
when running in WorkspaceIcons-mode
2005-04-22 11:25:07 +00:00
mathias
4c091d0529 fixes #1133809, ArrangeWindows doesnt respect available space on the
workspace (toolbar and slit would be covered)
2005-04-21 09:05:02 +00:00
mathias
1591c95285 fixes a problem with clients which define/request a Strut (see
http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507548), eg
kicker: after killing/closing kicker the availableWorkspaceArea is not
recalculated which lead to kind of invisible barrier where the Strut was.
2005-04-20 15:55:56 +00:00
mathias
e7cf5cbe3c fixes a problem with snapping to the slit. slit's borderwith wasnt part of the
strut.
2005-04-18 16:05:26 +00:00
mathias
ebad1ce12f fixes a little bug with snapping to windows which have a border only.
such windows dont have DECORM_ENABLED and hence no borderwidth was 
added to the calculation. thats fixed now
2005-04-18 15:27:59 +00:00
mathias
a98bd2c128 closes #1170056, Moving tab beyong last right tab causes malfunction 2005-04-15 14:41:32 +00:00
simonb
6e774e79e1 fix a few drawwing issues, esp menu opening offscreen 2005-04-15 00:39:54 +00:00
mathias
95ea1a0151 cosmetic 2005-04-14 17:12:33 +00:00
simonb
ddcecec37e fix a few small bugs from recent big patch 2005-04-13 14:39:25 +00:00
simonb
88c66f0687 Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to 
updateTransparent
2005-04-10 18:18:14 +00:00
mathias
eb9161016b no need to compile default.cc for every run, so we ll check for a
change of the revision-number
2005-04-07 02:14:29 +00:00
simonb
007c495239 Tidy up some redundant pixmap allocs 2005-04-02 14:59:38 +00:00
mathias
12dff3d3a9 added "Fullscreen" - command, removes borders and maximizes to
the full screen ... hence the name :)
2005-03-23 20:36:12 +00:00
mathias
1a6d067013 move the slitframe out of sight at startup 2005-03-17 14:24:36 +00:00
mathias
d6befe5371 fix for gravity field on _NET_MOVERESIZE_WINDOW messages, patch from Rob Stevens <stever3 at nycap dot rr dot com> 2005-03-16 23:19:36 +00:00
mathias
cfdba894ed added new option to specify, on which screen
fluxbox should handle the windows. default behavior is to handle 
each available screen. closes #1159809. usage:

   -screen <"all"|int[,int]>

eg:  
    
    $> fluxbox -screen 0,2      will run fluxbox on 0.0 and 0.2 so 
                                one can run any other wm on 0.1. 

    $> fluxbox -screen all      default, fluxbox manages all screens
2005-03-16 22:51:54 +00:00
mathias
150777e336 fix for #1152450, when having multiple screens the rootCommand's were
called too often:

  m_root_menu is locked for the current screen when loading the
  style for the current screen, but not for the screens already
  initialized and thus its executed when called thru Theme::reconfigure();
 
  now only the themes on the same screen are affected by the load-routine.
2005-03-16 22:44:48 +00:00
fluxgen
68708a89cb with menu, style, keys, init options, thanks php-coder 2005-03-16 08:42:18 +00:00
mathias
730e398b82 commands with trailing whitespaces were problematic coz the 'argument' was
notempty (eg :NextWorkspace or :PrevWorkspace want to have the 'argument'
        really empty).
now the first thing we do is to remove whitespaces from begin and end of the
line.
2005-03-10 16:51:24 +00:00
fluxgen
bac15c745e using stringstream header in FbTk 2005-02-13 16:36:54 +00:00
fluxgen
b8a39c1e6c stringstream header 2005-02-13 16:34:37 +00:00
fluxgen
e822437cb8 added stringstream header 2005-02-13 16:34:14 +00:00
fluxgen
8e0a3300ad stringstream 2005-02-13 16:33:49 +00:00
mathias
4a7d0b8434 cosmetic + updated copyright year 2005-02-10 10:24:31 +00:00
mathias
39e27876dd updated copyright year 2005-02-08 17:09:56 +00:00
mathias
b82b3b98d2 copyright year 2005-02-07 23:39:57 +00:00
mathias
d74e851955 updated copyright date 2005-02-07 13:51:50 +00:00
mathias
703fc0b0ee cosmetic white-space-stuff and/or copyright dates 2005-02-07 13:46:55 +00:00
mathias
8e33dad39f white-space cosmetic 2005-02-07 13:45:31 +00:00
mathias
31d8f96685 updated copyright dates 2005-02-07 13:42:43 +00:00
mathias
17abbcb3a7 fixed uninitialized pointer which could lead to segfaults when the user
specifies nonexistent/invalid tool-names in the init-file
2005-02-04 17:27:39 +00:00
mathias
b7bf873aa0 fixes the year for fluxbox -version
added a way to display the svn-revision-number in fluxbox -info
2005-02-03 16:46:46 +00:00
mathias
78c0048b5c changed SIGNAL handling to:
SIGHUP: restartfluxbox
  SIGUSR1: load configuration
  SIGUSR2: reload configuration

TODO:

  whats the essential difference between "loading" and "reloading"?
  maybe we can drop one of that functions
2005-02-02 15:22:58 +00:00
mathias
67098a21ea closes #1107213, 64bit issues with XChangeProperty
submitted by  Matthieu Herrb <matthieu.herrb@laas.fr>
2005-01-31 16:55:38 +00:00
mathias
5e9814e091 fix to solve compileproblems under freebsd4 2005-01-24 20:02:03 +00:00
mathias
6976bf4de7 copyright date 2005-01-24 18:43:01 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
6b8fca511c copyright date 2005-01-24 18:02:34 +00:00
mathias
297dae0137 copyright dates 2005-01-24 17:35:34 +00:00
mathias
a57694a901 copyright dates 2005-01-24 17:14:24 +00:00
mathias
6f53cc5120 cosmetic 2005-01-20 23:48:24 +00:00
mathias
ab1a422ac6 copyright date 2005-01-20 22:49:56 +00:00
simonb
c89d54205f fix tab detach - the window wasn't shown after attachTo 2005-01-20 22:41:34 +00:00
mathias
6fbe0e44d6 applied patches from openbsd-ports, closed #1105041 (sf)
execl needs a terminating NULL at the end, a '0' would be
    converted to "int 0" on 64bit-systems
2005-01-20 12:30:35 +00:00
mathias
52a8360e5b updated copyrights 2005-01-18 19:06:04 +00:00
fluxgen
78f3ca5db6 cleaning 2005-01-15 13:35:48 +00:00
fluxgen
f54125bfb2 minor stuff 2005-01-15 13:16:05 +00:00
fluxgen
676c89ab59 fixed some issues and added testMenu target 2005-01-15 13:15:49 +00:00
fluxgen
f947c73420 testing menu theme and parser 2005-01-15 13:14:13 +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
a07d61e63d moved ThemeItem<bool> - implementation to FbTk/ThemeItems.cc 2005-01-14 09:43:31 +00:00
mathias
4f9370cafa copyright 2005-01-14 09:42:07 +00:00
mathias
f0fd05ec25 copyright 2005-01-14 09:40:40 +00:00
mathias
d115d43cc0 copyright updated 2005-01-14 09:35:41 +00:00
mathias
e0550eb098 cosmetic change 2005-01-12 06:22:26 +00:00
mathias
11fa3b8585 default-values for some path-related resources (groups, apps etc) 2005-01-12 06:16:03 +00:00
mathias
2a49732159 fix for #1099278 2005-01-11 12:39:01 +00:00
mathias
5bbab52d6d fix for #1099950, Missing initialization in FbTk/FbWindow.cc 2005-01-11 12:05:10 +00:00
mathias
baaa66787c ungrabbuttons on windows we dont handle anymore (withdrawn) 2005-01-11 04:56:29 +00:00
mathias
8054e16fab fix for #1087220 (Wrong handling of XWithdrawWindow)
an XWithdrawWindow unmaps a window and sends a synthetic UnmapEvent after
that. when the second UnmapEvent arrives we have to set either the WM_STATE to
WithdrawnState or delete it. i decided for deletion so its absolutly clear
its not any longer under our control
2005-01-10 09:04:46 +00:00
mathias
51f30a5a63 forgotten debug-stuff 2005-01-10 08:56:11 +00:00
simonb
6c710ba374 fix position init from atom handlers 2005-01-10 08:10:17 +00:00
simonb
83224b7f55 fix up window initialisation ordering 2005-01-05 05:37:06 +00:00
mathias
0c74e8c935 Simon's last changes lead to segfaults when the users specified <Sticky> or
<Workspace> in apps-file. Reason is, that an unmanaged window is not yet
assigned to an workspace and thus the returned workspacenumber is -1 ... which
leads in combination with getWorkspace(nr) to an invalid workspace (0x0) ...
This also fixes the problem with several deiconify-modes of the iconbar, when
the iconbar is in icons-only mode (same reason)

The other changes in the files are just cosmetic, i throw out the comments
about the changes Simon did coz they make sense and are correct imho.
2005-01-05 01:56:19 +00:00
simonb
61bb3f039a fix some initialisation, especially relating to placement and
decoration/handler hints
2005-01-04 10:51:38 +00:00
mathias
fdc9b5adb7 fixed #996298, maximized windows and snapped windows dont respect
toolbar-borderwidth

further more windows do snap at screen-edges, no matter if maxover
is enabled or not
2005-01-03 05:00:39 +00:00
mathias
0134038fee fix problems with imlib2 on restart:
only when using "imlib_load_image_with_error_return" as the loading
    function imlib2 seems to avoid trouble when an image with <filename>
    doesnt exist. all other loadroutines lead to heavy problems when 
    fluxbox shuts down and tries to restart (memleak(?), distorted xressources
    etc)

    i ll analyze this further. another open issue with imlib2 is that it
    doesnt work when xserver/fluxbox is running in dualscreen-mode (not
    xinerama), no valid pixmaps are visible on the second head. dunno why
    (yet).
2005-01-02 06:27:45 +00:00
mathias
c7a3200730 small issues:
- added a guard so no invalid(0)-handler is deleted at shutdown

- "if (s_image_map[extension] == 0)" -> creates an entry for sure, we
  dont want this.
2005-01-02 06:21:45 +00:00
fluxgen
45f00785e9 fixed remove workspace bug 2004-12-30 14:33:38 +00:00
fluxgen
a0340e73a7 fixed shape bug 2004-12-28 22:21:15 +00:00
mathias
ddfb14a264 correct isExecutable 2004-12-24 06:14:08 +00:00
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +00:00
mathias
ad10a3543e fix a problem with enabling/disabling fullscreen-mode in gtk2-apps
* synchronize _NET_WM_STATE in Ewmh.cc
 * added FluxboxWindow::setFullscreen(bool) to Window.cc

furthermore, if a window is in fullscreenmode any existing shape is 
disabled (looks pretty annoying in mplayer for example)
2004-12-21 16:17:14 +00:00
mathias
a88d3b39ad added deleteProperty to FbWindow 2004-12-21 16:12:28 +00:00
mathias
6dffafc39e * added new command:
sethead <int>

  which sets the current window to head<int>

* added remembering of the head to apps-file:
    
   [Head] {<int>}
2004-12-21 16:09:36 +00:00
mathias
f3dfb80c40 added url for gnome-hints 2004-12-21 16:04:14 +00:00
mathias
33d90f7a5e fix segfaulting when new text is smaller than the oldtext,
m_start_pos has to be 0 before calculating anything else.
2004-12-18 02:44:11 +00:00
mathias
b3fa5c2428 * moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now
file and directory - helproutines.

* created the FileUtil-namespace which contains file-related functions, moved
  those functions out of Directory - code

* changes to the rest of the files to follow those changes
2004-12-18 01:29:22 +00:00
mathias
6458b1b485 cosmetic, double #include of the same header 2004-12-18 01:10:33 +00:00
mathias
0096ce6ea9 called the wrong 'update' function for the sendtomenu 2004-12-17 18:35:18 +00:00
mathias
eb42a7806d icc complaint about a "possible" conflict between the
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index)

to avoid this, we rename FbTk::Menu::update(int index) 
    -> FbTk::Menu::updateMenu(int index)

this is mostly cosmetic, but if it makes the life of a compiler happy, well ..
be happy icc :)
2004-12-13 14:03:17 +00:00
mathias
2095468fe6 applied patch from Rob Stevens:
fixes dragNdrop ordering of tabs so next/prevtab are not
  confused -> modification of m_clientlist
2004-12-13 12:17:58 +00:00