Commit graph

373 commits

Author SHA1 Message Date
markt
1440919956 Change to data structure for keybindings, ungrab and grab keys when switching
keymodes instead of deciding whether we need it and repeating the key.
2006-12-19 18:08:33 +00:00
markt
2ff67d09a7 Stop cycling focus when another command gets run, even if modifiers are still down 2006-12-17 22:21:23 +00:00
markt
ecb0d95b8f Apparently, this code did the following:
- create an empty database
  - load the rc file into a database
  - merge the empty database into the second one
  - write the result to the rc file
  - delete both databases
2006-12-16 19:10:11 +00:00
fluxgen
3efe68ffe3 removed duplicate headers, patch from Slava Semushin aka php-coder 2006-11-12 17:16:56 +00:00
mathias
e5e76e7761 Cosmetic patch from Slava Semushin 2006-10-30 19:31:15 +00:00
markt
9229f8bc9c don't revert focus away from command dialogs 2006-07-25 21:54:58 +00:00
markt
538b630ff2 forgot about the menu 2006-07-23 13:30:46 +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
f9ade8947c properly revert focus when two windows close at the same time 2006-07-20 07:15:59 +00:00
markt
fde970a21d include iconic windows when cycling
also, stop cycling on one screen when cycling begins on another
2006-07-14 06:00:37 +00:00
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