mikachu/openbox.git
19 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

19 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

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

19 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

19 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

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

19 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

19 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

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

19 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

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

19 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

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

19 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

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

19 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

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

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

19 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

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

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

19 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

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

19 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

19 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

19 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

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

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

19 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

19 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

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

19 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

19 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

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

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

19 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

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

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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

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

19 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

19 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

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

19 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

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

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

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

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

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

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

19 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

19 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

19 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

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

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

19 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

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

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

19 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

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

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

19 years agomove printf..
Dana Jansens [Wed, 12 Feb 2003 00:42:19 +0000 (00:42 +0000)]
move printf..

19 years agouse the frame's area() properly
Dana Jansens [Wed, 12 Feb 2003 00:40:25 +0000 (00:40 +0000)]
use the frame's area() properly

19 years agouse the frame's area not the client's
Dana Jansens [Wed, 12 Feb 2003 00:39:15 +0000 (00:39 +0000)]
use the frame's area not the client's

19 years agokill all the old commented vars in rendercontrol.hh
Dana Jansens [Wed, 12 Feb 2003 00:34:22 +0000 (00:34 +0000)]
kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh

19 years agomake all the rendering code in RenderControl. use true/pseudo RenderControl classes...
Dana Jansens [Wed, 12 Feb 2003 00:27:32 +0000 (00:27 +0000)]
make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth.

19 years agocan draw icons in truecolor!
Dana Jansens [Wed, 12 Feb 2003 00:10:45 +0000 (00:10 +0000)]
can draw icons in truecolor!

19 years agoincrement x
Dana Jansens [Wed, 12 Feb 2003 00:03:18 +0000 (00:03 +0000)]
increment x

19 years agostart on the rendering images code
Dana Jansens [Tue, 11 Feb 2003 23:58:33 +0000 (23:58 +0000)]
start on the rendering images code

19 years agofree the surfaces' pixeldata after rendering it
Dana Jansens [Tue, 11 Feb 2003 22:38:29 +0000 (22:38 +0000)]
free the surfaces' pixeldata after rendering it

19 years agoadd skeleton for RenderControl::drawImage
Dana Jansens [Tue, 11 Feb 2003 22:17:02 +0000 (22:17 +0000)]
add skeleton for RenderControl::drawImage

19 years agoadd RenderControl::drawMask
Dana Jansens [Tue, 11 Feb 2003 22:10:50 +0000 (22:10 +0000)]
add RenderControl::drawMask

19 years agostore the pixel32 data in the surface so it can be reused
Dana Jansens [Tue, 11 Feb 2003 21:50:06 +0000 (21:50 +0000)]
store the pixel32 data in the surface so it can be reused

19 years agonew key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak...
Dana Jansens [Tue, 11 Feb 2003 21:05:50 +0000 (21:05 +0000)]
new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot

19 years agoadd ABOUT-NLS
Dana Jansens [Tue, 11 Feb 2003 20:22:47 +0000 (20:22 +0000)]
add ABOUT-NLS

19 years agoproper check for modifiers being released, not caring about added.
Dana Jansens [Tue, 11 Feb 2003 20:21:38 +0000 (20:21 +0000)]
proper check for modifiers being released, not caring about added.

19 years agoadd a comment regarding the client.area() being not-what-you-want
Dana Jansens [Tue, 11 Feb 2003 20:20:01 +0000 (20:20 +0000)]
add a comment regarding the client.area() being not-what-you-want

19 years agoadd the icons app
Dana Jansens [Tue, 11 Feb 2003 13:17:19 +0000 (13:17 +0000)]
add the icons app

19 years agomake the icons program a C app.
Dana Jansens [Tue, 11 Feb 2003 13:17:07 +0000 (13:17 +0000)]
make the icons program a C app.

19 years agoadd an app to display the icons for a window
Dana Jansens [Tue, 11 Feb 2003 13:08:56 +0000 (13:08 +0000)]
add an app to display the icons for a window

19 years agomake stacked cycling work without a modifier-key binding, i think. cleaner checking...
Dana Jansens [Tue, 11 Feb 2003 09:52:24 +0000 (09:52 +0000)]
make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle.

19 years agobetter include_icons selection, add INCLUDE_ICONS_ALL_DESKTOPS
Dana Jansens [Tue, 11 Feb 2003 07:12:27 +0000 (07:12 +0000)]
better include_icons selection, add INCLUDE_ICONS_ALL_DESKTOPS

19 years agoprovide access to the desktop names
Dana Jansens [Mon, 10 Feb 2003 23:28:56 +0000 (23:28 +0000)]
provide access to the desktop names

19 years agoinclude the desktop name if cycling on all desktops is enabled
Dana Jansens [Mon, 10 Feb 2003 23:28:30 +0000 (23:28 +0000)]
include the desktop name if cycling on all desktops is enabled

19 years agochange the exception message
Dana Jansens [Mon, 10 Feb 2003 23:23:56 +0000 (23:23 +0000)]
change the exception message

19 years agoremove unused apply
Dana Jansens [Mon, 10 Feb 2003 23:04:26 +0000 (23:04 +0000)]
remove unused apply

19 years agoadd W-d to toggle show-desktop-mode by default
Dana Jansens [Mon, 10 Feb 2003 23:03:39 +0000 (23:03 +0000)]
add W-d to toggle show-desktop-mode by default

19 years agoadd callbacks to show/hide the desktop
Dana Jansens [Mon, 10 Feb 2003 23:03:02 +0000 (23:03 +0000)]
add callbacks to show/hide the desktop

19 years agoinitialize the net_showing_desktop hint
Dana Jansens [Mon, 10 Feb 2003 22:49:46 +0000 (22:49 +0000)]
initialize the net_showing_desktop hint

19 years agomake some of otk::property work
Dana Jansens [Mon, 10 Feb 2003 22:45:23 +0000 (22:45 +0000)]
make some of otk::property work

19 years agomore user friendly net_showing_desktop support
Dana Jansens [Mon, 10 Feb 2003 22:17:40 +0000 (22:17 +0000)]
more user friendly net_showing_desktop support

19 years agosmarter focus restoring
Dana Jansens [Mon, 10 Feb 2003 17:01:32 +0000 (17:01 +0000)]
smarter focus restoring

19 years agofocus the desktop when entering show-desktop-mode, and refocus what was focused befor...
Dana Jansens [Mon, 10 Feb 2003 17:00:34 +0000 (17:00 +0000)]
focus the desktop when entering show-desktop-mode, and refocus what was focused before when leaving