summaryrefslogtreecommitdiff
path: root/openbox/focus.c
AgeCommit message (Collapse)Author
2007-03-11>:| I put old code back somehow.. thanks mika. hooray peer review :)Dana Jansens
2007-03-101) Remove support for the Urgent hint. This will no longer do anything ↵Dana Jansens
within Openbox 2) Add support for _NET_WM_STATE_DEMANDS_ATTENTION. Yay!
2007-03-10skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better ↵Dana Jansens
metric.. also this is for mikachu <3
2007-03-10people have started using SKIP_TASKBAR, and it's not for stuff you don't ↵Dana Jansens
want to be able to alt-tab to. so don't put that in here anymore.
2007-03-08a) remove the top_grip_height business from the themeDana Jansens
b) make the focus indicator based on border width and padding, not the handle height c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things
2007-03-05don't use handle_height for focus indicators, use top_grip_height. is this ↵Dana Jansens
better?
2007-03-05scary commit..but here goes.Dana Jansens
YOUR THEMES ARE NOW OFFICIALLY BROKEN. Openbox has just moved it's theme format to an XML based one. The details of this format can be found in data/themerc.xsd (and http://openbox.org/themerc.xsd ALSO! This is very good and important and stuff! In the tools directory you will find THEMETOXML ! This tool takes a themerc on stdin, and spits out the same theme in theme.xml format. So this is all you need to do to update your themes. PLEASE NOTE: This themetoxml does _not_ install itself anywhere. It simply builds and then lives out in its tools/themetoxml directory, and that's it. So if you want to use it, that is where to find it. In moving to the new XML format, a number of additions/changes to the theme engine have been made. Themetoxml takes these into account and will set all the new things appropriately to make your theme look the same as it always has. New additions include.. * padding now has an horizontal and vertical component, instead of being one number * menus can have different borders than windows (color and size) * menu offset can now be negative. it's a little weird, but someone will want it no doubt * fonts are no longer controled by the theme at all, however font shadowing is, and on that note.. * font shadows are now any color you want, not just black and white * you can now set the shadow anywhere you can set the text's color, so you have more control, i.e. you can set shadow on active menu items but not inactive, or disabled, etc. * every color now has an alpha channel. at the moment they don't do anything, besides the font shadow one, but it leaves room for future explorations. it is REALLY HIGHLY RECOMMENDED that you set the alpha to 255 all the time, until such time as it could be useful. otherwise one day your theme may turn awful for people. * font colors are in the range 0-255, in case you were wondering, and they have to be specified in decimal * if you'd like to change you font's you can do so in your configuration file. this is how it is going to stay. changing the font in the theme assumes too much about peoples eye sight and locality and stuff. it doesn't belong there, sorry. the system-wide default rc.xml includes the new font settings for your viewing pleasure, and ill drop an example of it below. * shadows can now be positioned in any direction, they have both an x and a y offset which can be negative and positive. and offset of 0,0 will disable the shadow This isn't a release or anything. If someone had some good ideas about the xml theme format, I'd like to hear them. But I don't think it will be changing much right now beyond where it is. I don't even know how the new functionality will play out for themers, so we'll see. Whew.. I guess that's it. I'm not sure if I mentioned every little change or not, but oh well. Mileage may vary.. Please send any feedback. Here's the font configuration example. Hopefully ObConf will let you set this real soon. <theme> ... <font place="ActiveWindow"> <name>arial,sans</name> <size>7</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="InactiveWindow"> <name>arial,sans</name> <size>7</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="MenuTitle"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant> </font> <font place="MenuItem"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>normal</slant> </font> </theme>
2007-03-02no more using SaveUnder for our openbox-specific windows. it makes things ↵Dana Jansens
actually slow down, believe it or not!
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