Dana Jansens [Mon, 5 Mar 2007 03:30:22 +0000 (03:30 +0000)]
add the themetoxml tool ! yay
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.
Mikael Magnusson [Sun, 4 Mar 2007 21:46:13 +0000 (21:46 +0000)]
mention that it is in fact openbox that crashes
Dana Jansens [Sun, 4 Mar 2007 20:42:22 +0000 (20:42 +0000)]
use EXIT_SUCCESS. it's the same thing, but more correct.
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
Mikael Magnusson [Sun, 4 Mar 2007 20:18:09 +0000 (20:18 +0000)]
remove said Atoms
Mikael Magnusson [Sun, 4 Mar 2007 20:16:41 +0000 (20:16 +0000)]
use integers instead of atoms for the actual control action
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
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
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.
Dana Jansens [Sun, 4 Mar 2007 17:31:18 +0000 (17:31 +0000)]
keep the default tint at 50, for theme compatibility
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
Dana Jansens [Sun, 4 Mar 2007 17:04:50 +0000 (17:04 +0000)]
change the rc config format for font shadows, now:
<font...
<shadow enabled="yes/no">
<offset>1</offset>
<tint>25</tint>
</shadow>
</font>
Dana Jansens [Sun, 4 Mar 2007 17:03:50 +0000 (17:03 +0000)]
lighten the default shadow, it's alittle harsh right now
Mikael Magnusson [Sun, 4 Mar 2007 12:00:21 +0000 (12:00 +0000)]
fix compiling without session manager support
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.
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!
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
<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.
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
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
Dana Jansens [Sun, 4 Mar 2007 07:09:55 +0000 (07:09 +0000)]
add parse_attr_bool, and fix a possible segfault
Dana Jansens [Sun, 4 Mar 2007 01:08:51 +0000 (01:08 +0000)]
add font weight and font slant enumerations
Dana Jansens [Sun, 4 Mar 2007 01:08:33 +0000 (01:08 +0000)]
use font 8point by default if none is specified
Dana Jansens [Sun, 4 Mar 2007 00:47:26 +0000 (00:47 +0000)]
add missing comment
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
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.
Dana Jansens [Sat, 3 Mar 2007 03:53:10 +0000 (03:53 +0000)]
pretty brackets
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
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)
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.
Dana Jansens [Sat, 3 Mar 2007 03:29:49 +0000 (03:29 +0000)]
commited things i wasn't supposed to. wow i suck.
Dana Jansens [Sat, 3 Mar 2007 03:29:24 +0000 (03:29 +0000)]
reverse that last commit.. that was by accident..
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
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..?
Dana Jansens [Sat, 3 Mar 2007 02:53:57 +0000 (02:53 +0000)]
fix memleak, free the render instance on shutdown.
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!
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:
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.
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)
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?
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!
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
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)
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*
Mikael Magnusson [Tue, 20 Feb 2007 13:13:27 +0000 (13:13 +0000)]
maybe this works then
Mikael Magnusson [Tue, 20 Feb 2007 12:30:47 +0000 (12:30 +0000)]
this should do it
Mikael Magnusson [Mon, 5 Feb 2007 21:24:48 +0000 (21:24 +0000)]
note that in the CHANGELOG
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)
Mikael Magnusson [Mon, 5 Feb 2007 21:19:04 +0000 (21:19 +0000)]
always place windows on the screen with the mouse cursor in xinerama, throw some code around (try2)
Mikael Magnusson [Mon, 5 Feb 2007 21:16:18 +0000 (21:16 +0000)]
always place windows on the screen with the mouse cursor in xinerama, throw some code around
Mikael Magnusson [Sat, 3 Feb 2007 15:03:46 +0000 (15:03 +0000)]
SIGH
Mikael Magnusson [Sat, 3 Feb 2007 14:57:34 +0000 (14:57 +0000)]
maybe we should actually run the actions on the menu items when activated, maybe i am crazy but it seems like a good idea
Mikael Magnusson [Tue, 30 Jan 2007 09:32:17 +0000 (09:32 +0000)]
a combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs some layout tuneups
Mikael Magnusson [Wed, 15 Nov 2006 21:12:06 +0000 (21:12 +0000)]
80 cols
Mikael Magnusson [Tue, 31 Oct 2006 14:40:32 +0000 (14:40 +0000)]
dont use nonexisting functions
Mikael Magnusson [Tue, 31 Oct 2006 03:33:21 +0000 (03:33 +0000)]
Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy #defines
Mikael Magnusson [Mon, 18 Sep 2006 22:03:27 +0000 (22:03 +0000)]
show clients with the skip_taskbar property set in the client_list_menu if they're iconic
Mikael Magnusson [Tue, 12 Sep 2006 20:26:00 +0000 (20:26 +0000)]
dont use the keepBorder option for mwm hinted windows after all, but do honor the mwm_decor_border hint instead
Mikael Magnusson [Sat, 9 Sep 2006 22:05:31 +0000 (22:05 +0000)]
stray ; killed if
Mikael Magnusson [Thu, 7 Sep 2006 12:06:11 +0000 (12:06 +0000)]
update this too
Mikael Magnusson [Thu, 7 Sep 2006 12:00:31 +0000 (12:00 +0000)]
update changelog
Mikael Magnusson [Thu, 7 Sep 2006 11:40:01 +0000 (11:40 +0000)]
fix a crash when using mirrorhorizontal and resizing a window to width 1
Mikael Magnusson [Wed, 6 Sep 2006 10:50:33 +0000 (10:50 +0000)]
disable middle menus by default
Mikael Magnusson [Tue, 5 Sep 2006 15:11:37 +0000 (15:11 +0000)]
corrections to hr.po from daniel radetic
Mikael Magnusson [Thu, 31 Aug 2006 13:50:47 +0000 (13:50 +0000)]
unused thingies
Mikael Magnusson [Thu, 31 Aug 2006 13:49:36 +0000 (13:49 +0000)]
remove .cvsignore files
Mikael Magnusson [Thu, 31 Aug 2006 13:47:27 +0000 (13:47 +0000)]
note 5483 in CHANGELOG
Mikael Magnusson [Thu, 31 Aug 2006 13:43:19 +0000 (13:43 +0000)]
oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc
Mikael Magnusson [Fri, 25 Aug 2006 01:58:29 +0000 (01:58 +0000)]
add slovak translation
Mikael Magnusson [Fri, 25 Aug 2006 01:29:19 +0000 (01:29 +0000)]
correct a typo?
Mikael Magnusson [Thu, 24 Aug 2006 22:09:20 +0000 (22:09 +0000)]
minor tweak
Mikael Magnusson [Thu, 24 Aug 2006 22:04:19 +0000 (22:04 +0000)]
strstr is our friend, thanks merry
Mikael Magnusson [Thu, 24 Aug 2006 17:57:01 +0000 (17:57 +0000)]
rename osx to mirrorhorizontal and split to splitvertical, this will make all themes that used them not look right so update them
Mikael Magnusson [Tue, 22 Aug 2006 16:44:18 +0000 (16:44 +0000)]
update copyright step 2
Mikael Magnusson [Tue, 22 Aug 2006 16:37:35 +0000 (16:37 +0000)]
update copyright step 1
Mikael Magnusson [Tue, 22 Aug 2006 16:17:50 +0000 (16:17 +0000)]
just make configure --help output slightly less confusing, no functional change
Mikael Magnusson [Mon, 21 Aug 2006 20:48:31 +0000 (20:48 +0000)]
note offscreen fixilating in CHANGELOG
Mikael Magnusson [Mon, 21 Aug 2006 20:41:49 +0000 (20:41 +0000)]
spurious ;
Mikael Magnusson [Mon, 21 Aug 2006 20:39:42 +0000 (20:39 +0000)]
maybe fix transients placed offscreen under certain conditions
Mikael Magnusson [Sun, 20 Aug 2006 21:05:18 +0000 (21:05 +0000)]
add portuguese translation, thanks gsf!
Mikael Magnusson [Sun, 20 Aug 2006 21:03:31 +0000 (21:03 +0000)]
i hope this is the right stuff to change
Mikael Magnusson [Sun, 20 Aug 2006 20:58:52 +0000 (20:58 +0000)]
change default theme in example rc file
Mikael Magnusson [Sun, 20 Aug 2006 16:44:33 +0000 (16:44 +0000)]
useless *
Mikael Magnusson [Sun, 20 Aug 2006 13:15:37 +0000 (13:15 +0000)]
oops
Mikael Magnusson [Sun, 20 Aug 2006 07:15:18 +0000 (07:15 +0000)]
patch from thorsten vollmer to fix bug #2506, interlaces and bevels not drawing correctly
Mikael Magnusson [Sat, 19 Aug 2006 20:34:27 +0000 (20:34 +0000)]
a more proper fix for the client list menu trying to activate a closed client, no difference on end result
Mikael Magnusson [Sat, 19 Aug 2006 18:51:25 +0000 (18:51 +0000)]
fix syntax error in default config
Mikael Magnusson [Sat, 19 Aug 2006 17:55:31 +0000 (17:55 +0000)]
dont flicker when setting desktop by per app settings
Mikael Magnusson [Sat, 19 Aug 2006 17:50:12 +0000 (17:50 +0000)]
forgot to check if perapp settings said to put window on all desktops
Mikael Magnusson [Sat, 19 Aug 2006 15:35:23 +0000 (15:35 +0000)]
lets not change the stacking before we add the window to the stacking stack
Mikael Magnusson [Sat, 19 Aug 2006 15:22:55 +0000 (15:22 +0000)]
stacking_list contains ObWindows that may or may not be ObClients
Mikael Magnusson [Sat, 19 Aug 2006 15:01:25 +0000 (15:01 +0000)]
remove some useless code
Mikael Magnusson [Sat, 19 Aug 2006 13:49:53 +0000 (13:49 +0000)]
some systems seem to not include locale.h even with ENABLE_NLS set
Mikael Magnusson [Sat, 19 Aug 2006 05:05:36 +0000 (05:05 +0000)]
fix some warnings from -Wall
Mikael Magnusson [Sat, 19 Aug 2006 04:19:57 +0000 (04:19 +0000)]
why did i save that return value?
Mikael Magnusson [Sat, 19 Aug 2006 04:17:55 +0000 (04:17 +0000)]
maybe it was just a syntax error?
Mikael Magnusson [Sat, 19 Aug 2006 04:15:51 +0000 (04:15 +0000)]
don't be so afraid to include locale.h
Mikael Magnusson [Fri, 18 Aug 2006 21:24:23 +0000 (21:24 +0000)]
fix subsequent silly typo, should now compile as well as work
Mikael Magnusson [Fri, 18 Aug 2006 21:23:02 +0000 (21:23 +0000)]
fix a silly copy paste bug, titlenumber should now be disableable
Mikael Magnusson [Fri, 18 Aug 2006 20:30:10 +0000 (20:30 +0000)]
update changelog
Mikael Magnusson [Fri, 18 Aug 2006 19:57:14 +0000 (19:57 +0000)]
make the dock copy appearance from active window titles instead of inactive ones, this won't matter because nobody uses the dock