dana/openbox.git
16 years agochange how masks are loaded, let you override just one. simpler code too.
Dana Jansens [Sat, 12 May 2007 16:59:18 +0000 (16:59 +0000)]
change how masks are loaded, let you override just one. simpler code too.

16 years agomicromicrooptimization
Mikael Magnusson [Sat, 12 May 2007 16:56:36 +0000 (16:56 +0000)]
micromicrooptimization

16 years agofix for fullscreen things getting lowered when switching desktops
Dana Jansens [Sat, 12 May 2007 16:20:17 +0000 (16:20 +0000)]
fix for fullscreen things getting lowered when switching desktops

16 years agochange client menu back to "Roll up/down". update strings, also some fixes.
Dana Jansens [Sat, 12 May 2007 16:09:26 +0000 (16:09 +0000)]
change client menu back to "Roll up/down". update strings, also some fixes.

16 years agodo it better, prevent creating new races
Dana Jansens [Sat, 12 May 2007 01:01:49 +0000 (01:01 +0000)]
do it better, prevent creating new races

16 years agotry catch weird racey corner case where we try fallback to a window but it unmaps...
Dana Jansens [Sat, 12 May 2007 00:54:44 +0000 (00:54 +0000)]
try catch weird racey corner case where we try fallback to a window but it unmaps as we do so, so focus ends up going to nowhere

16 years agoremove buttons from themes when they are using the defaults already for clarity
Dana Jansens [Sat, 12 May 2007 00:48:06 +0000 (00:48 +0000)]
remove buttons from themes when they are using the defaults already for clarity
some small changes to themes..
  buttons can hide themselves now, so removed the empty disabled masks for
    Bear2 and Natura
install the default xbms for reference to the doc dir
install some basic documentation to the doc dir

16 years agolook for themes where they were installed by make install first
Dana Jansens [Sat, 12 May 2007 00:06:50 +0000 (00:06 +0000)]
look for themes where they were installed by make install first

16 years agomake default masks even sized. these are from the clearlooks theme, probably from...
Dana Jansens [Fri, 11 May 2007 23:08:30 +0000 (23:08 +0000)]
make default masks even sized. these are from the clearlooks theme, probably from somewhere else before that.

16 years agothis is nothing but to add a commit message..
Dana Jansens [Fri, 11 May 2007 22:49:48 +0000 (22:49 +0000)]
this is nothing but to add a commit message..

added support for

menu.border.width

!

16 years agoadd support for these...
Dana Jansens [Fri, 11 May 2007 22:47:09 +0000 (22:47 +0000)]
add support for these...

menu.border.color
window.active.border.color
window.inactive.border.color

Bear2 has a menu color now, the old themerc had that specified

16 years agoadd the metadata
Dana Jansens [Fri, 11 May 2007 22:20:26 +0000 (22:20 +0000)]
add the metadata

16 years agogive different border colors to active and inactive windows. adjust the xml theme...
Dana Jansens [Fri, 11 May 2007 22:18:43 +0000 (22:18 +0000)]
give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too.

16 years agodon't show handles on windows that cannot resize
Dana Jansens [Fri, 11 May 2007 21:31:19 +0000 (21:31 +0000)]
don't show handles on windows that cannot resize

16 years agofix for circular transiency
Dana Jansens [Fri, 11 May 2007 20:45:26 +0000 (20:45 +0000)]
fix for circular transiency

16 years agoadd test for grouptran->transient->transient
Dana Jansens [Fri, 11 May 2007 20:41:01 +0000 (20:41 +0000)]
add test for grouptran->transient->transient

16 years agooops, debug prints
Dana Jansens [Fri, 11 May 2007 05:55:45 +0000 (05:55 +0000)]
oops, debug prints

16 years agopick the closest icon instead of always a smaller one
Dana Jansens [Fri, 11 May 2007 05:54:57 +0000 (05:54 +0000)]
pick the closest icon instead of always a smaller one

16 years agoguarantee an even height for the label, and thus the titlebar, and thus the buttons...
Dana Jansens [Fri, 11 May 2007 05:34:53 +0000 (05:34 +0000)]
guarantee an even height for the label, and thus the titlebar, and thus the buttons. that way an even sized mask in the button will always be centred

