dana/openbox.git
19 years agoadd the makefiles for the themes' data dirs
Dana Jansens [Sat, 28 Jun 2003 16:55:00 +0000 (16:55 +0000)]
add the makefiles for the themes' data dirs

19 years agoadd the themes path to the struct. make the name never include a path
Dana Jansens [Sat, 28 Jun 2003 16:52:17 +0000 (16:52 +0000)]
add the themes path to the struct. make the name never include a path

19 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

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

19 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

19 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

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

19 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

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

19 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"

19 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

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

19 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

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

19 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

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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

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

19 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

19 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

19 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

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

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

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

19 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

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

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

19 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

19 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

19 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

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

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

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

19 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

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

19 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

19 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

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

19 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

19 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

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

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

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

19 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

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

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

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

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

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

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

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

19 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

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

19 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

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

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

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

19 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

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

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

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

19 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

19 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

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

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

19 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

19 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

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

19 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 :)

19 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

19 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

19 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 :)

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

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

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