Commit graph

148 commits

Author SHA1 Message Date
Mathias Gumz
0ef76292c5 changed the way we create the '~/.fluxbox' directory to avoid race conditions
before bringing up the first instance of Fluxbox we prepare the directory
and the files it needs. if the config version of exiting files is lower
than what we expect, we upgrade the config files. after that we bring
up Fluxbox.

the old way was problematic because setupConfigFiles() calls
'fluxbox-update_configs' which does its job in the background while
fluxbox continues to boot. 'fluxbox-update_configs' sends a USR2 signal
to the booting fluxbox (it might even be finished, no one knows) which
triggers 'load_rc()' which triggered 'setupConfigFiles()' again which
might trigger 'fluxbox-update_configs' again (on my machine
'fluxbox-update_configs' was called 3 times and left a pretty crippled
'keys' file when it was done).

bootstrapping before bringing up fluxbox resolves the issue. as a bonus:
no need to send USR2 to fluxbox to reload the config file because fluxbox
has not even tried to read it yet.
2010-09-18 17:51:30 +02:00
Mathias Gumz
deb6a1ebf4 code simplification
we do not need a std::map just to store an attribute on an AtomHandler,
it makes housekeeping just more annoying.
2010-09-13 22:04:24 +02:00
Henrik Kinnunen
2fcc0fd9e7 Changed workspace area signal to use the new signal system 2008-09-28 16:00:48 +02:00
Henrik Kinnunen
bcf37890b6 Change focused signal to use the new signal system 2008-09-28 10:46:49 +02:00
Henrik Kinnunen
52e22a0304 Changed client list signal in BScreen to use the new signal system 2008-09-21 19:32:40 +02:00
Henrik Kinnunen
71674739ec Changed workspace names signal in BScreen to use the new signal system 2008-09-21 15:25:47 +02:00
Henrik Kinnunen
86819abab9 Changed current workspace signal in BScreen to use the new signal system 2008-09-21 13:44:48 +02:00
Henrik Kinnunen
2f4db57898 Changed workspace count signal in BScreen to use the new signal system. 2008-09-18 22:27:16 +02:00
Mark Tiefenbruck
f1ff5ff3b2 add -sync command line option for debugging X issues 2008-08-22 06:12:01 -07:00
Mark Tiefenbruck
72fd5e03a4 revert focus when closing dialogs 2008-08-16 06:30:09 -07:00
Mark Tiefenbruck
1a54fbc67d move default window menu to ~/.fluxbox/windowmenu 2008-06-19 20:48:26 -07:00
Mark Tiefenbruck
dcdc783324 only reload the keys file if the contents have changed 2008-05-12 12:16:37 -07:00
Mark Tiefenbruck
93b0c5322a refactor menu reloading, added FbTk::AutoReloadHelper 2008-05-11 17:22:40 -07:00
Mark Tiefenbruck
a9fd0f5b26 remove some more useless code 2008-05-11 08:54:18 -07:00
Mark Tiefenbruck
f66d446a94 move some stuff from Fluxbox to BScreen 2008-01-11 22:36:38 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mark Tiefenbruck
7588fc10a6 fix some flickering on focus change 2008-01-01 10:29:36 -08:00
Mathias Gumz
04cd2fd14c removed some unneeded headers 2007-12-30 16:32:53 +01:00
markt
474e201745 only allow one open menu at a time 2007-12-11 19:29:00 +00:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
markt
c6a2605d76 replaced ModKey with new key commands StartMoving and StartResizing 2007-10-22 17:45:39 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
363764db5b fix ToggleDecor for fullscreen and decorationless windows, plus some other cleanup 2007-07-24 12:12:45 +00:00
markt
135019abf9 fixes for --program-prefix and --program-suffix, plus fixed overwriting init file on reconfigure 2007-07-07 23:11:04 +00:00
markt
4c1a242968 moved some code around (regarding event handling) in preparation for upcoming features 2007-03-04 17:47:37 +00:00
markt
9477af82a5 removed session.numLayers resource, as it was useless and caused segfaults 2007-03-03 23:27:16 +00:00
markt
8930a711ee only grab keybindings on screens managed by fluxbox 2007-01-05 16:54:34 +00:00
markt
d6a3af53ff don't run [startup] items if fluxbox fails to load 2007-01-01 01:44:35 +00:00
markt
9229f8bc9c don't revert focus away from command dialogs 2006-07-25 21:54:58 +00:00
markt
be2f40a10d use a timer to make sure focus always reverts if possible 2006-07-23 09:51:54 +00:00
markt
85b2664d78 dead resource 2006-07-22 08:42:56 +00:00
markt
6cd9ad46cc some dead resources and the functions that go with them 2006-07-04 01:01:44 +00:00
markt
c18985732b more dead functions 2006-07-01 03:32:53 +00:00
markt
698539d9b9 more dead functions 2006-07-01 02:56:46 +00:00
markt
a14c322dcb more dead functions 2006-06-30 15:59:30 +00:00
markt
301665024d another dead function 2006-06-30 00:19:40 +00:00
mathias
dedbd7e468 Added patch from Jim Ramsay (i dot am at jimramsay dot com) to freely
define the used modkey.

Added new action SetModKey too
2006-06-22 07:46:12 +00:00
fluxgen
85f45be727 added support for _NET_WM_WINDOW_TYPE_DIALOG and _NET_FRAME_EXTENTS 2006-06-18 21:23:24 +00:00
fluxgen
3aa4244ab8 added support for urgency hint, thanks Mark Tiefenbruck 2006-06-11 12:47:47 +00:00
simonb
3707b74c40 fix a bunch of comments, make default textures obvious
Thanks Jonas Koelker
2006-04-25 02:19:04 +00:00
fluxgen
302c63e2df no more session.titlebar.left/right. They are now screen specific and the resources are created on the fly in FluxboxWindow 2006-03-18 22:01:06 +00:00
fluxgen
369b4e1b92 moved class Layer from class Fluxbox and thus reduces some dependecies 2006-02-20 21:04:35 +00:00
fluxgen
5ceacc6592 moved all focus handling to FocusControl 2006-02-18 20:19:22 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +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
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
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +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
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
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00