16 years agoseparate roll up and roll down.
Dana Jansens [Fri, 11 May 2007 04:51:29 +0000 (04:51 +0000)]
separate roll up and roll down.
new strings in the po's, which are actually old strings.
fix a couple menus shortcuts besides.

16 years agofix focus cycling. checking the wrong client.
Dana Jansens [Fri, 11 May 2007 04:10:45 +0000 (04:10 +0000)]
fix focus cycling. checking the wrong client.

16 years agochange fallbacks
Dana Jansens [Fri, 11 May 2007 03:48:41 +0000 (03:48 +0000)]
change fallbacks

16 years agomake fallbacks match 3.4
Dana Jansens [Fri, 11 May 2007 03:46:09 +0000 (03:46 +0000)]
make fallbacks match 3.4

16 years agomemory leak on the server
Dana Jansens [Fri, 11 May 2007 03:36:58 +0000 (03:36 +0000)]
memory leak on the server

16 years agounused
Dana Jansens [Fri, 11 May 2007 03:36:51 +0000 (03:36 +0000)]
unused

16 years agoremove the last param from configure_full, it's not needed.
Dana Jansens [Fri, 11 May 2007 02:47:14 +0000 (02:47 +0000)]
remove the last param from configure_full, it's not needed.

16 years agoset the default window gravity to NorthWest.
Dana Jansens [Fri, 11 May 2007 02:46:59 +0000 (02:46 +0000)]
set the default window gravity to NorthWest.
only put the bare minimum inside the server grab.
adjust the frame decorations in client_manage instead of frame_grab_client
remove the last parameter from client_configure_full and just determine it from the other state available.
send configurenotifies at all the right times.
make windows get restored to their position properly when they have a border

16 years agodon't adjust the decorations while the server is grabbed, move it to client.c
Dana Jansens [Fri, 11 May 2007 02:44:50 +0000 (02:44 +0000)]
don't adjust the decorations while the server is grabbed, move it to client.c

16 years agochange when configurerequests create configurenotifies.
Dana Jansens [Fri, 11 May 2007 02:44:29 +0000 (02:44 +0000)]
change when configurerequests create configurenotifies.
make _NET_RESTACK_WINDOW create a configurenotify, because it is supposed to be like configurerequest. so why not?

16 years agojust generating some extra configurenotifies
Dana Jansens [Fri, 11 May 2007 02:43:35 +0000 (02:43 +0000)]
just generating some extra configurenotifies

16 years agothis fixes pypanel.. heh.
Dana Jansens [Fri, 11 May 2007 00:01:55 +0000 (00:01 +0000)]
this fixes pypanel.. heh.
don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.

16 years agowhen un-showing the desktop if a window is getting shown, iconify the others so just...
Dana Jansens [Thu, 10 May 2007 23:22:54 +0000 (23:22 +0000)]
when un-showing the desktop if a window is getting shown, iconify the others so just the one is shown

16 years agowhy didn't that commit
Dana Jansens [Thu, 10 May 2007 21:33:22 +0000 (21:33 +0000)]
why didn't that commit

16 years agostacking fixes for layers
Dana Jansens [Thu, 10 May 2007 20:23:27 +0000 (20:23 +0000)]
stacking fixes for layers

16 years agodon't get the layer from the group like that. let new windows go in their default...
Dana Jansens [Thu, 10 May 2007 17:15:41 +0000 (17:15 +0000)]
don't get the layer from the group like that. let new windows go in their default layer. they are already kept above their parents.

16 years agoadd comments explaining why we don't switch desktops immediately
Dana Jansens [Thu, 10 May 2007 16:51:59 +0000 (16:51 +0000)]
add comments explaining why we don't switch desktops immediately

16 years agoalways set the multipliers just dont allow 0
Dana Jansens [Thu, 10 May 2007 16:34:03 +0000 (16:34 +0000)]
always set the multipliers just dont allow 0

16 years agocenter the text and icon vertically
Dana Jansens [Thu, 10 May 2007 16:31:45 +0000 (16:31 +0000)]
center the text and icon vertically

16 years agomake sure math is done in the right order
Dana Jansens [Thu, 10 May 2007 16:27:10 +0000 (16:27 +0000)]
make sure math is done in the right order

16 years agolet the pager popup grow vertically
Dana Jansens [Thu, 10 May 2007 16:23:41 +0000 (16:23 +0000)]
let the pager popup grow vertically

