summaryrefslogtreecommitdiff
path: root/openbox/client.c
AgeCommit message (Collapse)Author
2007-03-11remove the kde icon hint, they use the EWMH icon nowDana 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-10make startup notification a little more robust. obconf is just broken, betweenDana Jansens
the application and it's .desktop.
2007-03-10no longer honor transient_for = None or Root. it violates the ICCCM and is ↵Dana Jansens
causing problems. there are proper ways to make group transient windows with the EWMH.
2007-03-10more cleverness for window placing.Dana Jansens
make sure its 10% on the screen in some direction always.. but if the application is placing itself, make sure its on the screen entirely, and also put it entirely on one monitor if you have xinerama. if it's bigger than the monitor's space though, it won't do anything with it..
2007-03-10let you put windows with the titlebar off screen.. for mikachu.Dana Jansens
but also don't let applications put themselves under the struts!
2007-03-04oops... I'm combining two different things in this commit... so I'll try be ↵Dana Jansens
clear 1. when another wm requests to replace openbox, openbox exits. but the SM will just restart openbox unless we tell it not to. so now ob_exit_replace() will change the session manager's view of openbox to not restart it. that way the new WM will be able to run. 2. allow windows to move themselves off of the screen 90% of the way, if they really want to. but only 90% to the left, right, and bottom of the screen. it won't let the app move off the top of the screen on its own at all now, since hiding the titlebar on you without you being a part of the process is pretty darn evil! this is really to address bug # 2982 - for the tilda application. but i guess if windows really want to move off the screen, who's to say no? also, every other window manager will let them - except metacity won't let them on the left/top side of the screen.
2007-03-04better string matching for duplicate title numbering. this will check ↵Dana Jansens
against the whole window's title. it used to check less than the full length sometimes. thanks to logan for patches and ideas!
2007-03-03pretty bracketsDana Jansens
2007-03-02fix for per-application focus settings. properly use all the possible values ↵Dana Jansens
(1, 0, and -1)
2007-03-02only update the screen areas when a window actually has a strut (or when the ↵Dana Jansens
strut changes), don't waste extra calls to screen areas, because it makes people redraw when they don't need to
2007-03-02support clients which use true transparency 32-bit visuals.Dana Jansens
this requires that when a client is using a 32-bit visual, we have to make the frame windows that sit underneath it to use the same visual (and a colormap which matches it)
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-11-1580 colsMikael Magnusson
2006-10-31dont use nonexisting functionsMikael Magnusson
2006-10-31Add MoveFromEdge* actions, shorten client_directional_edge_search with some ↵Mikael Magnusson
handy #defines
2006-09-12dont use the keepBorder option for mwm hinted windows after all, but do ↵Mikael Magnusson
honor the mwm_decor_border hint instead
2006-08-31oops, added borders to windows when keepborder was on and they didnt have ↵Mikael Magnusson
one to start with, ie docks etc
2006-08-22update copyright step 1Mikael Magnusson
2006-08-21maybe fix transients placed offscreen under certain conditionsMikael Magnusson
2006-08-19a more proper fix for the client list menu trying to activate a closed ↵Mikael Magnusson
client, no difference on end result
2006-08-19dont flicker when setting desktop by per app settingsMikael Magnusson
2006-08-19forgot to check if perapp settings said to put window on all desktopsMikael Magnusson
2006-08-19lets not change the stacking before we add the window to the stacking stackMikael Magnusson
2006-08-18fix a silly copy paste bug, titlenumber should now be disableableMikael Magnusson
2006-08-16add option titleNumber in theme section to disable the little [x] that you ↵Mikael Magnusson
get after identical window titles
2006-08-16adjust logic to be... logicalMikael Magnusson
2006-08-16try utf8 for WM_NAME if locale fails, really the _locale functions in prop.c ↵Mikael Magnusson
are busted and should be fixed but i have no idea how.
2006-08-04really fix focus_last?Mikael Magnusson
2006-08-02s/_/./Mikael Magnusson
2006-08-02s/self/settings/Mikael Magnusson
2006-08-02be paranoid about programs setting 0 resize increments, which results in a ↵Mikael Magnusson
divide by zero, which is in turn bad
2006-08-02remove bogus check for handle width in client_setup_decor_and_functions ↵Mikael Magnusson
resulting in handles not being drawn if a theme with handle width = 0 is used when that function is called for a window and a theme with handle with > 0 is then loaded.
2006-08-01remove an old commentMikael Magnusson
2006-06-11rip out the VIDMODE extension stuff. this was only used to size fullscreen ↵Mikael Magnusson
windows to the viewport, i doubt anyone is actually using it and it interacts very badly with xinerama.
2006-06-09not surprisingly, there was a typoMikael Magnusson
2006-06-09if this works i will be a bit amazed, add class matching, and allow to match ↵Mikael Magnusson
either name or class or both
2006-06-09changing props need client_change_stateMikael Magnusson
2006-06-09fix2Mikael Magnusson
2006-06-09fixMikael Magnusson
2006-06-09add the rest of the possible states to per app settings, and fix some mem ↵Mikael Magnusson
leaks in the code that _set_ the per app list
2006-06-09add role matching to per app settings and fix a small memleak in the code ↵Mikael Magnusson
that frees the per app list
2006-06-08fixMikael Magnusson
2006-06-08move stuff around some moreMikael Magnusson
2006-06-08some notes to selfMikael Magnusson
2006-06-08per app settingsMikael Magnusson
2006-04-20fix #2670 (hilight first entry in menus) and respect keepBorder setting when ↵Mikael Magnusson
removing borders from mwm hints
2005-10-07more 64 bit fixesMikael Magnusson
2005-09-13I meant to check for windows placed by programs, not windows not placed by ↵Mikael Magnusson
the user. Now checks for windows placed by programs and not placed by user. This excludes placement schemes which the former check didn't, resulting in some brokenness, particularly with xinerama.
2005-08-11fix programs showing their child windows outside the screen, but retain the ↵Mikael Magnusson
possibility to put windows slightly offscreen with the -geometry argument (which is why i broke it in the first place)