dana/openbox.git
18 years agoadjust the themes with buttons to match how they are read now
Dana Jansens [Sat, 28 Jun 2003 16:51:53 +0000 (16:51 +0000)]
adjust the themes with buttons to match how they are read now

18 years agosimplify this shit
Dana Jansens [Sat, 28 Jun 2003 16:51:19 +0000 (16:51 +0000)]
simplify this shit

18 years agohardcode the button names for themes
Dana Jansens [Sat, 28 Jun 2003 16:48:25 +0000 (16:48 +0000)]
hardcode the button names for themes

18 years agodont need to raise after adding
Dana Jansens [Sat, 28 Jun 2003 16:16:45 +0000 (16:16 +0000)]
dont need to raise after adding

18 years agorename the button_dir var to data_dir.. pointless :>
Dana Jansens [Sat, 28 Jun 2003 15:53:37 +0000 (15:53 +0000)]
rename the button_dir var to data_dir.. pointless :>

18 years agosnap to all heads the window is present on
Dana Jansens [Sat, 28 Jun 2003 15:49:48 +0000 (15:49 +0000)]
snap to all heads the window is present on

18 years agobuild 'openbox' instead of 'openbox3'.
Dana Jansens [Fri, 27 Jun 2003 13:01:31 +0000 (13:01 +0000)]
build 'openbox' instead of 'openbox3'.
add the openbox.desktop file for gnome compat.

18 years agoset "Openbox" as the name no "Openbox3"
Dana Jansens [Fri, 27 Jun 2003 13:01:04 +0000 (13:01 +0000)]
set "Openbox" as the name no "Openbox3"

18 years agoadd a .desktop file which gets installed for gnome
Dana Jansens [Fri, 27 Jun 2003 13:00:25 +0000 (13:00 +0000)]
add a .desktop file which gets installed for gnome

18 years agoadd the openbox binary
Dana Jansens [Fri, 27 Jun 2003 13:00:05 +0000 (13:00 +0000)]
add the openbox binary

18 years agoadd a call to g_set_prgname
Dana Jansens [Fri, 27 Jun 2003 12:10:17 +0000 (12:10 +0000)]
add a call to g_set_prgname

18 years agostacking changes, its more like the old code without being shitty and with support...
Dana Jansens [Fri, 27 Jun 2003 05:42:03 +0000 (05:42 +0000)]
stacking changes, its more like the old code without being shitty and with support for raising groups at a time.

18 years agocore when the list gets out of order
Dana Jansens [Fri, 27 Jun 2003 04:23:05 +0000 (04:23 +0000)]
core when the list gets out of order

18 years agoxinerama support
Dana Jansens [Fri, 27 Jun 2003 04:20:30 +0000 (04:20 +0000)]
xinerama support

18 years agoroot menu on right click
Dana Jansens [Fri, 27 Jun 2003 00:09:39 +0000 (00:09 +0000)]
root menu on right click

18 years ago4 space indents
Dana Jansens [Fri, 27 Jun 2003 00:03:43 +0000 (00:03 +0000)]
4 space indents

18 years agoreturn true when ungrabbing so that it can ungrab them all on shutdown
Dana Jansens [Thu, 26 Jun 2003 23:33:29 +0000 (23:33 +0000)]
return true when ungrabbing so that it can ungrab them all on shutdown

18 years agoset ret to true when grabbing and we alerady have it grabbed
Dana Jansens [Thu, 26 Jun 2003 23:31:20 +0000 (23:31 +0000)]
set ret to true when grabbing and we alerady have it grabbed

18 years agodont destroy the match pattern, it seems that Xft holds onto the pointer
Dana Jansens [Thu, 26 Jun 2003 17:51:52 +0000 (17:51 +0000)]
dont destroy the match pattern, it seems that Xft holds onto the pointer

18 years agocheck that extensions_vidmode is set before trying to use the vidmode functions
Dana Jansens [Thu, 26 Jun 2003 16:32:40 +0000 (16:32 +0000)]
check that extensions_vidmode is set before trying to use the vidmode functions

18 years agoif grab fails dont set grabbed_key
Dana Jansens [Thu, 26 Jun 2003 07:58:44 +0000 (07:58 +0000)]
if grab fails dont set grabbed_key