16 years agofix assert happening by combining interactive and non-interactive actions
Dana Jansens [Thu, 10 May 2007 16:17:57 +0000 (16:17 +0000)]
fix assert happening by combining interactive and non-interactive actions

16 years agomake the squares a little smaller. it looks nicer?
Dana Jansens [Thu, 10 May 2007 16:05:57 +0000 (16:05 +0000)]
make the squares a little smaller. it looks nicer?

16 years agodon't make interactive desktop cycling switch until you release the mods. this is...
Dana Jansens [Thu, 10 May 2007 16:04:08 +0000 (16:04 +0000)]
don't make interactive desktop cycling switch until you release the mods. this is needed because otherwise focus moves around during the grab and applications get confused. :|
change the pager popup to resize based on the layout so the squares can be bigger

16 years agoadd the focusout test
Dana Jansens [Thu, 10 May 2007 15:33:03 +0000 (15:33 +0000)]
add the focusout test

16 years agomake stuff know it is not focused but changing desktops it still doesn't know
Dana Jansens [Thu, 10 May 2007 15:25:01 +0000 (15:25 +0000)]
make stuff know it is not focused but changing desktops it still doesn't know

16 years agoPANGO_VERSION_CHECK is new
Dana Jansens [Thu, 10 May 2007 14:31:44 +0000 (14:31 +0000)]
PANGO_VERSION_CHECK is new

16 years agogoing down the order so look for a lower layer
Dana Jansens [Thu, 10 May 2007 06:31:38 +0000 (06:31 +0000)]
going down the order so look for a lower layer

16 years agonew strings
Dana Jansens [Thu, 10 May 2007 05:35:53 +0000 (05:35 +0000)]
new strings

16 years agotranslate a few more strings and use g_message not g_critical whch is for debugging
Dana Jansens [Thu, 10 May 2007 05:35:23 +0000 (05:35 +0000)]
translate a few more strings and use g_message not g_critical whch is for debugging

16 years agochecking string length with the wrong texture
Dana Jansens [Thu, 10 May 2007 05:27:43 +0000 (05:27 +0000)]
checking string length with the wrong texture

16 years agomake the frame before you use the frame..
Dana Jansens [Thu, 10 May 2007 05:25:34 +0000 (05:25 +0000)]
make the frame before you use the frame..

16 years agoset the session stuff before trying to apply per-app settings.
Dana Jansens [Thu, 10 May 2007 05:21:05 +0000 (05:21 +0000)]
set the session stuff before trying to apply per-app settings.
set the decor/functions after restoring all the stuff from session/per-app too

16 years agofix typo in a comment, at least i do'nt think config5Aure is a word
Mikael Magnusson [Thu, 10 May 2007 05:08:24 +0000 (05:08 +0000)]
fix typo in a comment, at least i do'nt think config5Aure is a word

16 years agomake the xsession dir
Dana Jansens [Thu, 10 May 2007 04:44:56 +0000 (04:44 +0000)]
make the xsession dir

16 years agoadd the restack test for _NET_RESTACK_WINDOWS
Dana Jansens [Thu, 10 May 2007 04:40:04 +0000 (04:40 +0000)]
add the restack test for _NET_RESTACK_WINDOWS

16 years agomake configurerequest activate but net_restack_windows just restack.
Dana Jansens [Thu, 10 May 2007 04:39:06 +0000 (04:39 +0000)]
make configurerequest activate but net_restack_windows just restack.
fix bottomif, topif, opposite.
fix debug output in event printing when there was no problem

16 years agoadd _NET_RESTACK_WINDOW
Dana Jansens [Thu, 10 May 2007 04:07:07 +0000 (04:07 +0000)]
add _NET_RESTACK_WINDOW

16 years agoadd support for _NET_RESTACK_WINDOW
Dana Jansens [Thu, 10 May 2007 04:06:50 +0000 (04:06 +0000)]
add support for _NET_RESTACK_WINDOW

16 years agonot using this anymore
Dana Jansens [Thu, 10 May 2007 04:06:38 +0000 (04:06 +0000)]
not using this anymore

16 years agodont clean the rc and menu. and include them in make dist
Dana Jansens [Thu, 10 May 2007 04:05:38 +0000 (04:05 +0000)]
dont clean the rc and menu. and include them in make dist

