mikachu/openbox.git
21 years agoAdded the much sought after horizontal gradient
Derek Foreman [Wed, 19 Feb 2003 03:55:51 +0000 (03:55 +0000)]
Added the much sought after horizontal gradient

21 years agolabels are higher than buttons too
Dana Jansens [Wed, 19 Feb 2003 02:41:22 +0000 (02:41 +0000)]
labels are higher than buttons too

21 years agosurface's have a size not a width()/height()
Dana Jansens [Wed, 19 Feb 2003 02:39:21 +0000 (02:39 +0000)]
surface's have a size not a width()/height()

21 years agolabels are not the size of buttons
Dana Jansens [Wed, 19 Feb 2003 02:38:47 +0000 (02:38 +0000)]
labels are not the size of buttons

21 years agomake labels' parent relative actually work :>
Dana Jansens [Wed, 19 Feb 2003 02:35:12 +0000 (02:35 +0000)]
make labels' parent relative actually work :>

21 years agomake parentrelative decorations work
Dana Jansens [Wed, 19 Feb 2003 02:31:35 +0000 (02:31 +0000)]
make parentrelative decorations work

21 years agodont assume only 5 mouse buttons.
Dana Jansens [Wed, 19 Feb 2003 01:29:11 +0000 (01:29 +0000)]
dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter

21 years agoposition is a function
Dana Jansens [Wed, 19 Feb 2003 01:17:38 +0000 (01:17 +0000)]
position is a function

21 years agoposition relative to the window properly
Dana Jansens [Wed, 19 Feb 2003 01:17:14 +0000 (01:17 +0000)]
position relative to the window properly

21 years agolet any number of mouse buttons work
Dana Jansens [Wed, 19 Feb 2003 01:07:29 +0000 (01:07 +0000)]
let any number of mouse buttons work

21 years agoadd the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote...
Dana Jansens [Wed, 19 Feb 2003 00:58:59 +0000 (00:58 +0000)]
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.

21 years agoadd new options for placement of the motion coords popup.
Dana Jansens [Wed, 19 Feb 2003 00:56:42 +0000 (00:56 +0000)]
add new options for placement of the motion coords popup.
use a parentless label.

21 years agouse the new desktopNames()
Dana Jansens [Wed, 19 Feb 2003 00:56:06 +0000 (00:56 +0000)]
use the new desktopNames()

21 years agolet you create a parentless label
Dana Jansens [Wed, 19 Feb 2003 00:55:25 +0000 (00:55 +0000)]
let you create a parentless label

21 years agoa few optimizations to layouts/rendering
Dana Jansens [Wed, 19 Feb 2003 00:55:05 +0000 (00:55 +0000)]
a few optimizations to layouts/rendering

21 years agotypo!
Dana Jansens [Tue, 18 Feb 2003 22:57:28 +0000 (22:57 +0000)]
typo!

21 years agooops messed up centered
Dana Jansens [Tue, 18 Feb 2003 22:10:16 +0000 (22:10 +0000)]
oops messed up centered

21 years agoadd a POPUP_CENTERED option
Dana Jansens [Tue, 18 Feb 2003 22:09:17 +0000 (22:09 +0000)]
add a POPUP_CENTERED option

21 years agomake the highlighted button high a white border
Dana Jansens [Tue, 18 Feb 2003 16:03:13 +0000 (16:03 +0000)]
make the highlighted button high a white border

21 years agomake button text white in the default style
Dana Jansens [Tue, 18 Feb 2003 16:01:39 +0000 (16:01 +0000)]
make button text white in the default style

21 years agowatch for case where we think one button is pressed but it isnt anymore, making Click...
Dana Jansens [Tue, 18 Feb 2003 15:59:36 +0000 (15:59 +0000)]
watch for case where we think one button is pressed but it isnt anymore, making Click events get missed

21 years agoadjust to the new format for otk::Proeprty::get() functions (no nelements)
Dana Jansens [Mon, 17 Feb 2003 21:50:48 +0000 (21:50 +0000)]
adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.

21 years agoprovide a function to return all the desktop names instead of one at a time.
Dana Jansens [Mon, 17 Feb 2003 21:49:39 +0000 (21:49 +0000)]
provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)

21 years agokeep track of if the move is the final move or not, and pass it along
Dana Jansens [Mon, 17 Feb 2003 21:48:54 +0000 (21:48 +0000)]
keep track of if the move is the final move or not, and pass it along

21 years agofocus does not return anything now, cuz its just the function which sends a focus...
Dana Jansens [Mon, 17 Feb 2003 21:48:14 +0000 (21:48 +0000)]
focus does not return anything now, cuz its just the function which sends a focus event