18 years agoreturn FALSE if a grab fails
Dana Jansens [Thu, 26 Jun 2003 07:58:25 +0000 (07:58 +0000)]
return FALSE if a grab fails

18 years agoset the desktop hint when the window already has a hint but its out of range
Dana Jansens [Thu, 26 Jun 2003 07:30:19 +0000 (07:30 +0000)]
set the desktop hint when the window already has a hint but its out of range

18 years agoclear the over item in the menu when executing shit
Dana Jansens [Thu, 26 Jun 2003 07:22:29 +0000 (07:22 +0000)]
clear the over item in the menu when executing shit

18 years agoadd NUM_STACKLAYER, fix some comments that dont apply
Dana Jansens [Thu, 26 Jun 2003 07:08:16 +0000 (07:08 +0000)]
add NUM_STACKLAYER, fix some comments that dont apply

18 years agoremove unused variable
Dana Jansens [Thu, 26 Jun 2003 07:07:59 +0000 (07:07 +0000)]
remove unused variable

18 years agoremove/add instead of raising to put a window into a new layer
Dana Jansens [Thu, 26 Jun 2003 07:07:42 +0000 (07:07 +0000)]
remove/add instead of raising to put a window into a new layer

18 years agonew stacking code that doesnt suck ass to look at, woot
Dana Jansens [Thu, 26 Jun 2003 07:05:27 +0000 (07:05 +0000)]
new stacking code that doesnt suck ass to look at, woot

18 years agouse the minsize to keep the stuff ni the dock off of the bevel edges etc
Dana Jansens [Thu, 26 Jun 2003 05:46:06 +0000 (05:46 +0000)]
use the minsize to keep the stuff ni the dock off of the bevel edges etc

18 years agoadd comment
Dana Jansens [Thu, 26 Jun 2003 01:35:41 +0000 (01:35 +0000)]
add comment

18 years agoread fonts and titlebar layout from theme files
Dana Jansens [Thu, 26 Jun 2003 01:29:45 +0000 (01:29 +0000)]
read fonts and titlebar layout from theme files

18 years agoadd right click on icon to open the client menu
Dana Jansens [Wed, 25 Jun 2003 23:22:28 +0000 (23:22 +0000)]
add right click on icon to open the client menu

18 years agoset teh X so it gets used right
Dana Jansens [Wed, 25 Jun 2003 21:18:16 +0000 (21:18 +0000)]
set teh X so it gets used right

18 years agokeep a small space on the sides of windows between the edge and the text
Dana Jansens [Wed, 25 Jun 2003 21:17:15 +0000 (21:17 +0000)]
keep a small space on the sides of windows between the edge and the text

18 years agoonly render if there was an over existing
Dana Jansens [Wed, 25 Jun 2003 18:46:51 +0000 (18:46 +0000)]
only render if there was an over existing

18 years agomenus grab the keyboard and pointer, thus making only one menu visible at a time...
Dana Jansens [Wed, 25 Jun 2003 18:43:42 +0000 (18:43 +0000)]
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu

18 years agoshow the client meun on "press" on the icon
Dana Jansens [Wed, 25 Jun 2003 18:42:05 +0000 (18:42 +0000)]
show the client meun on "press" on the icon

18 years agouse the stock shownig method for the client menu for now, makes it pop up under the...
Dana Jansens [Wed, 25 Jun 2003 18:41:40 +0000 (18:41 +0000)]
use the stock shownig method for the client menu for now, makes it pop up under the cursor so a click-release works like expected

18 years agouse the alst button press for clicks instead of teh fisrt. it make sno diff to me...
Dana Jansens [Wed, 25 Jun 2003 18:40:04 +0000 (18:40 +0000)]
use the alst button press for clicks instead of teh fisrt. it make sno diff to me really and this makes it work when you grab the pointer on the click, without leaving the mouse plugin in a weird state.

18 years agograb all motion events for pointer grabs
Dana Jansens [Wed, 25 Jun 2003 18:34:28 +0000 (18:34 +0000)]
grab all motion events for pointer grabs

