dana/openbox.git
16 years agorename the Client struct to ObClient
Dana Jansens [Thu, 10 Jul 2003 06:38:42 +0000 (06:38 +0000)]
rename the Client struct to ObClient

16 years agoadd the new misc.h and mwm.h to the kernel sources
Dana Jansens [Thu, 10 Jul 2003 06:23:54 +0000 (06:23 +0000)]
add the new misc.h and mwm.h to the kernel sources

16 years agoadd a mwm.h for the mwm hint structure and flags.
Dana Jansens [Thu, 10 Jul 2003 06:23:38 +0000 (06:23 +0000)]
add a mwm.h for the mwm hint structure and flags.
use proper prefixing and capitalization for the new mwm stuff.

16 years agoadd misc.h with some standard enumerations with proper prefixing and capitalizations.
Dana Jansens [Thu, 10 Jul 2003 06:18:47 +0000 (06:18 +0000)]
add misc.h with some standard enumerations with proper prefixing and capitalizations.

use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.

16 years agorename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
Dana Jansens [Thu, 10 Jul 2003 05:44:23 +0000 (05:44 +0000)]
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.

16 years agospeed up pick_group_windows too
Dana Jansens [Thu, 10 Jul 2003 05:35:22 +0000 (05:35 +0000)]
speed up pick_group_windows too

16 years agomake pick_windows waaaay faster
Dana Jansens [Thu, 10 Jul 2003 05:33:51 +0000 (05:33 +0000)]
make pick_windows waaaay faster

16 years agoremove the use of the BINARY define. kill a compiler warning.
Dana Jansens [Thu, 10 Jul 2003 04:38:02 +0000 (04:38 +0000)]
remove the use of the BINARY define. kill a compiler warning.

16 years agoallow restacking of transients above one another
Dana Jansens [Thu, 10 Jul 2003 04:37:26 +0000 (04:37 +0000)]
allow restacking of transients above one another

16 years agoput the transient's title before the parent's in the focus popup
Dana Jansens [Thu, 10 Jul 2003 04:36:42 +0000 (04:36 +0000)]
put the transient's title before the parent's in the focus popup

16 years agoremove the xinerama active boolean, just count the extension as not present if it...
Dana Jansens [Thu, 10 Jul 2003 04:36:17 +0000 (04:36 +0000)]
remove the xinerama active boolean, just count the extension as not present if it is not active

16 years agoadd client_search_top_transient.
Dana Jansens [Thu, 10 Jul 2003 04:34:18 +0000 (04:34 +0000)]
add client_search_top_transient.
keep transients all on the same desktop together. use client_search_top_transient where possible in client.c

16 years agoadd ob_debug for printing stuff only when debug is enabled
Dana Jansens [Thu, 10 Jul 2003 04:32:33 +0000 (04:32 +0000)]
add ob_debug for printing stuff only when debug is enabled

16 years agothese havent been used for a long time.. ;) old parsing shit be gone
Dana Jansens [Thu, 10 Jul 2003 04:32:15 +0000 (04:32 +0000)]
these havent been used for a long time.. ;) old parsing shit be gone

16 years agoremove rependancy on geom.h from the kernel, provide what is used in its own geom.h
Dana Jansens [Thu, 10 Jul 2003 04:31:34 +0000 (04:31 +0000)]
remove rependancy on geom.h from the kernel, provide what is used in its own geom.h

16 years agoupdate the build system, using a single Makefile.am for a sexyass non-recursive make...
Dana Jansens [Thu, 10 Jul 2003 04:31:05 +0000 (04:31 +0000)]
update the build system, using a single Makefile.am for a sexyass non-recursive make. booyah!

16 years agomove the gettext header out to the root source dir
Dana Jansens [Thu, 10 Jul 2003 04:30:15 +0000 (04:30 +0000)]
move the gettext header out to the root source dir

16 years agoinclude stdlib for exit()
Dana Jansens [Mon, 7 Jul 2003 20:26:32 +0000 (20:26 +0000)]
include stdlib for exit()

16 years agoadd ACLOCAL_FLAGS to the aclocal call.
Dana Jansens [Sun, 6 Jul 2003 19:19:57 +0000 (19:19 +0000)]
add ACLOCAL_FLAGS to the aclocal call.

16 years agouse --foo instead of -foo for cmd line arguments
Dana Jansens [Sat, 5 Jul 2003 17:22:42 +0000 (17:22 +0000)]
use --foo instead of -foo for cmd line arguments

16 years agotry some better default offsets for big endian machines.
Dana Jansens [Sat, 5 Jul 2003 17:01:30 +0000 (17:01 +0000)]
try some better default offsets for big endian machines.
print what the conversion is so i can see what it should be if im wrong though

16 years agoused RrColorShift when RrColorOffset was what we wanted
Dana Jansens [Sat, 5 Jul 2003 16:51:29 +0000 (16:51 +0000)]
used RrColorShift when RrColorOffset was what we wanted

16 years agocoment the USE_LIBSN defined variable
Dana Jansens [Sat, 5 Jul 2003 04:57:24 +0000 (04:57 +0000)]
coment the USE_LIBSN defined variable

16 years agorename the raise and lower functions. raise is claimed by signal.h already
Dana Jansens [Wed, 2 Jul 2003 16:11:04 +0000 (16:11 +0000)]
rename the raise and lower functions. raise is claimed by signal.h already

16 years agoset te strut smaller when autohide is on
Dana Jansens [Mon, 30 Jun 2003 23:11:58 +0000 (23:11 +0000)]
set te strut smaller when autohide is on

16 years agoMakes a simple click not so accidently annoying by making it not
Scott Moynes [Mon, 30 Jun 2003 23:06:50 +0000 (23:06 +0000)]
Makes a simple click not so accidently annoying by making it not
execute a menu action if nothing is highlighted.

