mikachu/openbox.git
13 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

13 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

13 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

13 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

13 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

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

13 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

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

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

13 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

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

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

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

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

13 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

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

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

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

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

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

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

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

13 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

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

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

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

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

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

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

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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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

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

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

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

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

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

13 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

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

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

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

13 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

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

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

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

13 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

13 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

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

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

13 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

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

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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

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

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

13 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

13 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

13 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

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

13 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

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

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

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

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

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

13 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

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

13 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

13 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

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

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

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

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

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

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

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

13 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

13 years agoafter some contemplating and complaints, not enabling vertically centered menus by...
Mikael Magnusson [Wed, 2 Aug 2006 21:16:47 +0000 (21:16 +0000)]
after some contemplating and complaints, not enabling vertically centered menus by default