18 years agoposition submenus correctly horizontally
Dana Jansens [Tue, 24 Jun 2003 19:33:24 +0000 (19:33 +0000)]
position submenus correctly horizontally

18 years agomenus were too short by a border width
Dana Jansens [Tue, 24 Jun 2003 19:22:41 +0000 (19:22 +0000)]
menus were too short by a border width

18 years agocheck to make sure the window is on screen *after* positioning it
Dana Jansens [Tue, 24 Jun 2003 19:19:06 +0000 (19:19 +0000)]
check to make sure the window is on screen *after* positioning it

18 years agodo horz grads without any multipliaction
Dana Jansens [Tue, 24 Jun 2003 18:56:47 +0000 (18:56 +0000)]
do horz grads without any multipliaction

18 years agomade all the gradients work with integer math. removed the pipecross and rectangle...
Dana Jansens [Tue, 24 Jun 2003 18:54:18 +0000 (18:54 +0000)]
made all the gradients work with integer math. removed the pipecross and rectangle gradietns tho cuz they are ugly and i dont want to code that bullshit cuz they are ugly.

18 years agointeger math for gradients. horz vert and diags and pipecross work so far.
Dana Jansens [Tue, 24 Jun 2003 18:16:23 +0000 (18:16 +0000)]
integer math for gradients. horz vert and diags and pipecross work so far.

18 years agoadd a simple menu parser.
Dana Jansens [Sun, 22 Jun 2003 08:32:35 +0000 (08:32 +0000)]
add a simple menu parser.
while menu parsing, the theme does not exist so we can't do any theme stuff while creating menu stuff, so put that off for later, i.e when the menu is shown.

18 years agoreorder startup so menu goes before config parsing
Dana Jansens [Sun, 22 Jun 2003 08:29:40 +0000 (08:29 +0000)]
reorder startup so menu goes before config parsing

18 years agoadd a root menu
Dana Jansens [Sun, 22 Jun 2003 08:25:30 +0000 (08:25 +0000)]
add a root menu

18 years agoadd decoration state to the frame struct. make client_configure adjust the frame...
Dana Jansens [Sat, 21 Jun 2003 18:59:35 +0000 (18:59 +0000)]
add decoration state to the frame struct. make client_configure adjust the frame if the decorations do not match between the client and the frame, so that when they change it can send a configurenotify to the client.

18 years agomake client_reconfigure a non-user-type client_configure
Dana Jansens [Sat, 21 Jun 2003 18:29:42 +0000 (18:29 +0000)]
make client_reconfigure a non-user-type client_configure

18 years agostrdup the exec path cuz it gets freed by the time we restart otherwise
Dana Jansens [Sat, 21 Jun 2003 18:14:42 +0000 (18:14 +0000)]
strdup the exec path cuz it gets freed by the time we restart otherwise

18 years agomoveresize messages are not user-requests
Dana Jansens [Sat, 21 Jun 2003 18:10:04 +0000 (18:10 +0000)]
moveresize messages are not user-requests

18 years agoremove debug print
Dana Jansens [Sat, 21 Jun 2003 18:08:26 +0000 (18:08 +0000)]
remove debug print

18 years agosend teh configure event to client on user-requested final configures even if not...
Dana Jansens [Sat, 21 Jun 2003 17:28:36 +0000 (17:28 +0000)]
send teh configure event to client on user-requested final configures even if not moved, cuz usualy the final isnt sent with a change, but just to end the move process.

18 years agoalways create the bg pixmap, X seems to not like it if i dont?
Dana Jansens [Sat, 21 Jun 2003 17:13:45 +0000 (17:13 +0000)]
always create the bg pixmap, X seems to not like it if i dont?

18 years agoalways use the session id from the session manager when setting the restart property
Dana Jansens [Sat, 21 Jun 2003 16:37:39 +0000 (16:37 +0000)]
always use the session id from the session manager when setting the restart property

18 years agoadd -sm-disable option
Dana Jansens [Sat, 21 Jun 2003 09:51:15 +0000 (09:51 +0000)]
add -sm-disable option

18 years agoonly show -sm-client-id in the help when session management is build in
Dana Jansens [Sat, 21 Jun 2003 09:40:15 +0000 (09:40 +0000)]
only show -sm-client-id in the help when session management is build in

