15 years agomake smart placement more smart with multiple monitors. hopefully?
Dana Jansens [Sun, 11 Mar 2007 18:39:34 +0000 (18:39 +0000)]
make smart placement more smart with multiple monitors. hopefully?

15 years agochange version to 3.4, i think that will be next release number? and reset the librar...
Dana Jansens [Sun, 11 Mar 2007 17:36:27 +0000 (17:36 +0000)]
change version to 3.4, i think that will be next release number? and reset the libraries binary ages stuff, cuz they aren't backwards compatible with the last release.

15 years agoclient_configure_full is trying to move a window, it shouldn't determine the window...
Dana Jansens [Sun, 11 Mar 2007 17:34:07 +0000 (17:34 +0000)]
client_configure_full is trying to move a window, it shouldn't determine the window's monitor from its current position, but from the new position instead. move client_monitor()'s logic into screen, more generically, and let client_configure_full use that

15 years agofallback to transient parents properly
Dana Jansens [Sun, 11 Mar 2007 17:05:07 +0000 (17:05 +0000)]
fallback to transient parents properly

15 years agostacking has been made more reliable with groups and group transients.
Dana Jansens [Sun, 11 Mar 2007 16:58:19 +0000 (16:58 +0000)]
stacking has been made more reliable with groups and group transients.

this was a pretty invasive change in client.c though, so it may break things?

it did expose some bugginess in client_calc_layer, which is now better than ever, hopefully there isn't more to be found.

15 years agonote things in CHANGELOG and mark xml theme entry as maybe
Mikael Magnusson [Sun, 11 Mar 2007 15:52:52 +0000 (15:52 +0000)]
note things in CHANGELOG and mark xml theme entry as maybe

15 years agoallow setting startupnotify per execute action, default to disabled. use like this...
Mikael Magnusson [Sun, 11 Mar 2007 15:41:47 +0000 (15:41 +0000)]
allow setting startupnotify per execute action, default to disabled. use like this: <action name="execute"><execute>program</execute><startupnotify><enabled>true</enabled><name>something descriptive</name><icon>name of an icon in the icon theme to show</icon></startupnotify</action>

15 years agolook for more things to cancel startup notification on, from the wmclass. if the...
Dana Jansens [Sun, 11 Mar 2007 14:31:11 +0000 (14:31 +0000)]
look for more things to cancel startup notification on, from the wmclass. if the wmclass is related to the name or the binary name, then it will cancel it also. this is so that oldschool stuff doesn't thing its opening forever.

15 years agomake _NET_ACTIVE_WINDOW requests look at the timestamp when the user didn't
Dana Jansens [Sun, 11 Mar 2007 14:17:14 +0000 (14:17 +0000)]
make _NET_ACTIVE_WINDOW requests look at the timestamp when the user didn't
request it

15 years agofix non instrusive stacking adds, they didnt account for layers at all
Dana Jansens [Sun, 11 Mar 2007 14:16:24 +0000 (14:16 +0000)]
fix non instrusive stacking adds, they didnt account for layers at all

15 years agoadd _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can be sucky...
Dana Jansens [Sun, 11 Mar 2007 05:00:56 +0000 (05:00 +0000)]
add _NET_WM_FULL_PLACEMENT, cuz openbox does do placement, even tho it can be sucky right now, lol. but it's good for dialogs and stuff, which is what this is talking about.


15 years agowow... this is a big commit...
Dana Jansens [Sun, 11 Mar 2007 04:44:15 +0000 (04:44 +0000)]
wow... this is a big commit...

all related to _NET_WM_USER_TIME and focus stealing prevention

a) add launcher startup notification. this means when you run something from
   the openbox menu or a key/mouse binding, that startup notification will go
   on in openbox and other applications like your panel or something
b) add the _NET_WM_USER_TIME property for windows
c) use the _NET_WM_USER_TIME data and startup notification to prevent focus
d) cookie party !! ! all are invited.
e) oh yeah, and pass around timestamps for a lot more things. like, when you
   run an action, send the timestamp for the event that is running the action.
   this is important for startup notification. this also affects menus.
f) yes.. cookies..

