]> Dogcows Code - chaz/openbox/log
chaz/openbox
17 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

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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

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

17 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

17 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)

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

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

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

17 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

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

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

17 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!

17 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:

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.

17 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)

17 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?

17 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!

17 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

17 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)

17 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*

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

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

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

17 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)

17 years agoalways place windows on the screen with the mouse cursor in xinerama, throw some...
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)

17 years agoalways place windows on the screen with the mouse cursor in xinerama, throw some...
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

17 years agoSIGH
Mikael Magnusson [Sat, 3 Feb 2007 15:03:46 +0000 (15:03 +0000)] 
SIGH

17 years agomaybe we should actually run the actions on the menu items when activated, maybe...
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

17 years agoa combined client_list_menu, use as client-list-combined-menu in your rc.xml. needs...
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

17 years ago80 cols
Mikael Magnusson [Wed, 15 Nov 2006 21:12:06 +0000 (21:12 +0000)] 
80 cols

18 years agodont use nonexisting functions
Mikael Magnusson [Tue, 31 Oct 2006 14:40:32 +0000 (14:40 +0000)] 
dont use nonexisting functions

18 years agoAdd MoveFromEdge* actions, shorten client_directional_edge_search with some handy...
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

18 years agoshow clients with the skip_taskbar property set in the client_list_menu if they're...
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

18 years agodont use the keepBorder option for mwm hinted windows after all, but do honor the...
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

18 years agostray ; killed if
Mikael Magnusson [Sat, 9 Sep 2006 22:05:31 +0000 (22:05 +0000)] 
stray ; killed if

18 years agoupdate this too
Mikael Magnusson [Thu, 7 Sep 2006 12:06:11 +0000 (12:06 +0000)] 
update this too

18 years agoupdate changelog
Mikael Magnusson [Thu, 7 Sep 2006 12:00:31 +0000 (12:00 +0000)] 
update changelog

18 years agofix a crash when using mirrorhorizontal and resizing a window to width 1
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

18 years agodisable middle menus by default
Mikael Magnusson [Wed, 6 Sep 2006 10:50:33 +0000 (10:50 +0000)] 
disable middle menus by default

18 years agocorrections to hr.po from daniel radetic
Mikael Magnusson [Tue, 5 Sep 2006 15:11:37 +0000 (15:11 +0000)] 
corrections to hr.po from daniel radetic

18 years agounused thingies
Mikael Magnusson [Thu, 31 Aug 2006 13:50:47 +0000 (13:50 +0000)] 
unused thingies

18 years agoremove .cvsignore files
Mikael Magnusson [Thu, 31 Aug 2006 13:49:36 +0000 (13:49 +0000)] 
remove .cvsignore files

18 years agonote 5483 in CHANGELOG
Mikael Magnusson [Thu, 31 Aug 2006 13:47:27 +0000 (13:47 +0000)] 
note 5483 in CHANGELOG

18 years agooops, added borders to windows when keepborder was on and they didnt have one to...
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

18 years agoadd slovak translation
Mikael Magnusson [Fri, 25 Aug 2006 01:58:29 +0000 (01:58 +0000)] 
add slovak translation

18 years agocorrect a typo?
Mikael Magnusson [Fri, 25 Aug 2006 01:29:19 +0000 (01:29 +0000)] 
correct a typo?

18 years agominor tweak
Mikael Magnusson [Thu, 24 Aug 2006 22:09:20 +0000 (22:09 +0000)] 
minor tweak

18 years agostrstr is our friend, thanks merry
Mikael Magnusson [Thu, 24 Aug 2006 22:04:19 +0000 (22:04 +0000)] 
strstr is our friend, thanks merry

18 years agorename osx to mirrorhorizontal and split to splitvertical, this will make all themes...
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

18 years agoupdate copyright step 2
Mikael Magnusson [Tue, 22 Aug 2006 16:44:18 +0000 (16:44 +0000)] 
update copyright step 2

18 years agoupdate copyright step 1
Mikael Magnusson [Tue, 22 Aug 2006 16:37:35 +0000 (16:37 +0000)] 
update copyright step 1