18 years agosession management works, and it can resume with its old ID, so it works with gnome...
Dana Jansens [Sat, 21 Jun 2003 09:38:51 +0000 (09:38 +0000)]
session management works, and it can resume with its old ID, so it works with gnome-session

18 years agomake session management optional
Dana Jansens [Sat, 21 Jun 2003 08:45:25 +0000 (08:45 +0000)]
make session management optional

18 years agoset the required properties so that session managers see openbox
Dana Jansens [Sat, 21 Jun 2003 08:03:56 +0000 (08:03 +0000)]
set the required properties so that session managers see openbox

18 years agodon't exit in the render lib, rather return a NULL font/theme on failure
Dana Jansens [Sat, 21 Jun 2003 05:35:05 +0000 (05:35 +0000)]
don't exit in the render lib, rather return a NULL font/theme on failure

18 years agoadd libSM *client* support, so we should work with gnome-session now!
Dana Jansens [Sat, 21 Jun 2003 05:31:54 +0000 (05:31 +0000)]
add libSM *client* support, so we should work with gnome-session now!

18 years agomore namespacing with Rr*
Dana Jansens [Sat, 21 Jun 2003 02:39:56 +0000 (02:39 +0000)]
more namespacing with Rr*

18 years agomore namespacing with Rr*
Dana Jansens [Sat, 21 Jun 2003 02:39:55 +0000 (02:39 +0000)]
more namespacing with Rr*

18 years agouse the pseudo shit in the instance now
Dana Jansens [Sat, 21 Jun 2003 02:38:47 +0000 (02:38 +0000)]
use the pseudo shit in the instance now

18 years agomore namespacing with Rr*
Dana Jansens [Sat, 21 Jun 2003 02:30:15 +0000 (02:30 +0000)]
more namespacing with Rr*

18 years agomore namespacing with Rr*
Dana Jansens [Sat, 21 Jun 2003 02:30:14 +0000 (02:30 +0000)]
more namespacing with Rr*

18 years agodont use .. in include paths
Dana Jansens [Sat, 21 Jun 2003 02:30:01 +0000 (02:30 +0000)]
dont use .. in include paths

18 years agomore namespacing with Rr*
Dana Jansens [Sat, 21 Jun 2003 02:26:50 +0000 (02:26 +0000)]
more namespacing with Rr*

18 years agokill a warning
Dana Jansens [Sat, 21 Jun 2003 02:24:18 +0000 (02:24 +0000)]
kill a warning

18 years agomore namespacing to Rr*
Dana Jansens [Sat, 21 Jun 2003 02:15:13 +0000 (02:15 +0000)]
more namespacing to Rr*

18 years agofix a warning
Dana Jansens [Sat, 21 Jun 2003 02:14:53 +0000 (02:14 +0000)]
fix a warning

18 years agorename pixel32/16 to RrPixel32/16
Dana Jansens [Sat, 21 Jun 2003 02:00:42 +0000 (02:00 +0000)]
rename pixel32/16 to RrPixel32/16

18 years agorename color_rgb to RrColor
Dana Jansens [Sat, 21 Jun 2003 01:56:14 +0000 (01:56 +0000)]
rename color_rgb to RrColor

18 years agoput the render theme into a struct
Dana Jansens [Sat, 21 Jun 2003 01:53:26 +0000 (01:53 +0000)]
put the render theme into a struct

18 years agofixed to accomodate the changes to the render/ API.
Dana Jansens [Sat, 21 Jun 2003 00:42:47 +0000 (00:42 +0000)]
fixed to accomodate the changes to the render/ API.

18 years agothis is going to break the kernel/ building.
Dana Jansens [Fri, 20 Jun 2003 07:58:51 +0000 (07:58 +0000)]
this is going to break the kernel/ building.

lots of modifications to the render API, prefixing everything, making proper
names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.

18 years agooops typo
Dana Jansens [Fri, 20 Jun 2003 05:45:55 +0000 (05:45 +0000)]
oops typo

18 years agotake the bevel width into account for the width available
Dana Jansens [Fri, 20 Jun 2003 02:39:20 +0000 (02:39 +0000)]
take the bevel width into account for the width available