would it be a good idea to disable focus stealing prevention if a window takes
too long to load? i mean.. maybe after a certain length of time, a user can't be
expected to not do anything in any other windows, but would they still want the
new application to focus then? HMM. open question i guess..

15 years agoadd the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus...
Dana Jansens [Sun, 11 Mar 2007 02:06:34 +0000 (02:06 +0000)]
add the _NET_WM_USER_TIME property support. When focus_new is enabled, don't focus new windows if the user is doing something in another window since it launched. If we can tell when it launched, either from the _NET_WM_USER_TIME or from startup notification.

15 years agoremove the kde icon hint, they use the EWMH icon now
Dana Jansens [Sun, 11 Mar 2007 00:59:13 +0000 (00:59 +0000)]
remove the kde icon hint, they use the EWMH icon now

15 years agoremove the kde frame extents property, add the _NET_FRAME_EXTENTS property in its...
Dana Jansens [Sun, 11 Mar 2007 00:12:37 +0000 (00:12 +0000)]
remove the kde frame extents property, add the _NET_FRAME_EXTENTS property in its stead

15 years ago>:| I put old code back somehow.. thanks mika. hooray peer review :)
Dana Jansens [Sun, 11 Mar 2007 00:00:05 +0000 (00:00 +0000)]
>:| I put old code back somehow.. thanks mika. hooray peer review :)

15 years ago1) Remove support for the Urgent hint. This will no longer do anything within Openbox
Dana Jansens [Sat, 10 Mar 2007 23:57:33 +0000 (23:57 +0000)]
1) Remove support for the Urgent hint. This will no longer do anything within Openbox
2) Add support for _NET_WM_STATE_DEMANDS_ATTENTION. Yay!

15 years agoskip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better metric...
Dana Jansens [Sat, 10 Mar 2007 23:09:27 +0000 (23:09 +0000)]
skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better metric.. also this is for mikachu <3

15 years agopeople have started using SKIP_TASKBAR, and it's not for stuff you don't want to...
Dana Jansens [Sat, 10 Mar 2007 23:03:08 +0000 (23:03 +0000)]
people have started using SKIP_TASKBAR, and it's not for stuff you don't want to be able to alt-tab to. so don't put that in here anymore.

15 years agomake startup notification a little more robust. obconf is just broken, between
Dana Jansens [Sat, 10 Mar 2007 22:52:50 +0000 (22:52 +0000)]
make startup notification a little more robust. obconf is just broken, between
the application and it's .desktop.

15 years agolet windows move themselves off the screen somewhat, but don't let them resize themse...
Dana Jansens [Sat, 10 Mar 2007 22:24:47 +0000 (22:24 +0000)]
let windows move themselves off the screen somewhat, but don't let them resize themselves off the screen (unless they're moving too)

15 years agono longer honor transient_for = None or Root. it violates the ICCCM and is causing...
Dana Jansens [Sat, 10 Mar 2007 20:52:04 +0000 (20:52 +0000)]
no longer honor transient_for = None or Root. it violates the ICCCM and is causing problems. there are proper ways to make group transient windows with the EWMH.

15 years agoadd grouptran test, which will actually not make valid transient windows
Dana Jansens [Sat, 10 Mar 2007 20:50:49 +0000 (20:50 +0000)]
add grouptran test, which will actually not make valid transient windows

add missing include to title.c

15 years agoUpdate with all important changes
Mikael Magnusson [Sat, 10 Mar 2007 10:26:50 +0000 (10:26 +0000)]
Update with all important changes

15 years agosome more stuff
Mikael Magnusson [Sat, 10 Mar 2007 10:22:30 +0000 (10:22 +0000)]
some more stuff

15 years agoat least the CHANGELOG file gets some updates
Mikael Magnusson [Sat, 10 Mar 2007 10:21:17 +0000 (10:21 +0000)]
at least the CHANGELOG file gets some updates

15 years agoyet another pointless commit to test post-commit hook
Mikael Magnusson [Sat, 10 Mar 2007 10:19:15 +0000 (10:19 +0000)]
yet another pointless commit to test post-commit hook