18 years agojust make configure --help output slightly less confusing, no functional change
Mikael Magnusson [Tue, 22 Aug 2006 16:17:50 +0000 (16:17 +0000)] 
just make configure --help output slightly less confusing, no functional change

18 years agonote offscreen fixilating in CHANGELOG
Mikael Magnusson [Mon, 21 Aug 2006 20:48:31 +0000 (20:48 +0000)] 
note offscreen fixilating in CHANGELOG

18 years agospurious ;
Mikael Magnusson [Mon, 21 Aug 2006 20:41:49 +0000 (20:41 +0000)] 
spurious ;

18 years agomaybe fix transients placed offscreen under certain conditions
Mikael Magnusson [Mon, 21 Aug 2006 20:39:42 +0000 (20:39 +0000)] 
maybe fix transients placed offscreen under certain conditions

18 years agoadd portuguese translation, thanks gsf!
Mikael Magnusson [Sun, 20 Aug 2006 21:05:18 +0000 (21:05 +0000)] 
add portuguese translation, thanks gsf!

18 years agoi hope this is the right stuff to change
Mikael Magnusson [Sun, 20 Aug 2006 21:03:31 +0000 (21:03 +0000)] 
i hope this is the right stuff to change

18 years agochange default theme in example rc file
Mikael Magnusson [Sun, 20 Aug 2006 20:58:52 +0000 (20:58 +0000)] 
change default theme in example rc file

18 years agouseless *
Mikael Magnusson [Sun, 20 Aug 2006 16:44:33 +0000 (16:44 +0000)] 
useless *

18 years agooops
Mikael Magnusson [Sun, 20 Aug 2006 13:15:37 +0000 (13:15 +0000)] 
oops

18 years agopatch from thorsten vollmer to fix bug #2506, interlaces and bevels not drawing correctly
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

18 years agoa more proper fix for the client list menu trying to activate a closed client, no...
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

18 years agofix syntax error in default config
Mikael Magnusson [Sat, 19 Aug 2006 18:51:25 +0000 (18:51 +0000)] 
fix syntax error in default config

18 years agodont flicker when setting desktop by per app settings
Mikael Magnusson [Sat, 19 Aug 2006 17:55:31 +0000 (17:55 +0000)] 
dont flicker when setting desktop by per app settings

18 years agoforgot to check if perapp settings said to put window on all desktops
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

18 years agolets not change the stacking before we add the window to the stacking stack
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

18 years agostacking_list contains ObWindows that may or may not be ObClients
Mikael Magnusson [Sat, 19 Aug 2006 15:22:55 +0000 (15:22 +0000)] 
stacking_list contains ObWindows that may or may not be ObClients

18 years agoremove some useless code
Mikael Magnusson [Sat, 19 Aug 2006 15:01:25 +0000 (15:01 +0000)] 
remove some useless code

18 years agosome systems seem to not include locale.h even with ENABLE_NLS set
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

18 years agofix some warnings from -Wall
Mikael Magnusson [Sat, 19 Aug 2006 05:05:36 +0000 (05:05 +0000)] 
fix some warnings from -Wall

18 years agowhy did i save that return value?
Mikael Magnusson [Sat, 19 Aug 2006 04:19:57 +0000 (04:19 +0000)] 
why did i save that return value?

18 years agomaybe it was just a syntax error?
Mikael Magnusson [Sat, 19 Aug 2006 04:17:55 +0000 (04:17 +0000)] 
maybe it was just a syntax error?

18 years agodon't be so afraid to include locale.h
Mikael Magnusson [Sat, 19 Aug 2006 04:15:51 +0000 (04:15 +0000)] 
don't be so afraid to include locale.h

18 years agofix subsequent silly typo, should now compile as well as work
Mikael Magnusson [Fri, 18 Aug 2006 21:24:23 +0000 (21:24 +0000)] 
fix subsequent silly typo, should now compile as well as work

18 years agofix a silly copy paste bug, titlenumber should now be disableable
Mikael Magnusson [Fri, 18 Aug 2006 21:23:02 +0000 (21:23 +0000)] 
fix a silly copy paste bug, titlenumber should now be disableable

