Commit graph

714 commits

Author SHA1 Message Date
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
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
4e5c210688 updated changes 2005-06-02 01:45:36 +00:00
fluxgen
61213bed3a fix for dest dir, thanks php-coder 2005-05-27 11:06:31 +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
9a5f155f63 update 2005-05-20 22:30:54 +00:00
fluxgen
6a10833ff5 update 2005-05-18 08:33:05 +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
eddedd50d1 last minor issues for 0.9.13 2005-05-13 19:56:06 +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
41462f08d2 i was a bit unspecific about the problem 2005-05-11 15:46:10 +00:00
simonb
5fec1906cc cache the root pixmap (per screen) 2005-05-10 16:29:00 +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
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
6aee5b22b7 update 2005-05-03 09:29:50 +00:00
fluxgen
e5d4fc1267 update 2005-05-02 12:10:24 +00:00
fluxgen
d8b8934089 update 2005-05-02 01:18:11 +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
mathias
7aed31fc5c updated changes 2005-04-29 16:58:17 +00:00
fluxgen
e108c5cac0 update 2005-04-29 03:01:14 +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
8a43bec0e8 cosmetic 2005-04-27 12:52:51 +00:00
mathias
7f967a6497 use of @PREFIX@ 2005-04-27 12:50:08 +00:00
mathias
079279c693 close #1107216, buildsystem issue 2005-04-27 12:19:05 +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
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