Commit graph

347 commits

Author SHA1 Message Date
fluxgen
806addad8e moved destroyAndClearList from Screen.cc to STLUtil::destroyAndClear 2006-05-13 15:35:47 +00:00
simonb
faf043bef9 more utf8 changes, notably window titles 2006-05-07 10:08:25 +00:00
simonb
3707b74c40 fix a bunch of comments, make default textures obvious
Thanks Jonas Koelker
2006-04-25 02:19:04 +00:00
simonb
f6a072430d fix memory leaks in menu code 2006-04-24 13:34:14 +00:00
simonb
731f0deaaf external tabs as default 2006-04-24 11:23:01 +00:00
simonb
1119068227 fix crash when toolbar disabled 2006-04-22 16:38:20 +00:00
simonb
932eebe0dd couple of memory fixes from valgrind 2006-04-22 15:37:04 +00:00
simonb
1028f4cb51 minor cosmetic tweaks, thanks Semushin Slavak, php-coder AT ngs ru 2006-04-22 09:49:05 +00:00
simonb
29f975b302 add reversewheeling option
thanks Kalle - ice_jkpg at users.sourceforge.net
2006-04-16 12:03:31 +00:00
mathias
a6551852bb fixed size_t issue with prevWorkspace, minor cosmetic changes to Screen.hh 2006-04-11 18:26:00 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
simonb
af74a22845 rotated fonts, buttons, containers. Used for tabs for now 2006-03-26 04:02:30 +00:00
fluxgen
1107edf176 fixed duplicate ClickTabFocus menu item, thanks mal 2006-03-23 21:50:58 +00:00
simonb
5e22dcd9ff more external tab work, tidying and tab width config option 2006-03-22 13:06:00 +00:00
simonb
fe4a7db228 external tabs features and bugfixes 2006-03-22 12:23:17 +00:00
simonb
f2d3fff4d4 external tabs 2006-03-20 11:31:24 +00:00
fluxgen
1eda33b856 added addManagedResource, which adds a resource to BScreen and will be destroy by BScreen. + removed geom window nls 2006-03-18 22:03:23 +00:00
mathias
14befe1ff4 forgotten #include 2006-03-16 18:25:33 +00:00
fluxgen
369b4e1b92 moved class Layer from class Fluxbox and thus reduces some dependecies 2006-02-20 21:04:35 +00:00
fluxgen
b772fd969f moved placement strategies to different PlacementStrategy classes 2006-02-19 11:11:22 +00:00
fluxgen
d099e7673a forgot to delete focus control 2006-02-19 08:11:10 +00:00
fluxgen
5ceacc6592 moved all focus handling to FocusControl 2006-02-18 20:19:22 +00:00
fluxgen
4d52797b95 moved all focus handling to class FocusControl 2006-02-18 11:39:38 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
mathias
f803d8f250 applied patch from php-coder to fix some warnings, mostly signed vs unsigned
issues
2006-01-16 18:46:39 +00:00
fluxgen
4d77f7fbf1 new background style item, making rootCommand in styles obsolete 2005-11-22 21:59:48 +00:00
mathias
28837ee6e1 introduced session.styleOverlay (~/.fluxbox/overlay), all style settings
made in that file will override/overlay the ones made in the used
style. TODO: write more specific docu about it
2005-11-16 22:08:05 +00:00
mathias
f14c73ed33 Fixed #1223878, Style reloading on USR2 (patch from Zan)
cosmetic stuff in StringUtil.cc/hh
2005-10-21 19:23:57 +00:00
simonb
070a216aa8 Add titlebar scrolling options (thanks Krzysiek Pawlik <krzysiek.pawlik__AT__people.pl>)
New init options added:
  session.screenN.windowScrollAction: Shade|NextTab
   - set the action that happens when scrolling on the titlebar
  session.screenN.windowScrollReverse: true|false
   - reverse the action direction
2005-09-07 16:46:17 +00:00
mathias
460dffdcc1 Changed some *Focus options, just to make some things a bit more clear.
the "Sloppy" was always a bit .. unprecise.

removed SloppyFocus, SemiSloppyFocus and ClickToFocus options
added MouseFocus, ClickFocus, MouseTabFocus, ClickTabFocus
- MouseFocus - change the focus to the window under the mouse
  (almost similar to the 'old' SloppyFocus)
- ClickFocus - change the focus to the window the user clicks
- MouseTabFocus - change active tabclient to the one under the
  mouse in titlebar, does NOT change the focus
- ClickTabFocus - change active tabclient when clicked onto a 
  tabbutton
to achieve former SemiSloppyFocus behavior one needs MouseFocus and
ClickTabFocus
2005-07-20 18:29:01 +00:00
fluxgen
1727656e0a cleaning, change getCount to numberOfWorkspace 2005-07-04 18:18:32 +00:00
fluxgen
5373f6d840 moved window menu from FluxboxWindow to BScreen 2005-06-23 03:07:25 +00:00
mathias
a8d7752804 Screen.cc: not used code
fbgm.in: added amarok
2005-06-18 13:32:56 +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
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
simonb
7d4f711204 fix some menu drawing issues 2005-05-03 13:53:25 +00:00
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
mathias
e2acd2b04c removed dead code 2005-04-29 16:46:26 +00:00
fluxgen
c7eb5b0332 transient window fix 2005-04-29 02:52: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
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
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +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
fluxgen
45f00785e9 fixed remove workspace bug 2004-12-30 14:33:38 +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
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
ec5724e807 fix a problem with java-dialogs which dont open correct (thanx Scott Moser)
furthermore, and this is really interesting, this seems to fix also the bug
widely known as g.o.d - the grab of death. the g.o.d seems to freeze fluxbox
but let the mouse still be moving and no high-cpuload can be seen. the
(un)lucky can force the g.o.d by clicking like a weirdo and pressing keys like
crazy and then maybe it will happen. we are not quite sure WHY exactly this
happens but as it seems: XSync(true) caused the trouble.

we still keep watching this issue but hopefully noone experiences bad
"freezes" anymore. (/me crosses fingers)
2004-11-30 22:19:35 +00:00
mathias
b47f050367 cosmetic (tabs -> spaces)
fix possible memleak with XineramaQueryScreens:
    "Returned array should be free with XFree()" (from Xinerama.h)
2004-11-22 19:40:34 +00:00
mathias
19bc596b84 fix segfaults on restart/exit, still issues with former iconified windows
at startup of fluxbox

should close #1067582, #1067580, #1060912
2004-11-20 18:12:51 +00:00