Commit graph

437 commits

Author SHA1 Message Date
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
mathias
ca5d12bbde fix bug in Screen destructor, can lead to segfault at exit/restart 2004-11-17 01:21:50 +00:00
akir
2760b03b2e cosmetic changes, added ResizeModel to ScreenRessources 2004-10-18 01:24:24 +00:00
akir
a6d4a3563c added followModel Ressources, dunno if the name is so clever, i am open for other suggestions 2004-10-16 22:18:56 +00:00
rathnor
9128a64e62 don't require [begin] in included files 2004-10-04 15:37:58 +00:00
fluxgen
2c66db2ba0 cleaning, we dont create windows with XCreateWindow 2004-09-16 10:10:37 +00:00
rathnor
42c1fd3ae3 preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
2004-09-12 14:56:20 +00:00
fluxgen
049e40c9eb Font::drawText takes reference to FbDrawable instead of X Drawable + some code cleaning 2004-09-11 23:01:34 +00:00
fluxgen
3775776963 head specific strut, patch from Mathieu De Zutter 2004-09-11 13:33:07 +00:00
akir
1d355a9192 transfered ::getRootPixmap from several places to new home, FbPixmap 2004-09-09 14:29:10 +00:00
akir
b470256cf6 fix the segfault-fix of fluxgen some days before. workspacemenu must be
destroyed after rootmenu is cleaned.
2004-09-06 13:17:56 +00:00
fluxgen
23fcec1728 fix for crash on shutdown, the workspacemenu must be destroyed before clientlist. fix for duplicates in iconlist, note: check update(stateSig) in fluxbox.cc, icons might be added twice 2004-09-05 01:11:41 +00:00
akir
d4077526b4 antialias- and alpha-entries only in menu when its compiled in 2004-08-30 11:33:23 +00:00
fluxgen
7794867005 improved algoritm for transient_for in initWindows 2004-07-14 18:28:05 +00:00
fluxgen
9cee51bdf0 fixed bug in transient window creation at startup 2004-07-14 12:13:29 +00:00
rathnor
965086f39d tidying up initialisation with dockapps 2004-06-21 15:23:42 +00:00
rathnor
4589ecdbbc fix initialisation of state when a window is first mapped 2004-06-19 15:04:28 +00:00
fluxgen
34ac6caeab minor fix 2004-06-14 12:25:31 +00:00
fluxgen
aaa72eada2 minor fixes 2004-06-07 21:22:42 +00:00
rathnor
fff4456dee update NLS string handling... 2004-06-07 11:46:05 +00:00
rathnor
9069ae0d80 fix up a number of things for when a window hides while moving,
including a crash bug
2004-05-13 01:48:18 +00:00
fluxgen
745dcf42c3 iconmenu is now handled in IconMenu which is created in WorkspaceMenu, moved all parsing of menu file to MenuCreator 2004-05-02 21:12:22 +00:00
rathnor
4439b3f9b1 fixes for/reimplement parts of directional focus movement 2004-04-28 14:59:12 +00:00
fluxgen
94100534be kde dockapps in systray and moved resource templates to ScreenResource.cc 2004-04-19 22:44:42 +00:00
fluxgen
e828391b1c hide window menu if click on another window, patch from Mathias Gumz 2004-04-12 23:05:10 +00:00
fluxgen
209ba75bac optional decoration of transient windows, patch from Scott Moser 2004-03-30 13:48:38 +00:00
fluxgen
27e83c1b06 setLineAttributes in reconfigure 2004-03-23 09:21:29 +00:00
fluxgen
b0af80ec1d added screen resource .overlay.lineWidth, .overlay.lineStyle and .overlay.capStyle which defines the line style for resize and move actions on windows, patch from Mathias Gumz 2004-03-22 21:01:42 +00:00
rathnor
dea3281e69 primarily focus fix/tweak/rejigging 2004-03-21 09:00:25 +00:00
fluxgen
048861bf35 fixed menu timestamp on root menu, Patch from Mathias Gumz 2004-03-18 14:45:56 +00:00
fluxgen
f1d41e6afa cleaning 2004-02-27 12:32:54 +00:00
fluxgen
3c78d753c0 fixed focus issues with remember hidden, patch from Mathias Gumz 2004-02-20 09:07:27 +00:00
fluxgen
a8f458d593 added missing templates 2004-02-10 18:53:37 +00:00
rathnor
fb8ec8979b fix loading of the ColSmartPlacement policy 2004-02-03 12:55:35 +00:00
fluxgen
5e5118b4e3 using empty instead of size 2004-01-21 14:14:40 +00:00
fluxgen
b3a2564ffd clientlist notify when window changes workspace 2004-01-19 22:07:24 +00:00
fluxgen
2e0fba3253 workspace area signal 2004-01-19 18:29:43 +00:00
fluxgen
f8f65c3945 different window for position coordinates, patch from Junichiro Kita 2004-01-16 11:47:07 +00:00
fluxgen
3af441d3ef hideMenus function, hides all menus on current screen 2004-01-11 16:06:22 +00:00
fluxgen
ba24f20831 clear root menu 2004-01-10 02:58:01 +00:00
fluxgen
76006e0ac9 separator menu item 2004-01-03 00:28:02 +00:00
fluxgen
345ef845c9 lock roottheme so it doesn't get run twice 2004-01-02 13:29:01 +00:00
fluxgen
b2ba9c1355 minor fix for theme loading on start 2003-12-31 00:38:40 +00:00
fluxgen
33f69f1815 minor fix for previous fix 2003-12-29 01:23:04 +00:00
fluxgen
3c3f805fcd removed call to ThemeManager load in constructor, we call it load theme later 2003-12-29 01:06:32 +00:00
fluxgen
448d9fa722 moved focus enum to BScreen, change window placement resource to FbTk Resource 2003-12-19 00:34:23 +00:00
fluxgen
7f8adc5a49 add style item only if the file is a regular file and not a .file or a backup~ file, thanks Ciaran McCreesh 2003-12-18 21:13:52 +00:00
fluxgen
bb02a522fb code cleaning 2003-12-18 18:03:23 +00:00
fluxgen
8735c6a08b clamp menu delay resource 2003-12-18 15:27:21 +00:00
fluxgen
49c13b9e03 minor cleaning 2003-12-14 01:09:00 +00:00
fluxgen
bf75608df0 menu delay and mode 2003-12-12 18:18:49 +00:00
fluxgen
5ffb6290c1 cleaning in the menu code 2003-12-10 23:08:06 +00:00
fluxgen
cb8e8e8d05 fixed geometry bug 2003-12-10 22:28:07 +00:00
fluxgen
c5b79ed14b usePixmap from Texture 2003-12-07 16:39:43 +00:00
fluxgen
29beda2d6b sync function 2003-12-04 21:31:02 +00:00
fluxgen
a8f39f0d7a fixed send to bug 2003-12-04 00:08:55 +00:00
fluxgen
f7fc364a4c minor cleaning 2003-12-03 23:08:48 +00:00
rathnor
c8d1e5491b add better theme path searching 2003-11-16 22:33:56 +00:00
rathnor
b88f9b2a9e fix a number of positioning and sizing issues 2003-10-31 10:37:09 +00:00
rathnor
7c70b2cd5b fix build with --disable-slit 2003-10-28 17:39:59 +00:00
rathnor
c516aa13a1 fix reading of auto raise delay 2003-10-05 06:28:47 +00:00
rathnor
fa4328d862 make doFocusLast work for sloppy focus as well 2003-10-05 02:31:23 +00:00
rathnor
158b515e21 address some memory issues shown up with valgrind 2003-10-02 16:14:41 +00:00
rathnor
10ce5372d9 quadrant-resizing (Thanks Mathias Gumz) 2003-09-29 12:53:58 +00:00
rathnor
2c8e8e5915 fix crash when closing active window while cycling focus 2003-09-24 14:26:01 +00:00
fluxgen
9928d4505d less flicker on workspace change 2003-09-14 10:13:54 +00:00
fluxgen
4a63da7168 update for winFrameTheme on geom 2003-09-12 23:35:31 +00:00
fluxgen
935616cab6 iconlist signal to notify when iconlist changed 2003-09-08 16:37:27 +00:00
fluxgen
d0d5f2e547 minor cleaning 2003-08-30 01:02:38 +00:00
fluxgen
6980502df2 using signals for slit 2003-08-29 10:50:32 +00:00
fluxgen
3d5ef23a97 stylemenuitem is toggle item 2003-08-27 14:26:37 +00:00
fluxgen
49f5eef946 moved border color and width to frame theme 2003-08-25 16:07:09 +00:00
rathnor
06a66cc304 fix some style initialisation issues 2003-08-25 13:15:53 +00:00
fluxgen
329ac9d0bb fixed resize signal so objects can resize when the screen size changes 2003-08-24 13:07:01 +00:00
fluxgen
d509be7ac9 cleaning 2003-08-24 11:19:45 +00:00
fluxgen
46fb72ba75 calling winbutton theme with frame theme 2003-08-22 15:03:28 +00:00
fluxgen
2ae58a7e49 cleaning 2003-08-18 11:26:17 +00:00
fluxgen
b25e9d0c20 minor fix 2003-08-17 19:06:10 +00:00
fluxgen
d101fdb770 cleaning 2003-08-17 13:21:32 +00:00
fluxgen
1f45e91e12 load themes before we create any windows 2003-08-13 16:53:13 +00:00
fluxgen
1f4944abb4 added shutdown variable to indicate that we are shutting down and dont need to listen to some signals 2003-08-12 12:21:42 +00:00
fluxgen
7be86791e4 reverted back to no updateNetizenWindowDel in removeClient 2003-08-12 01:04:16 +00:00
fluxgen
3a109be9b3 removing client from workspace and sending update netizen window del 2003-08-12 00:27:57 +00:00
fluxgen
11643efc67 loading theme after we created all screens 2003-08-11 20:32:51 +00:00
fluxgen
f6d07eacb3 removed strftimeformat resource, it is in clocktool now 2003-08-11 16:27:23 +00:00
rathnor
c8c5072fd1 fix ~ to work properly in session.menuFile 2003-08-10 12:50:04 +00:00
fluxgen
301bd5c0aa minor cleaning 2003-08-04 12:57:23 +00:00
fluxgen
c73dafb79c added kde dockapp test in createWindow 2003-07-28 20:11:55 +00:00
fluxgen
b72bf7b854 added iconmenu to workspace menu 2003-07-28 18:28:03 +00:00
rathnor
f71e53fbe9 some more fixing of wm_protocols 2003-07-28 16:29:25 +00:00
rathnor
d353b688de update many things to use WinClient instead of FluxboxWindow 2003-07-28 15:06:36 +00:00
rathnor
ac7edef9ad make sure all menus have titles, make -version go to stdout 2003-07-25 10:03:55 +00:00
rathnor
1741ac072d fix menus for "extra" things, like remember, so that they will be
added back if the menu is rebuilt.
2003-07-20 08:12:36 +00:00
rathnor
ace3e2e629 fix toolbarmode = OFF bug, plus add toolbar menu back to screen's config menu 2003-07-20 02:45:57 +00:00
rathnor
a827c24e36 fix alpha setting for menus when multiple screens by moving from static in menu
to part of MenuTheme
2003-07-19 03:59:56 +00:00
rathnor
7e1733c435 reorganise operation of ResourceManager
plus fix initialisation of layer for slit and toolbar
2003-07-18 15:40:55 +00:00
fluxgen
6e416d3e40 using extended fluxbox menutheme instead of fbtk menutheme 2003-07-10 11:29:45 +00:00
rathnor
3144086eef support in remember for specifying groups.
Also split atomhandler::setupWindow
2003-07-04 01:03:41 +00:00
fluxgen
d919892957 added visual enable thing for style menus so one can see which style is currently selected 2003-07-03 13:57:58 +00:00
fluxgen
6fce27ea13 added reconfig signal 2003-07-01 12:39:09 +00:00
fluxgen
952759281a fixed xinerama bug in maximization stop 2003-06-30 18:04:48 +00:00
fluxgen
3598527d19 we can now use the same action strings in the menu as in key actions 2003-06-30 15:31:54 +00:00
rathnor
a69b117fe4 fix slit netizen issues 2003-06-27 15:05:19 +00:00
fluxgen
c3939e170e removed toolbarhandler 2003-06-25 05:47:23 +00:00
fluxgen
cb40c16274 moved toolbar mode resource to ToolbarHandler 2003-06-24 16:30:13 +00:00
fluxgen
4d389149bc minor cleaning, removed window number 2003-06-24 14:57:54 +00:00
fluxgen
d870f44fa4 fixed some slit stuff 2003-06-24 13:56:01 +00:00
fluxgen
476c6d1d17 minor fix 2003-06-23 14:33:43 +00:00
rathnor
09a5c23c5b fix grouping to persist over restart, plus various related bugs.
Also move a large proportion of window initialisation from FluxboxWindow to
WinClient
2003-06-23 14:16:05 +00:00
fluxgen
3029aca7ef reconfigure toolbar after we load resources 2003-06-23 13:31:47 +00:00
fluxgen
429c59cf59 moved toolbar resources to Toolbar 2003-06-23 13:10:52 +00:00