18 years agoposition the client menu right
Dana Jansens [Fri, 20 Jun 2003 02:19:53 +0000 (02:19 +0000)]
position the client menu right

18 years agosimply the render interface by not requiring the setting of all the areas. only take...
Dana Jansens [Fri, 20 Jun 2003 02:17:23 +0000 (02:17 +0000)]
simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever.

18 years agomiklos does themes like mad
Dana Jansens [Fri, 20 Jun 2003 00:56:13 +0000 (00:56 +0000)]
miklos does themes like mad

18 years agoslight optimizations, and make the last 4 gradients work properly
Dana Jansens [Fri, 20 Jun 2003 00:46:53 +0000 (00:46 +0000)]
slight optimizations, and make the last 4 gradients work properly

18 years agocenter text vertically. use the font's height because all that space is needed for...
Dana Jansens [Fri, 20 Jun 2003 00:38:25 +0000 (00:38 +0000)]
center text vertically. use the font's height because all that space is needed for some charcters

18 years agoremove non-planar surfaces
Dana Jansens [Fri, 20 Jun 2003 00:05:51 +0000 (00:05 +0000)]
remove non-planar surfaces

18 years agoremove --enable-gl
Dana Jansens [Thu, 19 Jun 2003 23:29:07 +0000 (23:29 +0000)]
remove --enable-gl

18 years agofix for how base-size is used to comply with the icccm
Dana Jansens [Thu, 19 Jun 2003 17:14:16 +0000 (17:14 +0000)]
fix for how base-size is used to comply with the icccm

18 years agoexport the WANT_AUTOMAKE var before running acloacl
Dana Jansens [Tue, 17 Jun 2003 16:31:48 +0000 (16:31 +0000)]
export the WANT_AUTOMAKE var before running acloacl

18 years agoremove an extra useless call to focus_set_client(NULL)
Dana Jansens [Sun, 8 Jun 2003 23:25:21 +0000 (23:25 +0000)]
remove an extra useless call to focus_set_client(NULL)

18 years agodescribe the complicated if a bit :)
Dana Jansens [Sun, 8 Jun 2003 22:38:31 +0000 (22:38 +0000)]
describe the complicated if a bit :)

18 years agomore checks for when to do an XResizeWindow
Dana Jansens [Sun, 8 Jun 2003 22:37:31 +0000 (22:37 +0000)]
more checks for when to do an XResizeWindow

18 years agosend the configure notify for resizes too, just to be a little more safe
Dana Jansens [Sun, 8 Jun 2003 22:30:55 +0000 (22:30 +0000)]
send the configure notify for resizes too, just to be a little more safe

18 years agoonlt send configurenotify if the client actually moved, to work around emacs, hopeful...
Dana Jansens [Sun, 8 Jun 2003 22:28:32 +0000 (22:28 +0000)]
onlt send configurenotify if the client actually moved, to work around emacs, hopefully :)

18 years agosome more fixes for resizing clients. aspect ratio is not the last thing checked...
Dana Jansens [Sun, 8 Jun 2003 21:38:06 +0000 (21:38 +0000)]
some more fixes for resizing clients. aspect ratio is not the last thing checked and so rules all, that might need to change.. however, it now uses base-size only for aspect ratios and base-size/min-size for other sizing shit, as per the ICCCM.

18 years agofrom icccm:
Dana Jansens [Sun, 8 Jun 2003 21:21:23 +0000 (21:21 +0000)]
from icccm:
If a base size is not provided, the minimum size is to be used in its place and vice versa.

Added support for this.

18 years agoi was backwards
Dana Jansens [Sun, 8 Jun 2003 01:20:13 +0000 (01:20 +0000)]
i was backwards

18 years agothis cnofigure is FINAL!
Dana Jansens [Sun, 8 Jun 2003 01:18:51 +0000 (01:18 +0000)]
this cnofigure is FINAL!

18 years agodon't resize the client itself while doing a resize if its not final when config_opaq...
Dana Jansens [Sun, 8 Jun 2003 01:01:13 +0000 (01:01 +0000)]
don't resize the client itself while doing a resize if its not final when config_opaque_resize is not on