16 years agomessed up the indexes while finding the combined size of all xineerama heads
Dana Jansens [Mon, 30 Jun 2003 05:19:42 +0000 (05:19 +0000)]
messed up the indexes while finding the combined size of all xineerama heads

16 years agooops, i want the max edges to find the full area
Dana Jansens [Mon, 30 Jun 2003 05:10:51 +0000 (05:10 +0000)]
oops, i want the max edges to find the full area

16 years agousing a changelog generated off of CVS
Dana Jansens [Mon, 30 Jun 2003 03:36:27 +0000 (03:36 +0000)]
using a changelog generated off of CVS

16 years agoRemove menu plugins because they are stupid and don't work.
Scott Moynes [Mon, 30 Jun 2003 00:22:52 +0000 (00:22 +0000)]
Remove menu plugins because they are stupid and don't work.

16 years agothe prop_get_strings_locale function looked for a utf8 typed property
Dana Jansens [Sun, 29 Jun 2003 18:37:51 +0000 (18:37 +0000)]
the prop_get_strings_locale function looked for a utf8 typed property

16 years agoadd some comments and asserts to make sure I don't ever add this bug again
Dana Jansens [Sun, 29 Jun 2003 17:29:10 +0000 (17:29 +0000)]
add some comments and asserts to make sure I don't ever add this bug again

16 years agocreate the popup's window before adding it to the stacking list, so that it is stacke...
Dana Jansens [Sun, 29 Jun 2003 17:18:19 +0000 (17:18 +0000)]
create the popup's window before adding it to the stacking list, so that it is stacked properly and doesnt wreck everything

16 years agoprepare for alpha1 release.
Dana Jansens [Sun, 29 Jun 2003 08:47:24 +0000 (08:47 +0000)]
prepare for alpha1 release.
make 'make dist' work.

16 years agoadd a makefile so i can put stuff into the make dist
Dana Jansens [Sun, 29 Jun 2003 08:47:04 +0000 (08:47 +0000)]
add a makefile so i can put stuff into the make dist

16 years agopython support is gone
Dana Jansens [Sun, 29 Jun 2003 08:46:44 +0000 (08:46 +0000)]
python support is gone

16 years agowe dont really have any translatable stuff yet but this was pointing at old cpp shit
Dana Jansens [Sun, 29 Jun 2003 08:46:27 +0000 (08:46 +0000)]
we dont really have any translatable stuff yet but this was pointing at old cpp shit

16 years agouse strcmp instead of collate, since collate is slower and we're only doing an =...
Dana Jansens [Sun, 29 Jun 2003 08:46:03 +0000 (08:46 +0000)]
use strcmp instead of collate, since collate is slower and we're only doing an == check

16 years agothese are old and not used anymore
Dana Jansens [Sun, 29 Jun 2003 08:45:35 +0000 (08:45 +0000)]
these are old and not used anymore

16 years agomissed setting 'current' at the end of the pyramid gradient
Dana Jansens [Sun, 29 Jun 2003 08:33:19 +0000 (08:33 +0000)]
missed setting 'current' at the end of the pyramid gradient

16 years agowaste of energy in stacking_add, and it even caused bugs. woops.
Dana Jansens [Sun, 29 Jun 2003 04:00:43 +0000 (04:00 +0000)]
waste of energy in stacking_add, and it even caused bugs. woops.

16 years agoUpdate the send-to window only if the workspaces have changed.
Scott Moynes [Sun, 29 Jun 2003 01:45:32 +0000 (01:45 +0000)]
Update the send-to window only if the workspaces have changed.

16 years agoHandle menu events a little better: don't bother updating a submenu on
Scott Moynes [Sun, 29 Jun 2003 01:44:31 +0000 (01:44 +0000)]
Handle menu events a little better: don't bother updating a submenu on
mouseover if it is already open, and call update on menus, even if
they aren't marked as invalid.

16 years agouse fprintf not g_message in the signal handler. no mallocing allowed.
Dana Jansens [Sat, 28 Jun 2003 19:28:46 +0000 (19:28 +0000)]
use fprintf not g_message in the signal handler. no mallocing allowed.

16 years agoremove debug print
Dana Jansens [Sat, 28 Jun 2003 19:06:03 +0000 (19:06 +0000)]
remove debug print

16 years agoset the values of the array at teh right indexes
Dana Jansens [Sat, 28 Jun 2003 18:30:11 +0000 (18:30 +0000)]
set the values of the array at teh right indexes

16 years agofix memory bugs
Dana Jansens [Sat, 28 Jun 2003 18:24:34 +0000 (18:24 +0000)]
fix memory bugs

16 years agoremove the switch to... menu
Dana Jansens [Sat, 28 Jun 2003 17:44:17 +0000 (17:44 +0000)]
remove the switch to... menu

16 years agodon't destroy font patterns, i think this is a double free
Dana Jansens [Sat, 28 Jun 2003 17:29:23 +0000 (17:29 +0000)]
don't destroy font patterns, i think this is a double free

16 years agoput group members above the window when lowering it
Dana Jansens [Sat, 28 Jun 2003 17:28:48 +0000 (17:28 +0000)]
put group members above the window when lowering it

16 years agoset the stacking list when stacking changes
Dana Jansens [Sat, 28 Jun 2003 17:21:42 +0000 (17:21 +0000)]
set the stacking list when stacking changes

16 years agoignore the generated makefiles
Dana Jansens [Sat, 28 Jun 2003 16:55:10 +0000 (16:55 +0000)]
ignore the generated makefiles

16 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

16 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

16 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

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

16 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

16 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

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

16 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

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

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

16 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

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

16 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

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

16 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

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

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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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.