summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
AgeCommit message (Collapse)Author
2007-03-14oh, 2 things in this commit..Dana Jansens
1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh! 2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.
2007-03-12update copyright notice in --version outputMikael Magnusson
2007-03-04use EXIT_SUCCESS. it's the same thing, but more correct.Dana Jansens
2007-03-04use ob_reconfigure/restart directly instead of actions and save a variableMikael Magnusson
2007-03-04use integers instead of atoms for the actual control actionMikael Magnusson
2007-03-04use the X protocol to reconfigure instead of signals, works over the network tooMikael Magnusson
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-04Fonts are now going to be configured in the rc.xml file. The format is such asDana Jansens
<theme> ... <font place="ActiveWindow"> <name>arial,sans</name> <size>8</size> <weight>bold</weight> <slant>italic</slant> <shadow>yes</shadow> <shadowOffset>1</shadowOffset> <shadowTint>64</shadowTint> </font> </theme> Valid place="" are ActiveWindow, InactiveWindow, MenuTitle, and MenuItem. Only valid weight is "bold" Valid slants are "italic" and "oblique" shadowTint is a value between -100 and 100 size is the font size in points. pixelsize could possibly be added in the form of 8px, but it's not right now. the name can contain multiple families and they will all be used to match characters You can omit any fields and get the default for it. You can omit naming a font for a place="" and get the default font for it. This is completely replacing theme-specified fonts, for better or for worse. Font shadowing may go back into the theme at some point, instead of in the rc.xml.
2007-03-03let the configuration file changes affect windows' decroations and ↵Dana Jansens
functionality on reconfigure (fix keepBorder bug 2841
2007-03-03ok this time for real...Dana Jansens
add --reconfigure option to openbox. this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits. also no longer printing help if you pass an invalid argument to openbox (because i want to parse arguments for --reconfigure before i start up the session management stuff)
2007-03-03reverse that last commit.. that was by accident..Dana Jansens
2007-03-03add --reconfigure option to openbox.Dana Jansens
this option will open the display, find the current openbox's PID from the root window, and send a SIGUSR2 to it, telling it to reconfigure. then it exits. no longer printing help if you pass an invalid argument to openbox since that is the case, session_startup doesnt need to be modifying the args anymore
2007-03-03why aren't these variables getting initialized. how exactly is openbox not ↵Dana Jansens
being super strange without that..?
2006-08-22update copyright step 1Mikael Magnusson
2006-08-17close but not quiteMikael Magnusson
2006-08-17add a client destructor to frame.c so it doesn't try to keep flashing a ↵Mikael Magnusson
free'd frame
2005-04-01nullterminate arguments to execlpMikael Magnusson
2004-03-21that looked a bit sillyMikael Magnusson
2004-03-21update copyright noticesMikael Magnusson
2004-03-20whitespace changesMikael Magnusson
2003-12-22dont have glib reap children, we shall reap them instead to avoid zombies ↵Dana Jansens
from processes tranferred to us
2003-10-25show a message if chdir() failsDana Jansens
2003-10-25free the GErrrorDana Jansens
2003-10-15consistant glib type usageDana Jansens
2003-10-15print the signal handler messages only when debuggingDana Jansens
2003-10-11remove XXXDana Jansens
2003-10-10same shit different pileDana Jansens
2003-10-02dont queue up interative end actionsDana Jansens
2003-09-22we always want to start with something focused, moving this to openbox.cDana 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-17make ob_exit() take an error code. don't exit with 0 for signals other than ↵Dana Jansens
TERM and INT.
2003-09-17move where grabs are init'd since they use the screen_support_win nowDana Jansens
2003-09-15make openbox base-dir spec compliant, and change the theme dir structure, so ↵Dana Jansens
that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes
2003-09-14adjust the themes for the frames before everything else happens, cuz they ↵Dana Jansens
store pointers to the freed theme, then redraw them at the end
2003-09-14move moveresize_startup/shutdown so its between its depsDana Jansens
2003-09-12new popups with subclasses, added an ObIconPopup for popups with icons, and ↵Dana Jansens
ObPagerPopup, for a popup with a pager on it. better logic also for the desktop layout code figuring out how many rows and columns there are.
2003-09-12start the session shit, and grab the params before grabbing the rest of the ↵Dana Jansens
parameters (and erroring on invalid ones)
2003-09-04was adding an extra / in ob_expand_tildeDana Jansens
2003-09-04move session code out of openbox.c all into session.cDana Jansens
remove --sm-save-file and --sm-client-id from argv so that they dont get reused when doing a restart.
2003-09-04remove the reconfigure popupDana Jansens
2003-09-03kill the window mapping.. its not doing anything anyways? whatever..Dana Jansens
2003-09-03dont exit when a theme can't be loaded during reconfigureDana Jansens
2003-09-03display a popup and perform a smooth transition when reconfiguringDana Jansens
2003-09-03add the NONE cursor.Dana Jansens
remove startup notification code from openbox.c and openbox.h call the new sn_startup/shutdown for startupnotification.c
2003-09-03add a reconfigure action, also reconfigure on SIGUSR2.Dana Jansens
support reconfiguring throughout the entire codebase.
2003-09-01make ob_expand_tilde expand all tildes in the stringDana Jansens
2003-09-01move expand_tilde to ob_expand_tilde in openbox.c to make it global.Dana Jansens
use it on the command read in the menu parsing for pipe menus. use it on the command read for execute/restart actions.
2003-08-30using the ObMainLoop, which rulz the planetDana Jansens
2003-08-29remove the plugin stuffsDana Jansens