16 years agodont count button releases to change the context until the first button pressed is...
Dana Jansens [Thu, 10 May 2007 03:44:39 +0000 (03:44 +0000)]
dont count button releases to change the context until the first button pressed is released

16 years agothe coordiantes are from the client, not the frame
Dana Jansens [Thu, 10 May 2007 03:43:56 +0000 (03:43 +0000)]
the coordiantes are from the client, not the frame

16 years agokill the .in's for xml. we're not installing the xsd to the filesystem anymore anyways.
Dana Jansens [Thu, 10 May 2007 03:12:44 +0000 (03:12 +0000)]
kill the .in's for xml. we're not installing the xsd to the filesystem anymore anyways.
kill the openbox-kde and openbox-gnome, we're going to have to do it different.
put the full path to the openbox binary in the openbox-*-session files by using .in's

16 years agoadd some debug prints
Dana Jansens [Thu, 10 May 2007 03:11:46 +0000 (03:11 +0000)]
add some debug prints
make it C compliant.
some random cleanups

16 years agofix cmd line argument parsing, it would drop some.
Dana Jansens [Thu, 10 May 2007 03:11:07 +0000 (03:11 +0000)]
fix cmd line argument parsing, it would drop some.
drop the --restart-binary argument. we're going to have to do it differently because gnome-session is stupid !

16 years agomake restacking much better, yay
Dana Jansens [Thu, 10 May 2007 00:57:35 +0000 (00:57 +0000)]
make restacking much better, yay

no more cludge using actions to raise windows. when a window changes layer it
uses add_nonintrusive now so it won't cover the focused window. this way
fullscreen windows when they drop down, don't cover up the new focus target.

fix add_nonintrusive so that if the window is focused it gets added to the top

add back support for ConfigureRequest restacking, this time properly though,
using all the detail and sibling modes. but when windows use this to raise they
are using some old business and we're going to assume they actually want to
activate instead. this means firefox works nicely. yay.

ubuntu's firefox has been made to just stop raising entirely though. !

16 years agofix positioning of the icon
Dana Jansens [Wed, 9 May 2007 23:52:53 +0000 (23:52 +0000)]
fix positioning of the icon

16 years agoless redrawing
Dana Jansens [Wed, 9 May 2007 23:45:44 +0000 (23:45 +0000)]
less redrawing

16 years agofix hovering for corner buttons during full-max
Dana Jansens [Wed, 9 May 2007 23:38:16 +0000 (23:38 +0000)]
fix hovering for corner buttons during full-max

16 years agowhen a window is fully maxed, make clicking on the titlebar past the edge buttons...
Dana Jansens [Wed, 9 May 2007 22:21:28 +0000 (22:21 +0000)]
when a window is fully maxed, make clicking on the titlebar past the edge buttons count as clicking on the buttons

16 years agoupdate compliance
Dana Jansens [Wed, 9 May 2007 21:51:35 +0000 (21:51 +0000)]
update compliance

16 years agomem leak
Dana Jansens [Wed, 9 May 2007 21:43:56 +0000 (21:43 +0000)]
mem leak

16 years agouse pango 1.16 stuff if its there. and use the old stuff if not. also! save it in...
Dana Jansens [Wed, 9 May 2007 21:41:16 +0000 (21:41 +0000)]
use pango 1.16 stuff if its there. and use the old stuff if not. also! save it in static variable so we dont have to update it over and over.

16 years agorequire pango 1.16
Mikael Magnusson [Wed, 9 May 2007 21:32:03 +0000 (21:32 +0000)]
require pango 1.16

16 years agomem leak
Dana Jansens [Wed, 9 May 2007 21:27:45 +0000 (21:27 +0000)]
mem leak

16 years agomem leaks
Dana Jansens [Wed, 9 May 2007 21:26:17 +0000 (21:26 +0000)]
mem leaks

16 years agomem leak
Dana Jansens [Wed, 9 May 2007 21:17:31 +0000 (21:17 +0000)]
mem leak

16 years agodont use XKeysymToKeycode because valgrind says it is doing bad things, and we have...
Dana Jansens [Wed, 9 May 2007 20:56:37 +0000 (20:56 +0000)]
dont use XKeysymToKeycode because valgrind says it is doing bad things, and we have all the data we need anyways