21 years agoscreeninfo and display are no more
Dana Jansens [Mon, 17 Feb 2003 21:47:48 +0000 (21:47 +0000)]
screeninfo and display are no more

21 years agouse the new sexy additions to the python classes
Dana Jansens [Mon, 17 Feb 2003 21:47:34 +0000 (21:47 +0000)]
use the new sexy additions to the python classes

21 years agoset teh xinerama stuff even when not compiled with the xinerama extension so code...
Dana Jansens [Mon, 17 Feb 2003 21:47:09 +0000 (21:47 +0000)]
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always

21 years agoswig cares about (void) it seems :\
Dana Jansens [Mon, 17 Feb 2003 21:46:34 +0000 (21:46 +0000)]
swig cares about (void) it seems :\

21 years agocalcDefaultSizes is protected
Dana Jansens [Mon, 17 Feb 2003 21:45:58 +0000 (21:45 +0000)]
calcDefaultSizes is protected

21 years agouse "fixed" as the fallback font always
Dana Jansens [Mon, 17 Feb 2003 21:45:38 +0000 (21:45 +0000)]
use "fixed" as the fallback font always

21 years agorename getRenderControl to the more precise createRenderControl
Dana Jansens [Mon, 17 Feb 2003 21:45:17 +0000 (21:45 +0000)]
rename getRenderControl to the more precise createRenderControl

21 years agonelements is not passed anymore, its simply a return value. get() will grab the entir...
Dana Jansens [Mon, 17 Feb 2003 21:44:39 +0000 (21:44 +0000)]
nelements is not passed anymore, its simply a return value. get() will grab the entire property.

21 years agonelements is not passed anymore, its simply a return value
Dana Jansens [Mon, 17 Feb 2003 21:44:10 +0000 (21:44 +0000)]
nelements is not passed anymore, its simply a return value

21 years ago'final' cleanup for the new otk wrapper .i's
Dana Jansens [Mon, 17 Feb 2003 21:27:07 +0000 (21:27 +0000)]
'final' cleanup for the new otk wrapper .i's

21 years agosplit up the otk stuff into separate files.
Dana Jansens [Mon, 17 Feb 2003 21:25:52 +0000 (21:25 +0000)]
split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable.
wrap otk::Timer properly so that you can use it with a python callback

21 years agoonly return as many as was requested
Dana Jansens [Mon, 17 Feb 2003 21:06:39 +0000 (21:06 +0000)]
only return as many as was requested

21 years agooops nevermind
Dana Jansens [Mon, 17 Feb 2003 20:18:34 +0000 (20:18 +0000)]
oops nevermind

21 years agoprevent people from using timers except as pointers
Dana Jansens [Mon, 17 Feb 2003 20:02:43 +0000 (20:02 +0000)]
prevent people from using timers except as pointers

21 years agocheck for no screens before asserting
Dana Jansens [Mon, 17 Feb 2003 19:17:17 +0000 (19:17 +0000)]
check for no screens before asserting

21 years agoignore NUM values in enums
Dana Jansens [Mon, 17 Feb 2003 17:39:34 +0000 (17:39 +0000)]
ignore NUM values in enums

21 years agodont need preprocessor shit for swig
Dana Jansens [Mon, 17 Feb 2003 17:39:22 +0000 (17:39 +0000)]
dont need preprocessor shit for swig

21 years agoallocate colors right away instead of delaying it, since they get allocated out of...
Dana Jansens [Mon, 17 Feb 2003 16:36:35 +0000 (16:36 +0000)]
allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail.

21 years agoremove some include/import we dont need.
Dana Jansens [Mon, 17 Feb 2003 15:49:56 +0000 (15:49 +0000)]
remove some include/import we dont need.
include all the headers we do need before each code fragment

21 years agosplit the ob module into separate .i's
Dana Jansens [Mon, 17 Feb 2003 15:42:31 +0000 (15:42 +0000)]
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)

21 years agoadd support for the openbox_restack_window message.
Dana Jansens [Mon, 17 Feb 2003 15:11:03 +0000 (15:11 +0000)]
add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms

21 years agothis has been moved to wrap/
Dana Jansens [Mon, 17 Feb 2003 15:10:16 +0000 (15:10 +0000)]
this has been moved to wrap/

21 years agoadd openbox_restack_window, and the state_add/remove/toggle values
Dana Jansens [Mon, 17 Feb 2003 15:10:02 +0000 (15:10 +0000)]
add openbox_restack_window, and the state_add/remove/toggle values

21 years agos/False/false/
Dana Jansens [Mon, 17 Feb 2003 13:42:01 +0000 (13:42 +0000)]
s/False/false/

21 years agorm the SWIG ifdefs
Dana Jansens [Mon, 17 Feb 2003 12:46:55 +0000 (12:46 +0000)]
rm the SWIG ifdefs