18 years agoupdate changelog
Mikael Magnusson [Fri, 18 Aug 2006 20:30:10 +0000 (20:30 +0000)] 
update changelog

18 years agomake the dock copy appearance from active window titles instead of inactive ones...
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

18 years agomake grips always 25 pixels
Mikael Magnusson [Fri, 18 Aug 2006 19:48:48 +0000 (19:48 +0000)] 
make grips always 25 pixels

18 years agolalala
Mikael Magnusson [Fri, 18 Aug 2006 19:32:07 +0000 (19:32 +0000)] 
lalala

18 years agoadd new themes
Mikael Magnusson [Fri, 18 Aug 2006 19:26:08 +0000 (19:26 +0000)] 
add new themes

18 years agoremove old themes
Mikael Magnusson [Fri, 18 Aug 2006 18:58:34 +0000 (18:58 +0000)] 
remove old themes

18 years agodisable startup notification by default
Mikael Magnusson [Thu, 17 Aug 2006 21:03:42 +0000 (21:03 +0000)] 
disable startup notification by default

18 years agoadd a means to tell the timer destroy function not to fire when for example freeing...
Mikael Magnusson [Thu, 17 Aug 2006 20:16:02 +0000 (20:16 +0000)] 
add a means to tell the timer destroy function not to fire when for example freeing its client frame

18 years agoclose but not quite
Mikael Magnusson [Thu, 17 Aug 2006 19:26:55 +0000 (19:26 +0000)] 
close but not quite

18 years agoadd a client destructor to frame.c so it doesn't try to keep flashing a free'd frame
Mikael Magnusson [Thu, 17 Aug 2006 16:16:37 +0000 (16:16 +0000)] 
add a client destructor to frame.c so it doesn't try to keep flashing a free'd frame

18 years agoadd option titleNumber in theme section to disable the little [x] that you get after...
Mikael Magnusson [Wed, 16 Aug 2006 19:32:13 +0000 (19:32 +0000)] 
add option titleNumber in theme section to disable the little [x] that you get after identical window titles

18 years agofix silly typo
Mikael Magnusson [Wed, 16 Aug 2006 18:15:49 +0000 (18:15 +0000)] 
fix silly typo

18 years agoadjust logic to be... logical
Mikael Magnusson [Wed, 16 Aug 2006 18:11:47 +0000 (18:11 +0000)] 
adjust logic to be... logical

18 years agodon't allow inventive users to open the menu while in an interactive grab (ie changin...
Mikael Magnusson [Wed, 16 Aug 2006 17:38:41 +0000 (17:38 +0000)] 
don't allow inventive users to open the menu while in an interactive grab (ie changing focus or desktop)

18 years agotry utf8 for WM_NAME if locale fails, really the _locale functions in prop.c are...
Mikael Magnusson [Wed, 16 Aug 2006 16:51:00 +0000 (16:51 +0000)] 
try utf8 for WM_NAME if locale fails, really the _locale functions in prop.c are busted and should be fixed but i have no idea how.

18 years agoupdate the title test program to allow combinations of WM_NAME/_NET_WM_NAME and STRIN...
Mikael Magnusson [Wed, 16 Aug 2006 16:16:21 +0000 (16:16 +0000)] 
update the title test program to allow combinations of WM_NAME/_NET_WM_NAME and STRING/UTF8_STRING (netwm+!utf8 is invalid, wm+utf8 is not but does not work in openbox currently)

18 years agoreally fix focus_last?
Mikael Magnusson [Fri, 4 Aug 2006 19:56:42 +0000 (19:56 +0000)] 
really fix focus_last?

18 years agocan't call ob_debug from libobrender...
Mikael Magnusson [Thu, 3 Aug 2006 13:51:19 +0000 (13:51 +0000)] 
can't call ob_debug from libobrender...

18 years agomaybe fix some stuff, i dunno
Mikael Magnusson [Thu, 3 Aug 2006 01:12:29 +0000 (01:12 +0000)] 
maybe fix some stuff, i dunno

This page took 0.06049 seconds and 4 git commands to generate.