16 years agouse the keysyms instead of translating. waste.
Dana Jansens [Wed, 9 May 2007 20:45:07 +0000 (20:45 +0000)]
use the keysyms instead of translating. waste.

16 years agofix using uninit'd values
Dana Jansens [Wed, 9 May 2007 20:38:27 +0000 (20:38 +0000)]
fix using uninit'd values

16 years agoremove debug print
Dana Jansens [Wed, 9 May 2007 20:28:41 +0000 (20:28 +0000)]
remove debug print

16 years agopossible buffer overflow?
Dana Jansens [Wed, 9 May 2007 20:27:19 +0000 (20:27 +0000)]
possible buffer overflow?

16 years agofix using uninit'd memory. don't use 0 keycode
Dana Jansens [Wed, 9 May 2007 20:27:05 +0000 (20:27 +0000)]
fix using uninit'd memory. don't use 0 keycode

16 years agoadd support for _NET_REQUEST_FRAME_EXTENTS
Dana Jansens [Wed, 9 May 2007 20:13:20 +0000 (20:13 +0000)]
add support for _NET_REQUEST_FRAME_EXTENTS

16 years agoadd the _NET_WM_REQUEST_FRAME_EXTENTS test
Dana Jansens [Wed, 9 May 2007 19:45:41 +0000 (19:45 +0000)]
add the _NET_WM_REQUEST_FRAME_EXTENTS test
fix the copyright date

16 years agobackwards compatibility..
Dana Jansens [Wed, 9 May 2007 18:51:20 +0000 (18:51 +0000)]
backwards compatibility..

16 years agoonly allow west/move/east for shaded windows
Mikael Magnusson [Wed, 9 May 2007 18:49:45 +0000 (18:49 +0000)]
only allow west/move/east for shaded windows

16 years agoadd the user time window test
Dana Jansens [Wed, 9 May 2007 18:46:14 +0000 (18:46 +0000)]
add the user time window test

16 years agomissed a couple atoms, fix them for consistency
Dana Jansens [Wed, 9 May 2007 18:06:40 +0000 (18:06 +0000)]
missed a couple atoms, fix them for consistency

16 years agomake the debug print compile.. :|
Dana Jansens [Wed, 9 May 2007 18:01:46 +0000 (18:01 +0000)]
make the debug print compile.. :|

16 years agodebug print
Dana Jansens [Wed, 9 May 2007 18:00:37 +0000 (18:00 +0000)]
debug print

16 years agosupport for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstraction
Dana Jansens [Wed, 9 May 2007 17:58:58 +0000 (17:58 +0000)]
support for _NET_WM_USER_TIME_WINDOW round 2 ! yay abstraction

16 years agoadd support for _NET_WM_USER_TIME_WINDOW. round 1 ! ding.
Dana Jansens [Wed, 9 May 2007 17:01:30 +0000 (17:01 +0000)]
add support for _NET_WM_USER_TIME_WINDOW. round 1 ! ding.

16 years agomoveresize_start already checks if the window can move or resize
Dana Jansens [Wed, 9 May 2007 16:07:05 +0000 (16:07 +0000)]
moveresize_start already checks if the window can move or resize

16 years agoresist for one key press at edges when keyboard move/resizing
Dana Jansens [Wed, 9 May 2007 04:40:08 +0000 (04:40 +0000)]
resist for one key press at edges when keyboard move/resizing

16 years agooptimization
Dana Jansens [Wed, 9 May 2007 04:18:00 +0000 (04:18 +0000)]
optimization

16 years agomake cycling desktops not move when cancelling
Dana Jansens [Wed, 9 May 2007 04:16:31 +0000 (04:16 +0000)]
make cycling desktops not move when cancelling

16 years agobutton presses which run actions during interactive actions will cancel the action.
Dana Jansens [Wed, 9 May 2007 04:08:57 +0000 (04:08 +0000)]
button presses which run actions during interactive actions will cancel the action.
when you cancel switching desktops, don't go back, just stop.

16 years agoget the mouse pointer position if it is on another screen too.
Dana Jansens [Wed, 9 May 2007 04:04:53 +0000 (04:04 +0000)]
get the mouse pointer position if it is on another screen too.
let you move/resize from the client menu if the mouse is on another screen

16 years agounused variable
Dana Jansens [Wed, 9 May 2007 03:59:57 +0000 (03:59 +0000)]
unused variable