21 years agokill the typedef
Dana Jansens [Mon, 17 Feb 2003 12:46:32 +0000 (12:46 +0000)]
kill the typedef

21 years ago80 cols
Dana Jansens [Mon, 17 Feb 2003 11:50:18 +0000 (11:50 +0000)]
80 cols

21 years agoreturn a Python list of Client*'s when a std::list<Client*> is returned
Dana Jansens [Mon, 17 Feb 2003 11:49:35 +0000 (11:49 +0000)]
return a Python list of Client*'s when a std::list<Client*> is returned

21 years agoallow cycling without a modifier in the binding
Dana Jansens [Mon, 17 Feb 2003 11:48:35 +0000 (11:48 +0000)]
allow cycling without a modifier in the binding

21 years agodefualt START_WITH_NEXT to true for desktops too
Dana Jansens [Sun, 16 Feb 2003 23:43:31 +0000 (23:43 +0000)]
defualt START_WITH_NEXT to true for desktops too

21 years agoadd the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!
Dana Jansens [Sun, 16 Feb 2003 23:14:30 +0000 (23:14 +0000)]
add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!

21 years agosupport for pixmap icons, kwm_win_icon and the icon in wmhints
Dana Jansens [Sun, 16 Feb 2003 21:57:21 +0000 (21:57 +0000)]
support for pixmap icons, kwm_win_icon and the icon in wmhints

21 years agokeep track of the kwm_win_icon property
Dana Jansens [Sun, 16 Feb 2003 20:11:02 +0000 (20:11 +0000)]
keep track of the kwm_win_icon property

21 years agoadd the kwm_win_icon atom
Dana Jansens [Sun, 16 Feb 2003 20:04:19 +0000 (20:04 +0000)]
add the kwm_win_icon atom

21 years agocleanup
Dana Jansens [Sun, 16 Feb 2003 19:48:54 +0000 (19:48 +0000)]
cleanup

21 years agosupply more information about errors when running scripts
Dana Jansens [Sun, 16 Feb 2003 18:16:55 +0000 (18:16 +0000)]
supply more information about errors when running scripts

21 years agoadjust how the config is loaded. it is not loaded at all during the screen's construc...
Dana Jansens [Sun, 16 Feb 2003 18:14:05 +0000 (18:14 +0000)]
adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed

21 years agoorder things to work correctly for now, with the python loading and the the config...
Dana Jansens [Sun, 16 Feb 2003 18:09:06 +0000 (18:09 +0000)]
order things to work correctly for now, with the python loading and the the config setting

21 years agochange the default titlebar layout
Dana Jansens [Sun, 16 Feb 2003 17:18:54 +0000 (17:18 +0000)]
change the default titlebar layout

21 years agomake them const
Dana Jansens [Sun, 16 Feb 2003 16:37:02 +0000 (16:37 +0000)]
make them const

21 years agoprovide == and != for DialogButtons
Dana Jansens [Sun, 16 Feb 2003 16:36:07 +0000 (16:36 +0000)]
provide == and != for DialogButtons

21 years agoexecute files such that i can track if an exception was thrown in it
Dana Jansens [Sun, 16 Feb 2003 16:33:37 +0000 (16:33 +0000)]
execute files such that i can track if an exception was thrown in it

21 years agowhen python_exec fails on user.py:
Dana Jansens [Sun, 16 Feb 2003 16:33:12 +0000 (16:33 +0000)]
when python_exec fails on user.py:
  a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message

21 years agoimport the config module properly.
Dana Jansens [Sun, 16 Feb 2003 16:32:21 +0000 (16:32 +0000)]
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded

21 years agodont wrap pointerassassin
Dana Jansens [Sun, 16 Feb 2003 16:31:40 +0000 (16:31 +0000)]
dont wrap pointerassassin

21 years agoset the gravity to center the dialog.
Dana Jansens [Sun, 16 Feb 2003 16:24:01 +0000 (16:24 +0000)]
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto

21 years agoonly fire the clickHandler if the button is released with the cursor over it
Dana Jansens [Sun, 16 Feb 2003 15:54:23 +0000 (15:54 +0000)]
only fire the clickHandler if the button is released with the cursor over it

21 years agorm the warnings for now
Dana Jansens [Sun, 16 Feb 2003 13:59:28 +0000 (13:59 +0000)]
rm the warnings for now

21 years agomake DialogButtons take char*'s meaning that the label will always be Utf-8
Dana Jansens [Sun, 16 Feb 2003 12:30:34 +0000 (12:30 +0000)]
make DialogButtons take char*'s meaning that the label will always be Utf-8

21 years agoonly hide the dialog if a default button exists when enter is hit
Dana Jansens [Sun, 16 Feb 2003 12:25:42 +0000 (12:25 +0000)]
only hide the dialog if a default button exists when enter is hit

