Commit graph

65 commits

Author SHA1 Message Date
Jim Ramsay
cdbaf5c04d Add new focus model: StrictMouseFocus
This is not actually implemented yet, but from now on, "MouseFocus" means:
  Focus follows mouse only when you are moving the mouse, any EnterNotify events
  caused by non-mouse operations (window closing, keycommands, changing
  desktops) will *not* shift focus

And once fully-implemented, "StrictMouseFocus" will mean:
  Focus follows mouse on every EnterNotify event (except when the "ClientMenu"
  closes or during alt+tab window cycling)
2010-05-28 15:10:28 -04:00
Henrik Kinnunen
ce0b41c847 Changed #ifdef DEBUG ... cerr << to using fbdbg.
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
2010-03-17 16:35:07 +01:00
Mathias Gumz
884db973bb cosmetic fixes: removed redundant ';' + some whitespaces 2009-09-30 21:02:24 +02: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
269459e1aa don't flash original window in the middle of cycling focus 2008-10-01 01:38:56 -07: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
Henrik Kinnunen
52e22a0304 Changed client list signal in BScreen to use the new signal system 2008-09-21 19:32:40 +02:00
Mark Tiefenbruck
79eadb258f fix focus after tabbing 2008-08-31 10:30:05 -04:00
Mark Tiefenbruck
10f769f7fc when a transient dies, revert focus to its parent 2008-08-23 06:34:06 -07:00
Mark Tiefenbruck
73f38a0ebb fix cycling with minimized windows 2008-08-21 14:26:03 -07:00
Mark Tiefenbruck
c7ddf2e4e5 fix negative arguments to :GoToWindow 2008-05-20 20:48:58 -07:00
Mark Tiefenbruck
079b1b13a0 if argument to :GoToWindow is too large, select the last window 2008-05-20 18:55:32 -07:00
Mark Tiefenbruck
b302dab2f1 fix some issues with reverting focus 2008-01-12 16:47:40 -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
Mark Tiefenbruck
fbc305ca80 added focused/unfocused borders to styles 2007-12-23 13:33:10 -08:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
markt
8d4a6d5181 one more fix 2007-11-08 18:35:57 +00:00
markt
5db87437e6 fix crash bug when cycling focus 2007-11-08 18:05:05 +00:00
markt
97f7c3e1b5 various refactoring and minor changes 2007-11-05 17:05:58 +00:00
markt
4c72b13a88 update autoraise delay for open windows on reconfigure 2007-11-04 22:42:01 +00:00
markt
88f580ec0c move fullscreen windows to normal layer when they lose focus 2007-10-31 19:34:07 +00:00
markt
2ef6a7af44 fix _NET_CLIENT_LIST updating on window close 2007-10-24 17:41:26 +00:00
markt
f3afe787c1 introduced workspacename for ClientPattern, and some miscellaneous cleanup 2007-10-24 17:09:26 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
270782c8a5 fix problems with focus order when changing workspaces 2007-08-20 14:31:43 +00:00
fluxgen
9545871f7a minor fix for alt-tab 2007-07-19 19:21:57 +00:00
markt
8de73d0fd4 updated behavior of alt-tab to match pre-devel, fixing bug #1755698 2007-07-17 21:21:17 +00:00
markt
329fca30fd updates for compiling with gcc 4.3 2007-06-29 17:25:24 +00:00
markt
82f02f44c5 I seem to have forgotten this in the last patch 2007-03-06 21:23:18 +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
2f63ba231c changed FocusControl::cycleFocus() to take a list of windows as an argument
also fixed some latent bugs and compiler warnings
2007-03-01 21:19:04 +00:00
markt
a0944a02cd ignore borders when doing FocusLeft, etc. 2007-02-28 21:29:58 +00:00
markt
de9ac12895 another little fix 2007-01-27 22:11:22 +00:00
markt
d446ba265a bunch of cleanup, little bug fixes 2007-01-27 18:06:28 +00:00
markt
e35670d4a6 opening window on different workspace should put it at front of focused list with focusnew 2007-01-26 17:21:44 +00:00
markt
feb56381d7 various changes to menu behavior 2007-01-21 18:43:22 +00:00
markt
16743aad06 don't change focus order unless the user specifically focuses a window 2007-01-13 19:24:35 +00:00
markt
09cc0bf6af little cleanup 2007-01-13 18:59:49 +00:00
markt
416cca0edd don't change focus to a window that doesn't accept focus, see bug #1626114 2007-01-05 17:57:07 +00:00
markt
e71346bd50 set IconicState on all unmapped clients, and unmap all clients when set to IconicState
also, a little bug fix for previous commit
2007-01-04 02:15:29 +00:00
markt
1dc07de318 move iconified windows to the end of the focused list for cycling/reverting 2007-01-04 00:11:22 +00:00
markt
a58453fac2 allow focus to revert to stuck windows, and we'll see if it still causes
problems with normal focus -- that comment is older than FocusControl.cc, and
I've made a lot of changes to focus handling since then; just disabling it
wasn't the right thing to do, anyway
2006-12-28 18:11:17 +00:00
markt
bb2758f7c6 change the debug output in FocusControl::setFocusedWindow() 2006-08-04 00:40:16 +00:00
markt
52d3f3f6b6 don't raise a window after cycling if it has been minimized 2006-08-03 21:23:08 +00:00
markt
def26c19e5 fix restacking while cycling 2006-07-23 01:41:37 +00:00
markt
d666bec238 preserve order of focused windows on restart 2006-07-19 07:31:39 +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