mikachu/openbox.git
16 years agoremove unused variable
Dana Jansens [Thu, 26 Jun 2003 07:07:59 +0000 (07:07 +0000)]
remove unused variable

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

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

16 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

16 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

16 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

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

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

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

16 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

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

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

16 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

16 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

16 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

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

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

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

16 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

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

16 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

16 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

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

16 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

16 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

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

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

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

16 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

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

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

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

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

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

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

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

16 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

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

16 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

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

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

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

16 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

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

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

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

16 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

16 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

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

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

16 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

16 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

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

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

16 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

16 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

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

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

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

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

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

17 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

17 years agobetter VIDMODE support, handle the cases where the functions fail
Dana Jansens [Wed, 4 Jun 2003 23:21:51 +0000 (23:21 +0000)]
better VIDMODE support, handle the cases where the functions fail

17 years agosize fullscreen applications to the resolution with the VIDMODE extension
Dana Jansens [Wed, 4 Jun 2003 23:19:06 +0000 (23:19 +0000)]
size fullscreen applications to the resolution with the VIDMODE extension

17 years agoremove the client_remaximize function, and replace it with the client_reconfigure...
Dana Jansens [Wed, 4 Jun 2003 23:11:26 +0000 (23:11 +0000)]
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.

add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.

17 years agoremove that fancy new leftHanded option, it should be done via xmodmap instead
Dana Jansens [Wed, 4 Jun 2003 22:48:38 +0000 (22:48 +0000)]
remove that fancy new leftHanded option, it should be done via xmodmap instead

17 years agoadd a leftHanded option for mouse bindings, reverses the left/right keywords
Dana Jansens [Wed, 4 Jun 2003 22:46:17 +0000 (22:46 +0000)]
add a leftHanded option for mouse bindings, reverses the left/right keywords

17 years agomake key grabbing per window instead of always root
Dana Jansens [Wed, 4 Jun 2003 22:45:54 +0000 (22:45 +0000)]
make key grabbing per window instead of always root

17 years agograb bindings on each client's frame (and the focus_backup) instead of on the root...
Dana Jansens [Wed, 4 Jun 2003 22:40:33 +0000 (22:40 +0000)]
grab bindings on each client's frame (and the focus_backup) instead of on the root window

17 years agoallow cycling to iconic windows
Dana Jansens [Wed, 4 Jun 2003 19:30:35 +0000 (19:30 +0000)]
allow cycling to iconic windows

17 years agouse client_can_focus from client_focus to always get the same result
Dana Jansens [Wed, 4 Jun 2003 19:24:37 +0000 (19:24 +0000)]
use client_can_focus from client_focus to always get the same result

17 years agoreverting the transient focus cycle change, its just not.. right. add the parent...
Dana Jansens [Wed, 4 Jun 2003 18:22:19 +0000 (18:22 +0000)]
reverting the transient focus cycle change, its just not.. right. add the parent's title to the transient's for the popup instead of just relpacing it

17 years agobetter focus cycling for transients. use the parent instead of the transients in...
Dana Jansens [Wed, 4 Jun 2003 17:33:20 +0000 (17:33 +0000)]
better focus cycling for transients. use the parent instead of the transients in the list in case it has more than one, then after choosing it try focus a transient instead

17 years agodont try change focus while looping thru the focus list
Dana Jansens [Wed, 4 Jun 2003 17:17:55 +0000 (17:17 +0000)]
dont try change focus while looping thru the focus list

17 years agoallow focus_fallback to query if a client can be focused without changing the focus...
Dana Jansens [Wed, 4 Jun 2003 17:16:50 +0000 (17:16 +0000)]
allow focus_fallback to query if a client can be focused without changing the focus order on it

17 years agograb the keybaord before cycling focus for reduced latency
Dana Jansens [Wed, 4 Jun 2003 16:39:45 +0000 (16:39 +0000)]
grab the keybaord before cycling focus for reduced latency

17 years agoremove debug print
Dana Jansens [Tue, 3 Jun 2003 05:17:32 +0000 (05:17 +0000)]
remove debug print

17 years agomore unique error for unhandles image bit depths, remove debug prints
Dana Jansens [Tue, 3 Jun 2003 05:07:39 +0000 (05:07 +0000)]
more unique error for unhandles image bit depths, remove debug prints

17 years agohandle increase_depth on 1bpp images
Dana Jansens [Tue, 3 Jun 2003 05:04:12 +0000 (05:04 +0000)]
handle increase_depth on 1bpp images

17 years agoignore xerrors while using the pixmaps specified by the client, since they can certai...
Dana Jansens [Tue, 3 Jun 2003 04:52:54 +0000 (04:52 +0000)]
ignore xerrors while using the pixmaps specified by the client, since they can certainly be invalid and there's nothing i can do about it.

17 years agorm g_messages.. ones that segfault.. :>
Dana Jansens [Tue, 3 Jun 2003 01:54:31 +0000 (01:54 +0000)]
rm g_messages.. ones that segfault.. :>

17 years agoalso dont increment the nicons if the w*h is 0
Dana Jansens [Mon, 2 Jun 2003 23:16:50 +0000 (23:16 +0000)]
also dont increment the nicons if the w*h is 0

17 years agowatch out for 0x0 icons, and skip them
Dana Jansens [Mon, 2 Jun 2003 23:10:27 +0000 (23:10 +0000)]
watch out for 0x0 icons, and skip them

17 years agoadd env var to get automake 1.7
Dana Jansens [Mon, 2 Jun 2003 01:07:50 +0000 (01:07 +0000)]
add env var to get automake 1.7

17 years agoadjust what gets raised on map a bit, a little less selective.
Dana Jansens [Fri, 30 May 2003 18:16:33 +0000 (18:16 +0000)]
adjust what gets raised on map a bit, a little less selective.

17 years agobetter alpha/beta check :)
Dana Jansens [Thu, 29 May 2003 15:38:47 +0000 (15:38 +0000)]
better alpha/beta check :)

17 years agolook for 'alpha' and 'beta' releases also
Dana Jansens [Thu, 29 May 2003 15:30:05 +0000 (15:30 +0000)]
look for 'alpha' and 'beta' releases also