15 years agoanother pointless commit to test post-commit hook
Mikael Magnusson [Sat, 10 Mar 2007 10:16:32 +0000 (10:16 +0000)]
another pointless commit to test post-commit hook

15 years agopointless commit to test post-commit hook
Mikael Magnusson [Sat, 10 Mar 2007 10:10:20 +0000 (10:10 +0000)]
pointless commit to test post-commit hook

15 years agomore cleverness for window placing.
Dana Jansens [Sat, 10 Mar 2007 01:08:19 +0000 (01:08 +0000)]
more cleverness for window placing.

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..

15 years agolet you put windows with the titlebar off screen.. for mikachu.
Dana Jansens [Sat, 10 Mar 2007 00:44:43 +0000 (00:44 +0000)]
let you put windows with the titlebar off screen.. for mikachu.

but also don't let applications put themselves under the struts!

15 years agoone more fix.. oops :)
Dana Jansens [Thu, 8 Mar 2007 03:32:29 +0000 (03:32 +0000)]
one more fix.. oops :)

15 years agofix rendering of the new top corner resize handles
Dana Jansens [Thu, 8 Mar 2007 03:31:42 +0000 (03:31 +0000)]
fix rendering of the new top corner resize handles

15 years agoa) remove the top_grip_height business from the theme
Dana Jansens [Thu, 8 Mar 2007 01:26:03 +0000 (01:26 +0000)]
a) remove the top_grip_height business from the theme
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

15 years agowas using paddingx for y-things, oops
Dana Jansens [Thu, 8 Mar 2007 01:08:44 +0000 (01:08 +0000)]
was using paddingx for y-things, oops

15 years agoFix possible crashingness, from last commit.
Dana Jansens [Thu, 8 Mar 2007 01:03:13 +0000 (01:03 +0000)]
Fix possible crashingness, from last commit.

15 years agoSplit RrPaint to RrPaint and RrPaintPixmap, so you can paint things other than window...
Dana Jansens [Wed, 7 Mar 2007 22:57:10 +0000 (22:57 +0000)]
Split RrPaint to RrPaint and RrPaintPixmap, so you can paint things other than windows. If you don't free the returned pixmap though, you will be leaking memory in the server!

15 years agoBe more lenient with errors in xml file. If there are errors, try to keep loading...
Dana Jansens [Wed, 7 Mar 2007 22:56:37 +0000 (22:56 +0000)]
Be more lenient with errors in xml file. If there are errors, try to keep loading it anyways.

15 years agodon't install the old themeupdate.py file
Dana Jansens [Tue, 6 Mar 2007 02:58:24 +0000 (02:58 +0000)]
don't install the old themeupdate.py file

15 years agoupdate my theme
Mikael Magnusson [Mon, 5 Mar 2007 16:55:21 +0000 (16:55 +0000)]
update my theme

15 years agoput artists original comments back into the themes after regenerating them
Dana Jansens [Mon, 5 Mar 2007 16:48:49 +0000 (16:48 +0000)]
put artists original comments back into the themes after regenerating them

15 years agomissed updating this one
Dana Jansens [Mon, 5 Mar 2007 16:46:51 +0000 (16:46 +0000)]
missed updating this one

15 years agoproper shadow tint values
Dana Jansens [Mon, 5 Mar 2007 16:33:22 +0000 (16:33 +0000)]
proper shadow tint values

15 years agoscale the shadows up, they were /100 before, now they are /255
Dana Jansens [Mon, 5 Mar 2007 16:32:50 +0000 (16:32 +0000)]
scale the shadows up, they were /100 before, now they are /255

15 years agotheme converter had a bug! menu item font is parsed now.
Dana Jansens [Mon, 5 Mar 2007 16:28:04 +0000 (16:28 +0000)]
theme converter had a bug! menu item font is parsed now.

15 years agowas looking for menu items font in the wrong place
Dana Jansens [Mon, 5 Mar 2007 16:27:02 +0000 (16:27 +0000)]
was looking for menu items font in the wrong place

15 years agofollow new xsd
Dana Jansens [Mon, 5 Mar 2007 16:24:35 +0000 (16:24 +0000)]
follow new xsd

