summaryrefslogtreecommitdiff
path: root/openbox/focus.c
AgeCommit message (Collapse)Author
2007-03-02this includes a number of things since my magnificent return....Dana Jansens
1. some random compiling/style cleanups 2. some bigfixes - mislogic in per-window-settings and focusing new windows - use client_can_focus rather than checking variables for directional focus - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen. 3. um.. i forget 4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2006-08-22update copyright step 1Mikael Magnusson
2006-08-04really fix focus_last?Mikael Magnusson
2006-08-02make the Unfocus action do something when config_focus_follow is setMikael Magnusson
2006-06-11must assign return of g_list_insert_before to list, the start address may ↵Mikael Magnusson
have changed
2004-08-22revert patch, doesnt workMikael Magnusson
2004-08-22fix the unfocus action when focuslast is set, patch by faugnMikael Magnusson
2004-06-23forgot theseMikael Magnusson
2004-06-23try to fix focus switching with mouse actions up a bitMikael Magnusson
2004-03-31show parents title in alt-tab popup for titleless transientsMikael Magnusson
2004-03-21update copyright noticesMikael Magnusson
2004-02-24add back the focusLast option for the "i lost count"th timeMikael Magnusson
2003-10-25use g_[s]list_next/previous consistantly, and check for "it" instead of "it ↵Dana Jansens
!= NULL" consistantly. props to Logan again :)
2003-10-18dont use the parent's title in the focus cycling dialogDana Jansens
2003-10-18assert that add_new is not making a duplicate entryDana Jansens
2003-10-18allow parents of transients to be focus cycled toDana Jansens
2003-10-15consistant glib type usageDana Jansens
2003-10-13smarting picking for cycling to windows woth transientsDana Jansens
2003-10-12make em saveunderDana Jansens
2003-10-11color_black was unusedDana Jansens
2003-10-10dont leave the focus indicator hanging around when dialogs are disabledDana Jansens
2003-10-10make a copy of the colorDana Jansens
2003-10-09add the focus cycle indicator to directional focus cyclingDana Jansens
2003-10-09change the min width of the indicator to 3 and use the actual height of the ↵Dana Jansens
handle
2003-10-09smarter avoidance of windows in the focus cycling stuff, doesnt cycle to ↵Dana Jansens
util windows
2003-10-09supply focus_cycle_draw_indicator which draws/moves/resizes the focus ↵Dana Jansens
cycling indicator
2003-10-09show an indicator similar to metacity's for focus cycling windowsDana Jansens
2003-10-08add a focus_hilite variableDana Jansens
2003-10-03let functions get which window would be selected on a focus fallbackDana Jansens
2003-09-29remoce debug printDana Jansens
2003-09-29indenting, focus fallback to None not PointerRootDana Jansens
2003-09-28removing focusLast again..Dana Jansens
2003-09-28halfway through client changes but...Dana Jansens
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
2003-09-27better focus fallbacking n shitDana Jansens
2003-09-27some smarter focus fallback for sloppy focusDana Jansens
2003-09-26remove the dialog optionsDana Jansens
2003-09-26smarter picking valid focus cycle targetsDana Jansens
2003-09-26allow focus fallbacks to fullscreen windowsDana Jansens
2003-09-26add <dialog><focus/><desktop/> to allow disabling popupsDana Jansens
2003-09-25ft was uninitializedDana Jansens
2003-09-25handle the focus_cycle_target being destroyed during cyclingDana Jansens
2003-09-22add back focusLastDana Jansens
2003-09-21move the code to find the window under the pointer out of focus.c to client.cDana Jansens
2003-09-21dont drop out of dirfocus when there is no new target to be foundDana Jansens
2003-09-17no tabsDana Jansens
2003-09-17add copyright headers, adjust --version output to include copyright, and ↵Dana Jansens
--help output to not include version output.
2003-09-15revert my commit of d3th, it fucked up focus badlyDana Jansens
2003-09-15break focus. or maybe make it better.Dana Jansens
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused. add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
2003-09-15remove focusLast and focusLastOnDesktopDana Jansens
2003-09-15fix directional focus when nothing is focusedDana Jansens