dana/openbox.git
22 years agouse the new desktopNames()
Dana Jansens [Wed, 19 Feb 2003 00:56:06 +0000 (00:56 +0000)]
use the new desktopNames()

22 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

22 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

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

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

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

22 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

22 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

22 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

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

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

22 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

22 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

22 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

22 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

22 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

22 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 :\

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

22 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

22 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

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

22 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

22 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

22 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

22 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

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

22 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

22 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

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

22 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

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

22 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

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

22 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

22 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/

22 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

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

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

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

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

22 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

22 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

22 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

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

22 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

22 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

22 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

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

22 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

22 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

22 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

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

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

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

22 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

22 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

22 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

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

22 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

22 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

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

22 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

22 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

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

22 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

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

22 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

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

22 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

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

22 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

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

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

22 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

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

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

22 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

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

22 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

22 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

22 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

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

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

22 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

22 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

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

22 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

22 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

22 years agoadd a default icon
Dana Jansens [Fri, 14 Feb 2003 05:48:31 +0000 (05:48 +0000)]
add a default icon

22 years agorm debug print
Dana Jansens [Fri, 14 Feb 2003 03:44:00 +0000 (03:44 +0000)]
rm debug print

22 years agolayout the titlebar right, was adding too much space when buttons were removed from...
Dana Jansens [Fri, 14 Feb 2003 03:13:26 +0000 (03:13 +0000)]
layout the titlebar right, was adding too much space when buttons were removed from the titlebar

22 years agoadd a Config class with config data from the scripts.
Dana Jansens [Fri, 14 Feb 2003 03:04:23 +0000 (03:04 +0000)]
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.

22 years ago8bpp pseudo color. it's horrid code. the graphics are horrid.
Derek Foreman [Fri, 14 Feb 2003 01:49:27 +0000 (01:49 +0000)]
8bpp pseudo color.  it's horrid code.  the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(

22 years agoput the Python.h header in the .cc
Dana Jansens [Thu, 13 Feb 2003 23:44:47 +0000 (23:44 +0000)]
put the Python.h header in the .cc

22 years agoonly keep fullscreen windows in the top layer when they or a relative is focused
Dana Jansens [Thu, 13 Feb 2003 23:44:32 +0000 (23:44 +0000)]
only keep fullscreen windows in the top layer when they or a relative is focused

22 years agoscale images down to the available surface size
Dana Jansens [Thu, 13 Feb 2003 22:45:11 +0000 (22:45 +0000)]
scale images down to the available surface size

22 years agodon use gradient for titlebar.. waste of cycles
Dana Jansens [Thu, 13 Feb 2003 10:38:04 +0000 (10:38 +0000)]
don use gradient for titlebar.. waste of cycles

22 years ago| NOT & YOU BASTARD
Dana Jansens [Thu, 13 Feb 2003 10:30:17 +0000 (10:30 +0000)]
| NOT & YOU BASTARD

22 years agodisplay icons in the frame titlebar!
Dana Jansens [Thu, 13 Feb 2003 10:23:22 +0000 (10:23 +0000)]
display icons in the frame titlebar!

22 years agorender images properly, minus the scaling
Dana Jansens [Thu, 13 Feb 2003 10:19:25 +0000 (10:19 +0000)]
render images properly, minus the scaling