summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04i moved the font shadow stuff back into the theme, so move them out of the ↵Dana Jansens
font configuration stuff
2007-03-04moving shadow information out of the themes, and into the Text textures.Dana Jansens
cleaning up some old Xft cruft in font.c also, that is no longer needed.
2007-03-04keep the default tint at 50, for theme compatibilityDana Jansens
2007-03-04add the new font things to our example rc.xml and the xsd stylesheetDana Jansens
2007-03-04change the rc config format for font shadows, now:Dana Jansens
<font... <shadow enabled="yes/no"> <offset>1</offset> <tint>25</tint> </shadow> </font>
2007-03-04lighten the default shadow, it's alittle harsh right nowDana Jansens
2007-03-04fix compiling without session manager supportMikael 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-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-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-04remove the font code for parsing Xft font strings. we are using the ↵Dana Jansens
individual values specified in the user's configuration now, no longer using the strings from the theme file at all
2007-03-04fonts are no longer loaded from the theme file. instead, they are created by ↵Dana Jansens
the application and passed in while creating/loading a theme
2007-03-04add parse_attr_bool, and fix a possible segfaultDana Jansens
2007-03-04add font weight and font slant enumerationsDana Jansens
2007-03-04use font 8point by default if none is specifiedDana Jansens
2007-03-04add missing commentDana Jansens
2007-03-03let the configuration file changes affect windows' decroations and ↵Dana Jansens
functionality on reconfigure (fix keepBorder bug 2841
2007-03-03don't change the restart type with the session manager when openbox exits. ↵Dana Jansens
it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists.
2007-03-03pretty bracketsDana Jansens
2007-03-03if sm is disabled, there is nothing to shutdown, so don't go trying to free ↵Dana Jansens
things and stuff. that can only be a bug
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-03make a copy of the argc and argv instead of modifying the real onesDana Jansens
this means that when openbox is restared it doesn't lose it's SM related command line args, they get passed to the new openbox same as they were passed to the one exiting.
2007-03-03commited things i wasn't supposed to. wow i suck.Dana Jansens
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..?
2007-03-03fix memleak, free the render instance on shutdown.Dana Jansens
2007-03-03pango is now mandatory..Dana Jansens
lots of cleanups to the pango code, which was a very nice base to start from. thanks to whomever wrote that for us.. put some of the pango variables into the various render structs so that they don't need to be created all the time. put the pango context inside our RrInstance so that it can be properly freed at shutdown. removed xft dependencies all through the code and the build system also. who knows if this will break compiling for some poor souls. i guess we'll find out, won't we!
2007-03-03add -fno-strict-aliasing to the gcc compiler flags. this is needed, see:Dana Jansens
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20030721/msg00141.html | It's not a compiler bug. It is a C99 bug, or more exactly, a | feature. C99 changed the semantic of the C language with respect to | aliasing questions. Now, the compiler can assume that pointer to | different types points to different memory location. This breaks all | the OO code written in C. | | This is a very good idea that the compiler issues a warning message | because the semantic of language really changed and you want to revert | to the old semantic. | | The make package MUST add -fno-strict-aliasing. It is not a | convenience to get rid off warnings.
2007-03-02fix for per-application focus settings. properly use all the possible values ↵Dana Jansens
(1, 0, and -1)
2007-03-02declare variables at the beginning of blocks, because it is nice to do so. ↵Dana Jansens
and polite?
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-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*
2007-02-20maybe this works thenMikael Magnusson
2007-02-20this should do itMikael Magnusson
2007-02-05note that in the CHANGELOGMikael Magnusson
2007-02-05always place windows on the screen with the mouse cursor in xinerama, throw ↵Mikael Magnusson
some code around (try3)
2007-02-05always place windows on the screen with the mouse cursor in xinerama, throw ↵Mikael Magnusson
some code around (try2)
2007-02-05always place windows on the screen with the mouse cursor in xinerama, throw ↵Mikael Magnusson
some code around
2007-02-03SIGHMikael Magnusson
2007-02-03maybe we should actually run the actions on the menu items when activated, ↵Mikael Magnusson
maybe i am crazy but it seems like a good idea
2007-01-30a combined client_list_menu, use as client-list-combined-menu in your ↵Mikael Magnusson
rc.xml. needs some layout tuneups
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-18show clients with the skip_taskbar property set in the client_list_menu if ↵Mikael Magnusson
they're iconic