15 years agopoint and padding became redundant.. do remove padding type from xsd and use point...
Dana Jansens [Mon, 5 Mar 2007 16:23:13 +0000 (16:23 +0000)]
point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one.

15 years agodon't use handle_height for focus indicators, use top_grip_height. is this better?
Dana Jansens [Mon, 5 Mar 2007 16:10:32 +0000 (16:10 +0000)]
don't use handle_height for focus indicators, use top_grip_height. is this better?

15 years agoscary commit..but here goes.
Dana Jansens [Mon, 5 Mar 2007 15:44:17 +0000 (15:44 +0000)]
scary commit..but here goes.


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.

  <font place="ActiveWindow">
  <font place="InactiveWindow">
  <font place="MenuTitle">
  <font place="MenuItem">

15 years agoassert on invalid color values
Dana Jansens [Mon, 5 Mar 2007 05:25:16 +0000 (05:25 +0000)]
assert on invalid color values

15 years agoenable startup notification by default.
Dana Jansens [Mon, 5 Mar 2007 04:35:54 +0000 (04:35 +0000)]
enable startup notification by default.

15 years agokde systray applications no longer need the tray proxy, so let's remove it from svn
Dana Jansens [Mon, 5 Mar 2007 03:33:00 +0000 (03:33 +0000)]
kde systray applications no longer need the tray proxy, so let's remove it from svn

15 years agoadd the themetoxml tool ! yay
Dana Jansens [Mon, 5 Mar 2007 03:30:22 +0000 (03:30 +0000)]
add the themetoxml tool ! yay

15 years agoadd comment explaining what this tool is for. new themeupdate tool is coming for...
Dana Jansens [Sun, 4 Mar 2007 22:22:27 +0000 (22:22 +0000)]
add comment explaining what this tool is for. new themeupdate tool is coming for xml themes.

15 years agomention that it is in fact openbox that crashes
Mikael Magnusson [Sun, 4 Mar 2007 21:46:13 +0000 (21:46 +0000)]
mention that it is in fact openbox that crashes

15 years agouse EXIT_SUCCESS. it's the same thing, but more correct.
Dana Jansens [Sun, 4 Mar 2007 20:42:22 +0000 (20:42 +0000)]
use EXIT_SUCCESS. it's the same thing, but more correct.

15 years agouse ob_reconfigure/restart directly instead of actions and save a variable
Mikael Magnusson [Sun, 4 Mar 2007 20:32:47 +0000 (20:32 +0000)]
use ob_reconfigure/restart directly instead of actions and save a variable

15 years agoremove said Atoms
Mikael Magnusson [Sun, 4 Mar 2007 20:18:09 +0000 (20:18 +0000)]
remove said Atoms

15 years agouse integers instead of atoms for the actual control action
Mikael Magnusson [Sun, 4 Mar 2007 20:16:41 +0000 (20:16 +0000)]
use integers instead of atoms for the actual control action

15 years agouse the X protocol to reconfigure instead of signals, works over the network too
Mikael Magnusson [Sun, 4 Mar 2007 20:05:00 +0000 (20:05 +0000)]
use the X protocol to reconfigure instead of signals, works over the network too

15 years agoi moved the font shadow stuff back into the theme, so move them out of the font confi...
Dana Jansens [Sun, 4 Mar 2007 18:49:16 +0000 (18:49 +0000)]
i moved the font shadow stuff back into the theme, so move them out of the font configuration stuff

15 years agomoving shadow information out of the themes, and into the Text textures.
Dana Jansens [Sun, 4 Mar 2007 18:47:21 +0000 (18:47 +0000)]
moving shadow information out of the themes, and into the Text textures.

cleaning up some old Xft cruft in font.c also, that is no longer needed.

15 years agokeep the default tint at 50, for theme compatibility
Dana Jansens [Sun, 4 Mar 2007 17:31:18 +0000 (17:31 +0000)]
keep the default tint at 50, for theme compatibility

