aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Move declarations of Resource enums to a separate filePavel Labath1-24/+3
The reason for this is that I need to access those enums from fluxbox-update_configs and I don't want to #include and link everything in src. I also merged Slit::Placement, Toolbar::Placement and FbWinFrame::TabPlacement into one enum.
2011-11-01Replace ResourceManager with the lua versionPavel Labath1-6/+3
Loading of an init file with the new manager works ok. Saving and restarting is still not completed. This touches many files because i removed the alternative name of resources. Unlike Xrm, lua does not have native support for alt names. It should be fairly easy to add them, but I think that is unnecessary and would be confusing.
2011-11-01Simplify FbTk::Resource template classPavel Labath1-78/+11
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.
2011-11-01Specializations of FbTk::Resource<X>::{setFromLua,pushToLua}Pavel Labath1-0/+32
for various values of X.
2011-02-23disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem'Mathias Gumz1-0/+1
had to add <algorithm> at various other files as a result of this change.
2011-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz1-1/+1
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
2010-09-10removed hardcoded limitation to cycle/focus windows on all workspacesMathias Gumz1-3/+1
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-08introduced FbTk::BidiStringMathias Gumz1-1/+1
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-05-28Implement StrictMouseFocusJim Ramsay1-5/+14
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-28Add new focus model: StrictMouseFocusJim Ramsay1-0/+5
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-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-8/+7
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-31/+33
2009-02-27Added facility to selectively ignore EnterNotify eventsJim Ramsay1-1/+24
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.
2008-10-01don't flash original window in the middle of cycling focusMark Tiefenbruck1-2/+0
2008-09-28Merge branch 'master' of fluxbox@git.fluxbox.org:fluxboxHenrik Kinnunen1-1/+1
Conflicts: ChangeLog
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-28don't let KeyRelease events propagate to windowsMark Tiefenbruck1-1/+1
2008-09-21Changed client list signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+2
2008-08-31fix focus after tabbingMark Tiefenbruck1-1/+2
2008-08-23when a transient dies, revert focus to its parentMark Tiefenbruck1-4/+4
2008-08-21fix cycling with minimized windowsMark Tiefenbruck1-0/+3
2008-05-21fix negative arguments to :GoToWindowMark Tiefenbruck1-4/+8
2008-05-21if argument to :GoToWindow is too large, select the last windowMark Tiefenbruck1-5/+7
2008-01-13fix some issues with reverting focusMark Tiefenbruck1-1/+4
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2008-01-01fix some flickering on focus changeMark Tiefenbruck1-4/+4
2007-12-23added focused/unfocused borders to stylesMark Tiefenbruck1-1/+1
2007-11-12allow arbitrary window patterns in iconbarmarkt1-79/+48
2007-11-08one more fixmarkt1-8/+8
2007-11-08fix crash bug when cycling focusmarkt1-15/+18
2007-11-05various refactoring and minor changesmarkt1-25/+10
2007-11-04update autoraise delay for open windows on reconfiguremarkt1-1/+5
2007-10-31move fullscreen windows to normal layer when they lose focusmarkt1-3/+1
2007-10-24fix _NET_CLIENT_LIST updating on window closemarkt1-0/+2
2007-10-24introduced workspacename for ClientPattern, and some miscellaneous cleanupmarkt1-11/+11
2007-10-13merged changes from pre-develmarkt1-60/+127
2007-08-20fix problems with focus order when changing workspacesmarkt1-2/+4
2007-07-19minor fix for alt-tabfluxgen1-1/+5
2007-07-17updated behavior of alt-tab to match pre-devel, fixing bug #1755698markt1-41/+49
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-03-06I seem to have forgotten this in the last patchmarkt1-18/+0
2007-03-04moved some code around (regarding event handling) in preparation for ↵markt1-1/+3
upcoming features
2007-03-01changed FocusControl::cycleFocus() to take a list of windows as an argumentmarkt1-35/+34
also fixed some latent bugs and compiler warnings
2007-02-28ignore borders when doing FocusLeft, etc.markt1-8/+8
2007-01-27another little fixmarkt1-1/+3
2007-01-27bunch of cleanup, little bug fixesmarkt1-0/+1
2007-01-26opening window on different workspace should put it at front of focused list ↵markt1-2/+8
with focusnew
2007-01-21various changes to menu behaviormarkt1-8/+14
2007-01-13don't change focus order unless the user specifically focuses a windowmarkt1-1/+6
2007-01-13little cleanupmarkt1-8/+2