]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
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

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

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

21 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

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

21 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. :(

21 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

21 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

21 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

21 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

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

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

21 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

21 years agouncomment the _NET_WM_ICON property
Dana Jansens [Thu, 13 Feb 2003 07:42:33 +0000 (07:42 +0000)]
uncomment the _NET_WM_ICON property

21 years agodoc _layer.
Dana Jansens [Thu, 13 Feb 2003 07:38:45 +0000 (07:38 +0000)]
doc _layer.
add an Icon struct

21 years agonotify the frame when the desktop changes
Dana Jansens [Thu, 13 Feb 2003 07:35:25 +0000 (07:35 +0000)]
notify the frame when the desktop changes

21 years agoshow state with the alldesktops and max buttons
Dana Jansens [Thu, 13 Feb 2003 07:32:30 +0000 (07:32 +0000)]
show state with the alldesktops and max buttons

21 years agobuttons press!
Dana Jansens [Thu, 13 Feb 2003 07:30:11 +0000 (07:30 +0000)]
buttons press!

21 years agoreadd titlebar buttons. but they dont press yet
Dana Jansens [Thu, 13 Feb 2003 07:18:11 +0000 (07:18 +0000)]
readd titlebar buttons. but they dont press yet

21 years agorm a stupid bb format
Dana Jansens [Thu, 13 Feb 2003 05:18:41 +0000 (05:18 +0000)]
rm a stupid bb format

21 years agoadd _created
Dana Jansens [Thu, 13 Feb 2003 05:15:17 +0000 (05:15 +0000)]
add _created

21 years agoonly free allocated colors
Dana Jansens [Thu, 13 Feb 2003 05:12:01 +0000 (05:12 +0000)]
only free allocated colors

21 years agoborked the build
Dana Jansens [Thu, 13 Feb 2003 05:11:39 +0000 (05:11 +0000)]
borked the build

21 years agofree the colors on shutdown
Dana Jansens [Thu, 13 Feb 2003 05:07:25 +0000 (05:07 +0000)]
free the colors on shutdown

21 years agono segfault plz tnx
Dana Jansens [Thu, 13 Feb 2003 04:54:54 +0000 (04:54 +0000)]
no segfault plz tnx

21 years agoonly store what we need to in the class
Dana Jansens [Thu, 13 Feb 2003 04:52:08 +0000 (04:52 +0000)]
only store what we need to in the class

21 years agoalloc colors only when needed, and free them properly on destruction
Dana Jansens [Thu, 13 Feb 2003 04:50:57 +0000 (04:50 +0000)]
alloc colors only when needed, and free them properly on destruction

21 years agoclear the stringlist before populating it
Dana Jansens [Thu, 13 Feb 2003 04:37:41 +0000 (04:37 +0000)]
clear the stringlist before populating it

21 years agoproper order for headers
Dana Jansens [Wed, 12 Feb 2003 06:49:06 +0000 (06:49 +0000)]
proper order for headers

21 years agomove comment
Dana Jansens [Wed, 12 Feb 2003 06:20:48 +0000 (06:20 +0000)]
move comment

21 years agoonly store what we need to in the class
Dana Jansens [Wed, 12 Feb 2003 06:18:28 +0000 (06:18 +0000)]
only store what we need to in the class

21 years agoalloc colors.. i think!
Dana Jansens [Wed, 12 Feb 2003 06:14:25 +0000 (06:14 +0000)]
alloc colors.. i think!

21 years agoadd mising ()s
Dana Jansens [Wed, 12 Feb 2003 01:22:51 +0000 (01:22 +0000)]
add mising ()s

21 years agomore efficient/nicer way to get the XColor values
Dana Jansens [Wed, 12 Feb 2003 01:22:31 +0000 (01:22 +0000)]
more efficient/nicer way to get the XColor values

21 years agostart of pseudo init
Dana Jansens [Wed, 12 Feb 2003 01:14:02 +0000 (01:14 +0000)]
start of pseudo init

21 years agostart of pseudocolor init
Dana Jansens [Wed, 12 Feb 2003 01:12:34 +0000 (01:12 +0000)]
start of pseudocolor init