15 years agoadd the new font things to our example rc.xml and the xsd stylesheet
Dana Jansens [Sun, 4 Mar 2007 17:18:40 +0000 (17:18 +0000)]
add the new font things to our example rc.xml and the xsd stylesheet

15 years agochange the rc config format for font shadows, now:
Dana Jansens [Sun, 4 Mar 2007 17:04:50 +0000 (17:04 +0000)]
change the rc config format for font shadows, now:

  <shadow enabled="yes/no">

15 years agolighten the default shadow, it's alittle harsh right now
Dana Jansens [Sun, 4 Mar 2007 17:03:50 +0000 (17:03 +0000)]
lighten the default shadow, it's alittle harsh right now

15 years agofix compiling without session manager support
Mikael Magnusson [Sun, 4 Mar 2007 12:00:21 +0000 (12:00 +0000)]
fix compiling without session manager support

15 years agooops... I'm combining two different things in this commit... so I'll try be clear
Dana Jansens [Sun, 4 Mar 2007 09:01:52 +0000 (09:01 +0000)]
oops... I'm combining two different things in this commit... so I'll try be 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.

15 years agobetter string matching for duplicate title numbering. this will check against the...
Dana Jansens [Sun, 4 Mar 2007 07:54:21 +0000 (07:54 +0000)]
better string matching for duplicate title numbering. this will check against the whole window's title. it used to check less than the full length sometimes. thanks to logan for patches and ideas!

15 years agoFonts are now going to be configured in the rc.xml file. The format is such as
Dana Jansens [Sun, 4 Mar 2007 07:18:04 +0000 (07:18 +0000)]
Fonts are now going to be configured in the rc.xml file. The format is such as

  <font place="ActiveWindow">

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.

15 years agoremove the font code for parsing Xft font strings. we are using the individual values...
Dana Jansens [Sun, 4 Mar 2007 07:14:25 +0000 (07:14 +0000)]
remove the font code for parsing Xft font strings. we are using the individual values specified in the user's configuration now, no longer using the strings from the theme file at all

15 years agofonts are no longer loaded from the theme file. instead, they are created by the...
Dana Jansens [Sun, 4 Mar 2007 07:12:34 +0000 (07:12 +0000)]
fonts are no longer loaded from the theme file. instead, they are created by the application and passed in while creating/loading a theme

15 years agoadd parse_attr_bool, and fix a possible segfault
Dana Jansens [Sun, 4 Mar 2007 07:09:55 +0000 (07:09 +0000)]
add parse_attr_bool, and fix a possible segfault

15 years agoadd font weight and font slant enumerations
Dana Jansens [Sun, 4 Mar 2007 01:08:51 +0000 (01:08 +0000)]
add font weight and font slant enumerations

15 years agouse font 8point by default if none is specified
Dana Jansens [Sun, 4 Mar 2007 01:08:33 +0000 (01:08 +0000)]
use font 8point by default if none is specified

15 years agoadd missing comment
Dana Jansens [Sun, 4 Mar 2007 00:47:26 +0000 (00:47 +0000)]
add missing comment

15 years agolet the configuration file changes affect windows' decroations and functionality...
Dana Jansens [Sat, 3 Mar 2007 21:10:15 +0000 (21:10 +0000)]
let the configuration file changes affect windows' decroations and functionality on reconfigure (fix keepBorder bug 2841

15 years agodon't change the restart type with the session manager when openbox exits. it's not...
Dana Jansens [Sat, 3 Mar 2007 06:04:00 +0000 (06:04 +0000)]
don't change the restart type with the session manager when openbox exits. it's not like something else will magically run instead. if we exit, we should get started again, that's why --replace exists.

15 years agopretty brackets
Dana Jansens [Sat, 3 Mar 2007 03:53:10 +0000 (03:53 +0000)]
pretty brackets

15 years agoif sm is disabled, there is nothing to shutdown, so don't go trying to free things...
Dana Jansens [Sat, 3 Mar 2007 03:47:50 +0000 (03:47 +0000)]
if sm is disabled, there is nothing to shutdown, so don't go trying to free things and stuff. that can only be a bug

15 years agook this time for real...
Dana Jansens [Sat, 3 Mar 2007 03:43:45 +0000 (03:43 +0000)]
ok this time for real...

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)

