Mark Tiefenbruck
9f59ce18a2
change default toolbar tools to:
...
prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
2009-06-28 10:54:55 -07:00
Mark Tiefenbruck
5f9f2475b7
make Raise/LowerLayer accept integer argument for number of layers, default 2
2009-06-28 10:15:06 -07:00
Mark Tiefenbruck
c1d9ae5068
fix changing iconbar alignment and button width from init file
2009-06-28 09:39:28 -07:00
Mark Tiefenbruck
659af0eb75
allow 'Ctrl' and 'Alt' as modifiers in keys file
2009-06-28 09:12:02 -07:00
Mark Tiefenbruck
8addc54e7e
allow "lower" as a reference point for MoveTo, etc.
2009-06-28 09:04:46 -07:00
Mark Tiefenbruck
4e586cc172
previous fix for reverting iconbar to relative broke external tabs
2009-06-28 08:22:51 -07:00
Mark Tiefenbruck
f3d61235f3
change default toolbar head from 0 to 1
2009-06-28 04:11:49 -07:00
Mark Tiefenbruck
f2c0175a72
add window menu and alt-tab to error case for keys file
2009-06-28 03:55:21 -07:00
Mark Tiefenbruck
fe92b6b39b
revert to relative iconbar alignment when too many windows are open
2009-06-28 03:40:50 -07:00
Mark Tiefenbruck
02e0f9321c
use current workspace in ClientPattern when client has no FbWindow
2009-06-25 03:18:27 -07:00
Jim Ramsay
54b49c63a6
Merge branch 'mousefocus'
2009-05-26 16:45:05 -04:00
Jim Ramsay
edffe9c93f
Allow 'background: unset'
...
When a user sets 'background: none' it really means "Do not let themes touch the
background I have already set with fbsetbg" -> It does still actually call
fbsetbeg to re-assert the proper background.
This new value 'unset' is for users who will use an alternate method to set
their background (root-tail, xscreensaver, or whatever). It instructs fluxbox
to *never* run fbsetbg.
2009-05-26 16:36:13 -04:00
Jim Ramsay
ff6a46391f
Error on incomplete MacroCmd key command
2009-05-26 16:27:31 -04:00
Jim Ramsay
a56e409b1f
Exit loop for unterminated { } pair
2009-05-26 16:27:31 -04:00
Mathias Gumz
761c841171
minor cosmetics
2009-05-25 06:47:15 +02:00
Jim Ramsay
c1dee4a405
Ignore EnterNotify on workspace change
...
Changing workspaces also reveals other windows, which causes unexpected focus
changes.
2009-03-09 14:05:41 -04:00
Slava Semushin
dfa360e890
src/TextDialog.cc: removed useless stdexcept header inclusion.
...
No functional change.
Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2009-03-04 21:52:28 +01:00
Slava Semushin
5532aca916
src/Keys.cc(deleteTree): use FbTk::STLUtil::destroyAndClearSecond() instead of self-written code.
...
No functional change.
Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2009-03-04 21:45:52 +01:00
Slava Semushin
efea05e85c
Renamed function svnversion() to gitrevision() because now we uses GIT.
...
No functional change.
Signed-off-by: Slava Semushin <php-coder@altlinux.ru>
2009-03-04 21:41:39 +01:00
Mathias Gumz
c4d8e9c8e1
buildfix: fluxbox didnt link when configured with --disable-remember
2009-03-04 20:12:25 +01:00
Jim Ramsay
54c1ac8704
Ignore EnterNotify on Move or Resize
...
Moving and Resizing windows can reveal other windows, which of course can change
unexpected focus changes in focus-follows-mouse.
2009-02-27 15:18:08 -05:00
Jim Ramsay
8a7879913b
Ignore EnterNotify on Lower
...
Lower is one of the actions which may reveal a window under the current mouse
pointer which would unexpectedly change focus under focus-folows-mouse.
2009-02-27 15:18:08 -05:00
Jim Ramsay
76ea1d9bbe
Ignore EnterNotify on Unmap
...
This is the basic condition that was first noticed because of the effect of the
ClientMenu window unmapping and the resulting EnterNotify event stealing focus
from the window selected in that menu. But to be complete, any window unmapping
should cause focus to move to the next in the last-recently-focused window list,
not the one that happens to be beneath the mouse cursor.
2009-02-27 15:18:07 -05:00
Jim Ramsay
5c7784affe
Added facility to selectively ignore EnterNotify events
...
This will be used to avoid some situations where an EnterNotify event should not
focus the window beneath the mouse cursor. For example, when a menu (or any
window for that matter) is unmapped, focus should not pass to whatever window is
beneath the current location of the mouse cursor, but to the previous window in
the focus list.
This was first noticed when using the ClientMenu feature with
focus-follows-mouse on -> The focus would always end up on the window beneath
the mouse pointer, not the window selected in the menu.
2009-02-27 15:18:07 -05:00
Mark Tiefenbruck
e770016660
remove unnecessary xpm.h include in imlib code
2009-02-24 14:22:18 -08:00
Peter Hercek
4e831484d5
fixed resize bug (caused by typo, see #2498507 )
2009-01-11 14:23:08 +01:00
Mark Tiefenbruck
f5fdbab98c
don't reload keys file on modifier map events, just re-grab keys
2008-11-01 17:03:32 -07:00
Mark Tiefenbruck
3b9611b61d
increase default size of toolbar and icon buttons
2008-10-18 21:40:32 -07:00
Mark Tiefenbruck
f92fd6ca05
unrevert 1fdef35e51
...
x
Mathias should listen to me when I say "by the way, I know you liked the code I
just removed; you should change your keys file to use
:MacroCmd {Focus} {Raise} {StartMoving}". Behavior in 1.0.0 and previous was
that alt+click would focus and raise, regardless of whether the window was moved
or not. If mathias really wants his alt+drag to preserve stacking order, he
should add Mouse<N>Move events to the keys file to distinguish moving from
clicking. I've been planning on doing it anyway.
2008-10-15 16:20:30 -07:00
Mathias Gumz
6642792f68
additional fix for the resize bug
2008-10-15 23:31:37 +02:00
Mathias Gumz
ccf096f771
reverted 1fdef35e51
, added more info about that feature
2008-10-15 23:07:14 +02:00
Mathias Gumz
3441261346
don't allow resizing to negative dimensions
...
this fixes a problem when the user resizes a window over the opposite border.
as a result a signed overflow occured which lead to quite huge windows.
2008-10-15 08:31:10 +02:00
Mark Tiefenbruck
9bd6401013
ignore XRandr events that don't actually change the screen size
2008-10-14 19:40:33 -07:00
Mark Tiefenbruck
5b07791ed4
merge menuDelay and menuDelayClose options
2008-10-12 21:55:03 -07:00
Mark Tiefenbruck
e5fd401f4e
focus window when done dragging to a new workspace with outline moving
2008-10-12 09:54:35 -07:00
Mathias Gumz
93924af160
using namespace instead of a useless class
2008-10-09 09:38:42 +02:00
Mark Tiefenbruck
f3bd8e7565
don't show window on new workspace when warping with outline moving
2008-10-08 17:15:53 -07:00
Mark Tiefenbruck
706ec5c262
show/hide tooltip if title length changes enough while mouse is over the iconbutton
2008-10-07 14:32:42 -07:00
Mark Tiefenbruck
a97ba40053
fix windows mapping into IconicState again
2008-10-07 00:59:05 -07:00
Mark Tiefenbruck
1fdef35e51
remove some unneeded code
2008-10-07 00:49:45 -07:00
Mark Tiefenbruck
dda95bf106
allow relative path for background images in style files
2008-10-06 18:16:26 -07:00
Mark Tiefenbruck
c033c201c4
remove menu modes
2008-10-04 19:49:28 -07:00
Mark Tiefenbruck
86a072e7fd
remove follow models
2008-10-04 19:30:19 -07:00
Mark Tiefenbruck
e1eb5e225b
remove line style resources from init file
2008-10-04 19:08:50 -07:00
Mark Tiefenbruck
ab25696328
remove rootcommand from init file
2008-10-04 18:49:00 -07:00
Mark Tiefenbruck
aee9889a27
recognize --option in addition to -option for most things
2008-10-04 14:32:20 -07:00
Mark Tiefenbruck
4b5c00b764
in ClickFocus, replay pointer before focusing window
2008-10-03 23:16:37 -07:00
Mark Tiefenbruck
b265d0d870
fix CustomMenu and ClientMenu commands from fluxbox-remote
2008-10-03 23:09:11 -07:00
Mark Tiefenbruck
22f3df9aa8
break keychains after an invalid key is pressed (which unfortunately will be swallowed)
2008-10-03 22:59:14 -07:00
Mark Tiefenbruck
c91926cf71
fix flickering of shaped windows on focus changes
2008-10-03 20:48:38 -07:00
Mark Tiefenbruck
9df75ed7a6
fix restacking
2008-10-01 02:29:59 -07:00
Mark Tiefenbruck
269459e1aa
don't flash original window in the middle of cycling focus
2008-10-01 01:38:56 -07:00
Mark Tiefenbruck
b3da022ee2
reset background on resolution change
2008-09-30 21:04:28 -07:00
Mark Tiefenbruck
6e9d8e2dc6
restore missing config files on reconfigure
2008-09-30 20:49:04 -07:00
Henrik Kinnunen
9aee5b80cb
Changed resize signal in BScreen to use the new signal system
2008-09-28 18:13:30 +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
f2c8868724
Merge branch 'master' of fluxbox@git.fluxbox.org:fluxbox
...
Conflicts:
ChangeLog
2008-09-28 10:53:16 +02:00
Henrik Kinnunen
bcf37890b6
Change focused signal to use the new signal system
2008-09-28 10:46:49 +02:00
Mark Tiefenbruck
04a1d2a83b
don't let KeyRelease events propagate to windows
2008-09-28 01:26:21 -07:00
Mark Tiefenbruck
c8022b3bdb
turn off size/position display by default, move click raises to focus model menu
2008-09-27 13:37:04 -07:00
Mark Tiefenbruck
01aa0b6f8f
fix some goofy code
2008-09-27 00:59:12 -07:00
Mark Tiefenbruck
bb70b14432
fix rounded corners on restart
2008-09-25 20:51:37 -07:00
Mathias Gumz
acd690ff65
fixed detection of bad values in the _NET_WM_ICON property. eg, tvtime.sf.net
...
is not aware of how to correctly feed icon data into the property on 64bit architecture
which caused the dimensions of the icon beeing corrupt and due to overflow arithmetics
fluxbox crashed.
2008-09-23 09:13:53 +02:00
Mathias Gumz
769ca8f1c8
Merge branch 'master' of fluxbox@dev:fluxbox
2008-09-22 07:44:50 +02:00
Mathias Gumz
984fb5bef2
cosmetics
2008-09-22 07:44:40 +02:00
Mark Tiefenbruck
3f33657fb7
fix active menu item when inserting or removing other items
2008-09-21 22:32:02 -07:00
Henrik Kinnunen
ed53f3c623
Changed icon list signal in BScreen to use the new signal system
2008-09-21 20:45:01 +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
d05804e666
Changed background changed signal in BScreen to use the new signal system
2008-09-21 16:12:36 +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
f5113e2ec1
no virtuals needed Signals, added leaveAll for SignalTracker which must be used before all screens dies.
2008-09-21 12:02:49 +02:00
Mark Tiefenbruck
75cf24da28
re-fix maximizing problem with non-northwest gravity windows
2008-09-21 00:07:40 -07:00
Mark Tiefenbruck
93ccd39a48
fix placement of windows with non-default decorations
2008-09-21 00:04:01 -07:00
Mark Tiefenbruck
4c11204716
fix a few things with new signal code
2008-09-20 23:46:23 -07:00
Henrik Kinnunen
ab8b21d18c
Merge branch 'master' of fluxbox@git.fluxbox.org:fluxbox
...
Conflicts:
ChangeLog
2008-09-18 22:31:00 +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
Henrik Kinnunen
e4d4717703
Added new Signal/Slot system in FbTk
...
This is suppose to replace the obsolete Subject/Observer classes.
See the src/tests/testSignals.cc for basic usage.
2008-09-18 22:24:35 +02:00
Mark Tiefenbruck
ea9f80399b
fix crash when trying to set the title on a window that's already closed
2008-09-18 11:15:15 -07:00
Henrik Kinnunen
a4feddcbd6
added RectangleUtil.hh to build
2008-09-14 21:46:36 +02:00
Henrik Kinnunen
91408776f0
Fixed a pixmap resource leak with selected pixmap in menus.
...
menu.hilite.selected.pixmap and menu.selected.pixmap was not
deleted while switching between non-pixmap styles and pixmap styles.
2008-09-14 21:36:16 +02:00
Henrik Kinnunen
9f519ec0fc
some minor code cleaning.
2008-09-14 20:06:28 +02:00
Mark Tiefenbruck
de8275f688
fix some default values
2008-09-11 15:48:46 -07:00
Mark Tiefenbruck
3ac1ab023e
try to fix some weird focus issues
2008-09-11 14:01:36 -07:00
Mark Tiefenbruck
bf620f96df
fix program crashes caused by unshading
2008-09-11 13:01:11 -07:00
Mathias Gumz
8d0fb85bbc
be aware of badly specified _NET_WM_ICONS
2008-09-11 16:21:51 +02:00
Mark Tiefenbruck
6b391c3bea
update workspace names atoms/resources when adding a new workspace
...
also removed unnecessary items from default init file
2008-09-08 18:50:25 -04:00
Mark Tiefenbruck
39e0bdcbcc
remove unnecessary signals causing toolbar renders on workspace change
2008-09-08 13:52:38 -04:00
Mark Tiefenbruck
b288fc1401
turn on opaque window moving by default
2008-09-04 14:27:21 -04:00
Mark Tiefenbruck
27dc136121
add check to configure script to detect old versions of Xrandr
2008-09-03 14:00:40 -04:00
Mark Tiefenbruck
ba03aaaa33
fix maximize/fullscreen for windows with non-Northwest gravity
2008-09-03 10:41:05 -04:00
Mark Tiefenbruck
60a4c7d9f6
remove tooltip when IconButton is destroyed
2008-09-03 09:53:30 -04:00
Mark Tiefenbruck
f9ed11a351
resize fullscreen windows when resolution changes
2008-09-02 11:41:55 -04:00
Mark Tiefenbruck
2151e73dac
update window's size hints when client updates size hints
2008-09-01 20:53:53 -04:00
Henrik Kinnunen
8fb1722389
included some missing files in distribution
2008-09-01 20:18:59 +02:00
Henrik Kinnunen
696f63fd64
removed ObjectResource.hh and CompareWindow.hh
2008-09-01 18:50:40 +02:00
Mark Tiefenbruck
13a73a78f6
highlight the nearest menu item when the current one is disabled, and add separators to focus model menu
2008-09-01 11:00:04 -04:00
Mark Tiefenbruck
79eadb258f
fix focus after tabbing
2008-08-31 10:30:05 -04:00
Mark Tiefenbruck
6a72474185
missed one
2008-08-30 18:45:15 -04:00
Mark Tiefenbruck
41b2e0ced4
use FbMenu::window instead of WindowCmd<>::window for displaying items in the window menu
2008-08-30 18:36:53 -04:00
Mark Tiefenbruck
fd0389d2e1
more fun with global variables
2008-08-30 15:24:14 -04:00
Mark Tiefenbruck
920cb81caf
don't change a fullscreen window's layer when its transient takes the focus
2008-08-27 18:57:35 -04:00
Mark Tiefenbruck
82047e6a39
move some things from FluxboxWindow to WindowState
2008-08-27 18:29:33 -04:00
Mark Tiefenbruck
a2ec0c9bdd
make FbWinFrame and FluxboxWindow share a WindowState object
2008-08-27 16:29:35 -04:00
Mark Tiefenbruck
84c87a86f9
remove option to disable decorations on transient windows
2008-08-27 13:59:24 -04:00
Mark Tiefenbruck
cbc1075dde
move decoration handling for non-resizable windows to SizeHint class
2008-08-27 13:47:16 -04:00
Mark Tiefenbruck
55fd49614b
move FbWinFrame::State class to a new file
2008-08-27 13:05:49 -04:00
Mark Tiefenbruck
7d2240e2ce
toolbar placement menu wasn't updating
2008-08-23 17:36:55 -07:00
Mark Tiefenbruck
65c5fb3237
make clicking on the border of the toolbar activate toolbar buttons
2008-08-23 17:14:31 -07:00
Mark Tiefenbruck
36d1edfbf6
fix for restoring horizontally or vertically resized windows
2008-08-23 15:50:09 -07:00
Mark Tiefenbruck
37a602899d
fix reading iconbar border from theme
2008-08-23 12:46:36 -07:00
Mark Tiefenbruck
e6b11e06c6
resize maximized windows when the toolbar or slit changes size
2008-08-23 07:46:16 -07:00
Mark Tiefenbruck
10f769f7fc
when a transient dies, revert focus to its parent
2008-08-23 06:34:06 -07:00
Mark Tiefenbruck
6875a611dc
make ShowDesktop and Deiconify commands maintain focus order
2008-08-23 05:44:11 -07:00
Mark Tiefenbruck
e3fb16c993
allow various combinations of shaded, maximized, and fullscreen states
2008-08-22 16:29:09 -07:00
Mark Tiefenbruck
c37a91e150
be a little smarter about size hints in tabbed windows
2008-08-22 10:16:33 -07:00
Mark Tiefenbruck
feac120f4a
don't let MWM hints override defaultDeco
2008-08-22 07:57:41 -07:00
Mark Tiefenbruck
9170de1831
another parsing fix
2008-08-22 07:14:56 -07:00
Mark Tiefenbruck
72a9dc9c30
remove borders from maximized windows
2008-08-22 06:28:12 -07:00
Mark Tiefenbruck
f1ff5ff3b2
add -sync command line option for debugging X issues
2008-08-22 06:12:01 -07:00
Mark Tiefenbruck
5a877163c7
accidentally left this on
2008-08-22 06:00:42 -07:00
Mark Tiefenbruck
0ae3ca9e8a
move fullscreen and maximization handling to FbWinFrame
2008-08-22 05:52:23 -07:00
Mark Tiefenbruck
8681220f53
don't apply rounded corners to windows without decorations
2008-08-22 03:36:26 -07:00
Mark Tiefenbruck
2f3a48f17f
apply patch to fix memory leak that shouldn't exist
2008-08-22 02:23:29 -07:00
Mark Tiefenbruck
73f38a0ebb
fix cycling with minimized windows
2008-08-21 14:26:03 -07:00
Mark Tiefenbruck
1fe1da5ca0
fix parsing of Delay command
2008-08-21 12:53:32 -07:00
Mark Tiefenbruck
99eaded40e
make Swing apps only somewhat horribly broken again
2008-08-21 10:17:21 -07:00
Mark Tiefenbruck
42895e115b
;
2008-08-21 07:07:47 -07:00
Mark Tiefenbruck
533c70cb57
some cleanup
2008-08-21 07:05:44 -07:00
Mark Tiefenbruck
0116a83aa6
add SendToNextHead/SendToPrevHead commands, plus some cleanup in CurrentWindowCmd
2008-08-21 03:22:57 -07:00
Mark Tiefenbruck
4bf00f6857
fix match limits in apps file, plus some documentation
2008-08-20 05:26:12 -07:00
Mark Tiefenbruck
0fea3e3c86
ShowDesktop should ignore everything on the desktop layer, not just windows of type Desktop
2008-08-20 04:06:48 -07:00
Mark Tiefenbruck
74df0fcda9
add SetDecor key command
2008-08-20 03:22:51 -07:00
Mark Tiefenbruck
75850d8b60
shift+enter wasn't sending right click if the menu item had a submenu
2008-08-19 09:36:08 -07:00
Mark Tiefenbruck
4e64d45e16
add [transient] tag to apps file to match transient windows
2008-08-19 09:18:32 -07:00
Mark Tiefenbruck
e5d43edb8e
update keys file for changes to NextWindow syntax
2008-08-19 05:48:16 -07:00
Mark Tiefenbruck
18ae02875f
fix :Focus <pattern> when all windows are minimized
2008-08-18 15:20:16 -07:00
Mark Tiefenbruck
ccba298cb5
fix a bug with Some and Every commands and the stupid global current window variable
2008-08-18 08:09:59 -07:00
Mark Tiefenbruck
37b18a9694
combined code for saved window positions and MoveTo key command
...
added left, right, top, and bottom center reference points
2008-08-18 05:12:30 -07:00
Mark Tiefenbruck
2ab539073b
fix some defaults
2008-08-18 02:06:46 -07:00
Mark Tiefenbruck
a30a14ef36
add top, left, right, and bottom center tab placement options
2008-08-18 01:45:44 -07:00
Mark Tiefenbruck
a23778a44d
add SetTitle and SetTitleDialog key commands
2008-08-17 04:10:17 -07:00
Mark Tiefenbruck
72fd5e03a4
revert focus when closing dialogs
2008-08-16 06:30:09 -07:00
Mark Tiefenbruck
38654bae45
some cleanup
2008-08-16 05:54:07 -07:00
Mark Tiefenbruck
06837ba864
cosmetic changes
2008-08-16 04:36:08 -07:00
Mark Tiefenbruck
fe412dbeef
move interpretation of normal hints to size hint class
2008-08-16 00:22:12 -07:00
Mathias Gumz
1d8dfcdf9a
cosmetic api change
2008-08-15 19:38:41 +02:00
Mark Tiefenbruck
1056474e1d
fix compilation
2008-08-15 05:19:40 -07:00
Mark Tiefenbruck
215939d6ed
let FbWinFrame handle decorations in fullscreen state
2008-08-15 04:46:06 -07:00
Mark Tiefenbruck
0689a0a4a8
move getDecoMaskFromString to FbWinFrame
2008-08-15 04:42:13 -07:00