Commit graph

3943 commits

Author SHA1 Message Date
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
4e5c210688 updated changes 2005-06-02 01:45:36 +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
61213bed3a fix for dest dir, thanks php-coder 2005-05-27 11:06:31 +00:00
fluxgen
307b331031 fix for dest dir, thanks php-coder 2005-05-27 11:04:33 +00:00
fluxgen
17c3199cd8 be_BY translation by Kirill A. Shutemov k.shutemov at sam-solutions dot net 2005-05-27 10:53:24 +00:00
fluxgen
67215acbd9 be_BY translation by Kirill A. Shutemov k.shutemov at sam-solutions dot net 2005-05-27 10:51:28 +00:00
fluxgen
264ba413de be_BY translation by Kirill A. Shutemov k.shutemov at sam-solutions dot net 2005-05-27 10:49:35 +00:00
fluxgen
c9cb022554 be_BY translation by Kirill A. Shutemov k.shutemov at sam-solutions dot net 2005-05-27 10:48:50 +00:00
fluxgen
9a5f155f63 update 2005-05-20 22:30:54 +00:00
fluxgen
f9af363e24 added the ability to use keycode in keys file 2005-05-20 22:25:22 +00:00
fluxgen
3172279d10 locale path 2005-05-18 08:33:29 +00:00
fluxgen
6a10833ff5 update 2005-05-18 08:33:05 +00:00
fluxgen
519c02ad57 locale path 2005-05-18 08:32:31 +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
d24c090ecc updated changes 2005-05-14 01:56:13 +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
mathias
eddedd50d1 last minor issues for 0.9.13 2005-05-13 19:56:06 +00:00
fluxgen
4d2f513c86 new version 2005-05-13 12:27:37 +00:00
fluxgen
8111089cdd update 2005-05-13 12:24:34 +00:00
fluxgen
b48c87ca29 new version 2005-05-13 12:15:51 +00:00
simonb
5175ac3a40 fix a segfault 2005-05-13 11:01:01 +00:00
mathias
8a249bfb1b updated changes 2005-05-12 20:18:17 +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
c55dce44fa on some systems (openbsd, solaris, freebsd) the iconv was not really well
recognized and/or added to the LIBS .. i tested this version on a lot of
different platforms and it SHOULD work propperly, even if it looks a bit
strange.
2005-05-12 20:00:18 +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
41462f08d2 i was a bit unspecific about the problem 2005-05-11 15:46:10 +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
c6c7788405 fixed missing fonts 2005-05-10 10:04:31 +00:00
mathias
b41f934a57 `AM_CONFIG_HEADER'
Automake will generate rules to automatically regenerate the
config header. This obsolete macro is a synonym of
`AC_CONFIG_HEADERS' today (*note Optional::).

so we use the nonobsolete now, thanx php-coder for pointing that out.
2005-05-10 08:09:19 +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