15 years agomake a copy of the argc and argv instead of modifying the real ones
Dana Jansens [Sat, 3 Mar 2007 03:42:28 +0000 (03:42 +0000)]
make a copy of the argc and argv instead of modifying the real ones

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.

15 years agocommited things i wasn't supposed to. wow i suck.
Dana Jansens [Sat, 3 Mar 2007 03:29:49 +0000 (03:29 +0000)]
commited things i wasn't supposed to. wow i suck.

15 years agoreverse that last commit.. that was by accident..
Dana Jansens [Sat, 3 Mar 2007 03:29:24 +0000 (03:29 +0000)]
reverse that last commit.. that was by accident..

15 years agoadd --reconfigure option to openbox.
Dana Jansens [Sat, 3 Mar 2007 03:27:35 +0000 (03:27 +0000)]
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.

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

15 years agowhy aren't these variables getting initialized. how exactly is openbox not being...
Dana Jansens [Sat, 3 Mar 2007 03:00:05 +0000 (03:00 +0000)]
why aren't these variables getting initialized. how exactly is openbox not being super strange without that..?

15 years agofix memleak, free the render instance on shutdown.
Dana Jansens [Sat, 3 Mar 2007 02:53:57 +0000 (02:53 +0000)]
fix memleak, free the render instance on shutdown.

15 years agopango is now mandatory..
Dana Jansens [Sat, 3 Mar 2007 02:53:41 +0000 (02:53 +0000)]
pango is now mandatory..

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!

15 years agoadd -fno-strict-aliasing to the gcc compiler flags. this is needed, see:
Dana Jansens [Sat, 3 Mar 2007 00:58:37 +0000 (00:58 +0000)]
add -fno-strict-aliasing to the gcc compiler flags. this is needed, see:


| 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.

15 years agofix for per-application focus settings. properly use all the possible values (1,...
Dana Jansens [Fri, 2 Mar 2007 22:44:38 +0000 (22:44 +0000)]
fix for per-application focus settings. properly use all the possible values (1, 0, and -1)

15 years agodeclare variables at the beginning of blocks, because it is nice to do so. and polite?
Dana Jansens [Fri, 2 Mar 2007 22:11:46 +0000 (22:11 +0000)]
declare variables at the beginning of blocks, because it is nice to do so. and polite?

15 years agono more using SaveUnder for our openbox-specific windows. it makes things actually...
Dana Jansens [Fri, 2 Mar 2007 22:06:13 +0000 (22:06 +0000)]
no more using SaveUnder for our openbox-specific windows. it makes things actually slow down, believe it or not!

15 years agoonly update the screen areas when a window actually has a strut (or when the strut...
Dana Jansens [Fri, 2 Mar 2007 15:19:39 +0000 (15:19 +0000)]
only update the screen areas when a window actually has a strut (or when the strut changes), don't waste extra calls to screen areas, because it makes people redraw when they don't need to

15 years agosupport clients which use true transparency 32-bit visuals.
Dana Jansens [Fri, 2 Mar 2007 06:01:16 +0000 (06:01 +0000)]
support clients which use true transparency 32-bit visuals.

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)

15 years agothis includes a number of things since my magnificent return....
Dana Jansens [Fri, 2 Mar 2007 02:23:00 +0000 (02:23 +0000)]
this includes a number of things since my magnificent return....

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*

15 years agomaybe this works then
Mikael Magnusson [Tue, 20 Feb 2007 13:13:27 +0000 (13:13 +0000)]
maybe this works then

15 years agothis should do it
Mikael Magnusson [Tue, 20 Feb 2007 12:30:47 +0000 (12:30 +0000)]
this should do it

15 years agonote that in the CHANGELOG
Mikael Magnusson [Mon, 5 Feb 2007 21:24:48 +0000 (21:24 +0000)]
note that in the CHANGELOG

15 years agoalways place windows on the screen with the mouse cursor in xinerama, throw some...
Mikael Magnusson [Mon, 5 Feb 2007 21:19:35 +0000 (21:19 +0000)]
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try3)