Commit graph

412 commits

Author SHA1 Message Date
markt
d32a7af7e6 remove lock from RootTheme and redundant loadTheme from fluxbox 2006-07-13 06:45:29 +00:00
markt
6cd9ad46cc some dead resources and the functions that go with them 2006-07-04 01:01:44 +00:00
simonb
51fa41554e call waitpid until no more children to wait for (thanks Devin/dlab). 2006-07-03 01:56:59 +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
markt
9e6c123611 Fixing my own code 2006-06-29 18:01:33 +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
simonb
3ada3b1f0d fix nls... notably classify text on conversion whether its for X or
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
fluxgen
85f45be727 added support for _NET_WM_WINDOW_TYPE_DIALOG and _NET_FRAME_EXTENTS 2006-06-18 21:23:24 +00:00
simonb
0861f3a907 improve native language handling, move messages and menu labels to
FbTk::FbString
2006-05-20 15:08:14 +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
53f869aa52 reload the apps file on flux reload 2006-04-23 14:51:04 +00:00
simonb
29f975b302 add reversewheeling option
thanks Kalle - ice_jkpg at users.sourceforge.net
2006-04-16 12:03:31 +00:00
simonb
33079d2593 add "key modes" - thanks to Mark Tiefenbruck, mark at tiefenbruck dot org 2006-04-12 15:51:37 +00:00
fluxgen
894a7148be size_t fixes, thanks Semushin Slava aka php-coder 2006-04-02 21:37:44 +00:00
simonb
f2d3fff4d4 external tabs 2006-03-20 11:31:24 +00:00
fluxgen
f5c2861baf 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:22 +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
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
fluxgen
1faef3ac2d nls for screen argument 2005-11-22 21:09:43 +00:00
simonb
93e30412af changelog had wrong name, default was from old patch 2005-11-16 22:48:35 +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
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
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
simonb
5fec1906cc cache the root pixmap (per screen) 2005-05-10 16:29:00 +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
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
fluxgen
7e11e99f79 minor stuff 2005-04-29 02:53:34 +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
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
b49432be05 we are fluxbox, not blackbox. 2005-04-25 09:43:31 +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
78c0048b5c changed SIGNAL handling to:
SIGHUP: restartfluxbox
  SIGUSR1: load configuration
  SIGUSR2: reload configuration

TODO:

  whats the essential difference between "loading" and "reloading"?
  maybe we can drop one of that functions
2005-02-02 15:22:58 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
f0fd05ec25 copyright 2005-01-14 09:40:40 +00:00
mathias
11fa3b8585 default-values for some path-related resources (groups, apps etc) 2005-01-12 06:16:03 +00:00
mathias
baaa66787c ungrabbuttons on windows we dont handle anymore (withdrawn) 2005-01-11 04:56:29 +00:00
mathias
8054e16fab fix for #1087220 (Wrong handling of XWithdrawWindow)
an XWithdrawWindow unmaps a window and sends a synthetic UnmapEvent after
that. when the second UnmapEvent arrives we have to set either the WM_STATE to
WithdrawnState or delete it. i decided for deletion so its absolutly clear
its not any longer under our control
2005-01-10 09:04:46 +00:00
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +00:00
mathias
b3fa5c2428 * moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now
file and directory - helproutines.

* created the FileUtil-namespace which contains file-related functions, moved
  those functions out of Directory - code

