Commit graph

73 commits

Author SHA1 Message Date
Hendrik Iben
24541caf69 Fixed lost focus glitch on multihead-ws-warping 2012-11-25 08:29:41 +01:00
Hendrik Iben
e65a966d80 Added option for focus revert to stay on current head 2012-11-20 08:04:50 +01:00
Mark Tiefenbruck
9eecd58bf3 make alt-tab skip modal windows 2012-07-06 19:30:39 -07:00
Mathias Gumz
813e6c4402 disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem'
had to add <algorithm> at various other files as a result of this change.
2011-02-23 22:46:13 +01:00
Mathias Gumz
d11aa42ace bugfix: consistent use of 'int' for alpha values (#3187373)
WindowMenuAccessor returned strange alpha values if compiled
with 'g++ -Os'; unholy black magic happens if template<int> faces
functions returning only 'usigned char'.
2011-02-22 22:07:39 +01:00
Mathias Gumz
882a50fe1d removed hardcoded limitation to cycle/focus windows on all workspaces
reasons:

* fixes #1732115, allows to have chatwindows on another workspaces and reach them via :NextWindow (urgent=yes)
* old behavior can be achieve by using the (workspace=[current]) pattern
2010-09-10 13:32:47 +02:00
Mathias Gumz
690d926ac4 introduced FbTk::BidiString
a 'BidiString' holds both the logical content and the visual reordered
version of the content of a string. this helps to reduce the number of
calls to reorder the string before drawing it (as introduced in the patch
from Ken Bloom) and to be more consistent in menus and textboxes (drawing
cursors and underlining text).
2010-09-08 20:17:21 +02:00
Jim Ramsay
37a24132b5 Implement StrictMouseFocus
As noted in the previous commit, StrictMouseFocus now works as advertised:
  Focus follows mouse on every EnterNotify event (except when the "ClientMenu"
  closes or during alt+tab window cycling)
2010-05-28 15:50:15 -04:00
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