21 years agolet you .focus() a messagedialog
Dana Jansens [Sun, 16 Feb 2003 12:23:35 +0000 (12:23 +0000)]
let you .focus() a messagedialog

21 years agoonly show() if the dialog is not already visible
Dana Jansens [Sun, 16 Feb 2003 12:20:10 +0000 (12:20 +0000)]
only show() if the dialog is not already visible

21 years agoadd otk::MessageDialog
Dana Jansens [Sun, 16 Feb 2003 11:59:12 +0000 (11:59 +0000)]
add otk::MessageDialog

21 years agouse the current size, which will get capped by max/mins
Dana Jansens [Sun, 16 Feb 2003 11:48:43 +0000 (11:48 +0000)]
use the current size, which will get capped by max/mins

21 years agodont forget borders/bevels
Dana Jansens [Sun, 16 Feb 2003 11:39:54 +0000 (11:39 +0000)]
dont forget borders/bevels

21 years agostill draw the background when no text will fit
Dana Jansens [Sun, 16 Feb 2003 10:05:29 +0000 (10:05 +0000)]
still draw the background when no text will fit

21 years agoset the style
Dana Jansens [Sun, 16 Feb 2003 09:37:21 +0000 (09:37 +0000)]
set the style

21 years agoput the desktop names in the right variable
Dana Jansens [Sun, 16 Feb 2003 09:08:34 +0000 (09:08 +0000)]
put the desktop names in the right variable

21 years agocleaner while loop
Dana Jansens [Sun, 16 Feb 2003 08:03:49 +0000 (08:03 +0000)]
cleaner while loop

21 years agoFixed a bug in grab handling for chains
Derek Foreman [Sun, 16 Feb 2003 06:55:11 +0000 (06:55 +0000)]
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)

21 years agodont provide a default icon in the python stuff, itll come from the style
Dana Jansens [Sat, 15 Feb 2003 12:47:05 +0000 (12:47 +0000)]
dont provide a default icon in the python stuff, itll come from the style

21 years agoinitialize _font
Dana Jansens [Sat, 15 Feb 2003 12:46:40 +0000 (12:46 +0000)]
initialize _font

21 years agoAdd the "obsetroot" tool. Use it to set the root background.
Dana Jansens [Fri, 14 Feb 2003 23:05:59 +0000 (23:05 +0000)]
Add the "obsetroot" tool. Use it to set the root background.

21 years agorm shit that no longer applies
Dana Jansens [Fri, 14 Feb 2003 22:53:24 +0000 (22:53 +0000)]
rm shit that no longer applies

21 years agouse ctdio
Dana Jansens [Fri, 14 Feb 2003 21:51:54 +0000 (21:51 +0000)]
use ctdio

21 years agosync before changing the ignore_errors state
Dana Jansens [Fri, 14 Feb 2003 20:05:47 +0000 (20:05 +0000)]
sync before changing the ignore_errors state

21 years agomake reduceDepth set the im->data member, with newly allocated data, so the pixelData...
Dana Jansens [Fri, 14 Feb 2003 19:18:19 +0000 (19:18 +0000)]
make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced

21 years agocheck if the window is focused before unfocusing it
Dana Jansens [Fri, 14 Feb 2003 18:31:52 +0000 (18:31 +0000)]
check if the window is focused before unfocusing it

21 years agouse the same alogo to pick a color in allocateColor as in reduceDepth, break it off...
Dana Jansens [Fri, 14 Feb 2003 17:13:26 +0000 (17:13 +0000)]
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.

21 years agojust because we think we're focused doesnt mean we actually are, so send the focus...
Dana Jansens [Fri, 14 Feb 2003 11:09:01 +0000 (11:09 +0000)]
just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.

21 years agobetter default icon, same thing, placed better
Dana Jansens [Fri, 14 Feb 2003 10:24:54 +0000 (10:24 +0000)]
better default icon, same thing, placed better

21 years agouse an icon smaller than the surface if possible
Dana Jansens [Fri, 14 Feb 2003 08:47:37 +0000 (08:47 +0000)]
use an icon smaller than the surface if possible

21 years agokill debug prints
Dana Jansens [Fri, 14 Feb 2003 08:20:54 +0000 (08:20 +0000)]
kill debug prints

21 years agoallocate colors in pseudocolor from the map we allocate in the rendercontrol
Dana Jansens [Fri, 14 Feb 2003 08:01:44 +0000 (08:01 +0000)]
allocate colors in pseudocolor from the map we allocate in the rendercontrol

21 years agodont put DEBUG: in the printf
Dana Jansens [Fri, 14 Feb 2003 06:22:29 +0000 (06:22 +0000)]
dont put DEBUG: in the printf