* changes to the rest of the files to follow those changes
2004-12-18 01:29:22 +00:00
mathias
443e7081d4 fix the hiding of the menu when the menufile-timestamps changed 2004-11-24 12:26:12 +00:00
mathias
2082ccc1a4 fix problem with iconic windows on startup 2004-11-20 18:43:55 +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
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
akir
70acd21472 removed unused variables + cosmetic issue for some compilers (mipspro) 2004-10-21 10:18:40 +00:00
akir
e53e1b3b23 missing default value for session.appsFile added 2004-10-19 17:23:08 +00:00
akir
3e83f5941f added session.appsFile to the ressources 2004-10-19 09:01:49 +00:00
akir
496d73d899 rewritten fluxbox-restart code, all destructors are called before the
new program is started. the former method didnt do that.
2004-10-18 01:26:54 +00:00
akir
d30e16f159 added session.tabPadding and session.focusTabMinWidth 2004-10-10 16:06:24 +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
dfb2ab0e21 cleaning, moved resource functions to Resources.cc 2004-09-12 14:01:41 +00:00
fluxgen
b4daf0f808 using ShowMenu commands for buttonPress event 2004-09-11 20:29:29 +00:00
fluxgen
768d98a39d head specific strut, patch from Mathieu De Zutter 2004-09-11 13:45:16 +00:00
rathnor
7d793fc6a8 fix issues that resulted in unnecessary X errors 2004-09-11 12:33:14 +00:00
akir
7507098440 cosmetic, removing unnecessary calls. 2004-09-08 16:50:42 +00:00
rathnor
d17bf39a43 add autoconf check for std c++ headers 2004-08-31 15:26:40 +00:00
rathnor
cbc8e23ed2 fluxbox::shutdown wasn't safe to get interruped by another signal 2004-08-27 17:24:49 +00:00
rathnor
3dc7103782 fix handling of font+text encodings 2004-08-18 16:30:33 +00:00
fluxgen
601ae51604 resource bool fix and setting input focus on menus when we bring them up with the mouse 2004-07-15 18:23:03 +00:00
fluxgen
4e243d1599 fixed Resource long long, time_t is long long some systems 2004-07-15 13:42:50 +00:00
fluxgen
b78255fa1a fixed toolbar draw bug at startup 2004-07-14 23:39:29 +00:00
rathnor
965086f39d tidying up initialisation with dockapps 2004-06-21 15:23:42 +00:00
fluxgen
2475b2debc minor fixes 2004-06-13 11:01:47 +00:00
rathnor
fff4456dee update NLS string handling... 2004-06-07 11:46:05 +00:00
fluxgen
6ab2a90d72 initMenus after we add screen to our list. Added find screen by number. 2004-05-02 20:48:16 +00:00
fluxgen
56b3679637 minor fix for startup 2004-04-26 09:25:42 +00:00
fluxgen
09eade65d5 attach area, patch from Mathias Gumz 2004-04-22 21:07:57 +00:00
fluxgen
bb991a0166 kde dockapps in systray 2004-04-19 22:48:19 +00:00
fluxgen
5fb30d4bfc changed atomhandlerlist to a map so we can get atomhandlers by name, patch from Mathias Gumz 2004-04-18 21:16:06 +00:00
fluxgen
52b8cb7d3d minor fix for old gcc 2004-04-05 18:31:51 +00:00
fluxgen
7a2e83f9d2 reload screen resources at real_reconfigure 2004-03-23 09:19:57 +00:00
rathnor
dea3281e69 primarily focus fix/tweak/rejigging 2004-03-21 09:00:25 +00:00
rathnor
c0325e6127 fix update of keys on kepmapping change 2004-03-03 12:53:06 +00:00
rathnor
f9fbd86c75 fix outline moving windows being dropped on their own workspace 2004-03-03 12:29:31 +00:00
fluxgen
f1d41e6afa cleaning 2004-02-27 12:32:54 +00:00
fluxgen
6b3a626cbe filename fix, patch from Mathias Gumz 2004-02-20 09:29:07 +00:00
fluxgen
598cbb6b61 added missing template 2004-02-10 18:51:08 +00:00
fluxgen
4d25367039 some debug msg should be in ifdef 2004-01-21 15:30:27 +00:00
fluxgen
9c0272004e using empty instead of size 2004-01-21 13:36:09 +00:00
fluxgen
1fecb21ffd update workspace area and focused window to atomhandlers 2004-01-19 18:33:05 +00:00
fluxgen
dba6249a1c fixed MapRequest Event 2004-01-18 12:42:47 +00:00
fluxgen
2e57767332 fixed minor issue with keyboard navigation in menus 2004-01-16 18:07:40 +00:00
fluxgen
41eae48eb4 oops 2004-01-16 11:38:30 +00:00
fluxgen
40cfbb7568 minor fix 2004-01-16 11:29:12 +00:00
fluxgen
c31e60a9c1 revert focus when a menu is losing focus, so we dont get unfocused window after keyboard navigation in menu 2004-01-16 11:28:00 +00:00
rathnor
9475d7bc82 little include fix 2004-01-13 12:55:25 +00:00
fluxgen
7197a4951f hide extra menus 2004-01-11 16:10:51 +00:00
fluxgen
9d433e6f49 minor fixes 2004-01-11 13:10:39 +00:00
fluxgen
4f55e1f005 destroy screens on shutdown 2004-01-10 02:58:50 +00:00
fluxgen
7ec159759d minor changes 2004-01-09 11:37:01 +00:00
fluxgen
6bacfb6ed9 use mod1 resource 2003-12-31 00:35:21 +00:00
fluxgen
3490c73f57 fixed focus issue 2003-12-30 20:56:41 +00:00
fluxgen
a11575f959 update last time 2003-12-21 22:42:31 +00:00
fluxgen
18898e08dc updated m_last_time, this fixes the mozilla focus issue 2003-12-21 16:23:59 +00:00
rathnor
dfdb8219fa more sloppy focus fixing 2003-12-21 15:24:28 +00:00
fluxgen
8192e8bc2a removed old save for window placement 2003-12-21 15:13:00 +00:00
fluxgen
9b88b1f2c7 reconfig timer back, needs to have a timer so we can reconfig fluxbox save in the next event round, see comments... 2003-12-19 13:37:28 +00:00
fluxgen
f3efaa8a6e update mouse and key screen before we enter FbTk EventManager 2003-12-19 03:58:36 +00:00
fluxgen
8002a73374 cleaning 2003-12-19 00:35:08 +00:00
fluxgen
90ff80f89b cleaning 2003-12-16 23:36:06 +00:00
rathnor
689fdc77b0 focus tweak - ignore NotifyInferior 2003-12-09 12:28:24 +00:00
fluxgen
76b14e9c94 minor stuff 2003-12-08 17:32:08 +00:00
fluxgen
29beda2d6b sync function 2003-12-04 21:31:02 +00:00
fluxgen
6d95ba1af2 hide toolbar menu on root window click 2003-12-03 00:49:20 +00:00
fluxgen
5e9b6453f0 removed ToolbarHandler 2003-12-03 00:33:30 +00:00
rathnor
f5f979ef37 make client windows only reparented one below toplevel - i.e. not into
clientarea
2003-10-28 02:17:03 +00:00
rathnor
f89532c0cb fix identification of event targets in event manager 2003-10-14 16:23:16 +00:00
fluxgen
ea61aa6480 minor fix 2003-10-13 19:31:04 +00:00
rathnor
018665d7a3 drawing optimisations and fixes 2003-10-09 16:48:09 +00:00
rathnor
29a69a69c1 minor menu positioning tweaks 2003-10-06 09:55:36 +00:00
rathnor
6984eb8970 shuffle bunch of stuff from Keys into FbTk/KeyUtil 2003-10-05 07:20:47 +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
fluxgen
8aa1b8d5b0 minor stuff 2003-09-14 12:03:40 +00:00
rathnor
7047c4b7ad correct little focus thing 2003-09-14 11:56:11 +00:00
rathnor
f68c15cfa2 focus fixes 2003-09-14 11:23:48 +00:00
fluxgen
96132f2afe fixed focus issue when changing next or prevclient 2003-09-12 22:55:33 +00:00
rathnor
da503e9247 fix problems relating to windows reparenting themselves.
Fixes vncviewer switch to fullscreen. Maybe mplayer fullscreen issue
too?
2003-09-11 21:30:20 +00:00
fluxgen
7df61abcbd added updateDelayTime resource 2003-09-10 09:51:58 +00:00
fluxgen
d509be7ac9 cleaning 2003-08-24 11:19:45 +00:00
fluxgen
062768a077 fixed search paths for new image loading 2003-08-22 21:38:58 +00:00
fluxgen
1ed6519a20 minor fix 2003-08-15 13:57:18 +00:00
fluxgen
72b654992d minor cleaning 2003-08-12 21:00:54 +00:00
fluxgen
7be86791e4 reverted back to no updateNetizenWindowDel in removeClient 2003-08-12 01:04:16 +00:00
fluxgen
ecda5f9735 sending updateNetizenWindowDel in BScreen removeWindow 2003-08-12 00:26:42 +00:00
fluxgen
631729ddfc load theme after all screens are created 2003-08-11 20:59:58 +00:00
fluxgen
e9e60037b0 fixed minor focus bug and updated to use timer command 2003-08-11 16:06:51 +00:00
rathnor
c8c5072fd1 fix ~ to work properly in session.menuFile 2003-08-10 12:50:04 +00:00
fluxgen
19230e6927 minor fix 2003-08-04 18:16:22 +00:00
fluxgen
8c26f29b2f moved kde dockapp test to screen 2003-07-28 20:10:05 +00:00
rathnor
d353b688de update many things to use WinClient instead of FluxboxWindow 2003-07-28 15:06:36 +00:00
fluxgen
0ec62e41d2 minor fix 2003-07-27 13:53:34 +00:00
fluxgen
cc062647d0 fixed kde dockapp bug 2003-07-23 10:43:30 +00:00
rathnor
9932b88049 fix focus properly 2003-07-21 15:26:57 +00:00
rathnor
037bd174bf fix focus and raising for transient windows in particular 2003-07-20 18:05:40 +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
4fb4805251 minor cleaning 2003-07-10 12:00:49 +00:00
rathnor
16c567638c fix winclient death signalling 2003-07-04 14:06:20 +00:00
rathnor
3144086eef support in remember for specifying groups.
Also split atomhandler::setupWindow
2003-07-04 01:03:41 +00:00
fluxgen
b54dbfb7b1 handle focus out event to revert focus to fluxboxwindow if a menu isnt focused 2003-07-01 20:29:44 +00:00
fluxgen
da2fe66b59 include generated defaults file 2003-06-30 20:37:57 +00:00
fluxgen
d1ccbe827c using FbTk Command in keys instead of enum 2003-06-30 15:05:26 +00:00
fluxgen
2a08e33735 compile time option for toolbar 2003-06-25 13:07:34 +00:00
fluxgen
4117b5d130 removed toolbar from screen 2003-06-25 06:02:53 +00:00