Dana Jansens
d7a30f93b5
so close to keybindings. wont link for now.
2002-12-30 22:27:46 +00:00
Dana Jansens
db1fb534b8
bindings work again. yay
2002-12-30 21:10:13 +00:00
Dana Jansens
5f8e2b75fa
more debug output changes
2002-12-30 20:55:33 +00:00
Dana Jansens
509e6a8f43
fucked up shit
2002-12-30 20:41:33 +00:00
Dana Jansens
d4853f108c
all broken now. working on adding mouse binding support
2002-12-30 16:42:15 +00:00
Dana Jansens
35c3e996b5
the bindings tree might work now
2002-12-30 07:33:13 +00:00
Dana Jansens
78a8588126
nicer output
2002-12-30 06:46:19 +00:00
Dana Jansens
98c4b4cfe5
keybindings underway. dont work yet
2002-12-30 06:31:45 +00:00
Dana Jansens
51f8b875b3
flush before waiting for timers
2002-12-27 08:30:38 +00:00
Dana Jansens
2ae2b257d3
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
2002-12-25 22:02:34 +00:00
Dana Jansens
0816364a03
handle mouse clicks in the python scripts now
2002-12-25 05:46:02 +00:00
Dana Jansens
b34824a4e2
global python scripts. client motion/resizing is all done via python now
2002-12-25 04:54:44 +00:00
Dana Jansens
27193f659d
define the openbox variable
2002-12-25 00:30:01 +00:00
Dana Jansens
bcb8de973a
const cast to the python function
2002-12-25 00:00:03 +00:00
Dana Jansens
053bb2d100
rm the old guile stuff. let the user specify the path for the startup script. dont hardcode it to my home dir.
2002-12-24 23:57:59 +00:00
Dana Jansens
70aa4b20d9
dont try import shit for now it dont work
2002-12-24 23:49:00 +00:00
Dana Jansens
bf49e76420
python. no more guile. python.
2002-12-24 23:31:38 +00:00
Dana Jansens
5f78b51429
using python and swig for now.
2002-12-23 00:04:32 +00:00
Dana Jansens
3cf5a8b6dd
remove python from our c++ objects. going to try out swig
2002-12-22 08:49:59 +00:00
Dana Jansens
68194ce957
update to cleaned up otk api
2002-12-20 15:38:49 +00:00
Dana Jansens
b12b1cb784
be a little more typesafe
2002-12-20 14:46:22 +00:00
Dana Jansens
700984bd15
python has begun!
2002-12-19 23:54:41 +00:00
Dana Jansens
4e0b5fdef4
some cleanups
...
make the OBActions instance not static
2002-12-04 11:50:20 +00:00
Dana Jansens
56d7b547ae
button press/releases WORK
2002-12-04 07:55:52 +00:00
Dana Jansens
925262bee2
erase from the map more efficiently
2002-12-04 07:34:09 +00:00
Dana Jansens
23a7f18829
add a skeletal OBActions class for user actions
2002-12-04 04:11:24 +00:00
Dana Jansens
24924367f9
put a header where it belongs
2002-12-04 04:02:46 +00:00
Dana Jansens
bdc491ccfe
map and unmap work great now yay
2002-12-04 01:29:01 +00:00
Dana Jansens
1fa445c880
handle configure requests
2002-12-04 00:26:45 +00:00
Dana Jansens
a77f0fb344
handle map requests with the root window class
2002-12-02 23:03:41 +00:00
Dana Jansens
74cb09bb2c
handle map events with the Openbox class
2002-12-02 21:06:16 +00:00
Dana Jansens
fb3848450e
window decorations use "unmanaged" widgets now.
2002-12-01 11:45:55 +00:00
Dana Jansens
24dd636f73
watch for when screens cant be managed
2002-11-11 10:41:44 +00:00
Dana Jansens
e503323dcf
HRM manageExisting() isnt working!
2002-11-11 10:35:59 +00:00
Dana Jansens
06a80ce2c7
manage and unmanage windows in OBScreen
2002-11-11 10:26:08 +00:00
Dana Jansens
cee3052446
not using any old blackbox classes anymore!
2002-11-11 10:05:06 +00:00
Dana Jansens
b067510b61
cleanups.
...
OBScreen almost ready for some action
2002-11-10 12:20:29 +00:00
Dana Jansens
0b17bd83c7
add \n's to the signal printfs
...
make the hash of all clients destroy properly
2002-11-10 08:34:46 +00:00
Dana Jansens
f257e4b079
position the client inside the frame correctly.
...
unmanage all clients on shutdown
2002-11-10 04:26:36 +00:00
Dana Jansens
d363f720a6
fix compiling with the new strut (new namespace)
...
and fix general errors that broke compiling.
make xeventhandler find the OBClient for most events..
2002-11-06 08:06:54 +00:00
Dana Jansens
c9f36d34a4
finish conversion to the new otk::OBProperty class with its new interface
2002-11-05 09:13:46 +00:00
Dana Jansens
c3946be073
initialize the _doshutdown member
2002-11-04 09:43:42 +00:00
Dana Jansens
45c2589ef6
xeventhandler can handle everything except client messages now.
...
blackbox is no longer the event handler
2002-11-04 09:25:26 +00:00
Dana Jansens
d4d89ce0bb
documenting classes!
2002-11-04 03:37:17 +00:00
Dana Jansens
ad80ef0f66
make it shutdown on signals
2002-11-03 12:58:17 +00:00
Dana Jansens
373de009f7
new timers, timer manager
2002-11-03 12:48:10 +00:00
Dana Jansens
ace8c8896a
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
2002-11-03 11:46:05 +00:00
Dana Jansens
8794d357e6
import from bb-cvs
...
added slit and enable-clobber defines back in Makefile.am
2002-05-25 00:29:44 +00:00
Dana Jansens
a85c9a7c6e
added XAtom class, and it all now compiles.
2002-05-23 14:53:06 +00:00
Dana Jansens
67b4df1eff
merge the sticky window fix from 1.2.
2002-05-23 14:27:52 +00:00
Dana Jansens
ae3dc273c4
new i18n class using overloaded operator() instead of getMessage()
2002-05-16 22:35:59 +00:00
Dana Jansens
7f3d32e3dc
make auto-raise value load.
2002-05-16 07:52:13 +00:00
Dana Jansens
a3a23c28f0
moved menu from a rc file option to a command line option
2002-05-15 22:23:35 +00:00
Dana Jansens
878d57337f
update changelog.
...
removed a redundant var from BaseDisplay.
2002-05-14 23:30:22 +00:00
Dana Jansens
f75083669f
new version of bsetroot ported from blackbox cvs
2002-05-14 22:15:01 +00:00
Dana Jansens
f00ed578ba
new focus code! working better than ever!
2002-05-14 07:53:22 +00:00
Dana Jansens
d6c02ad70c
fix segfaut from uninitialized focused_screen pointer
2002-05-13 23:09:20 +00:00
Dana Jansens
6d16679486
focus code updates
2002-05-13 00:23:59 +00:00
Dana Jansens
30b899fc02
converted all of the openbox class LinkedLists to STL objects
2002-05-12 20:46:02 +00:00
Dana Jansens
098fae70a6
better gcc3 compat. using ostrstream again. and using namespace std;
...
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
2002-05-10 02:58:09 +00:00
Dana Jansens
5705ea3613
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late
2002-04-30 07:24:54 +00:00
Dana Jansens
f290e1c04c
save the titlebarLayout in the default config
2002-04-30 02:08:33 +00:00
Dana Jansens
4852193a57
properly handle placing a window while another window is still placing.
2002-04-28 19:09:25 +00:00
Dana Jansens
8ef0610e90
added ClickMouse window placement policy
2002-04-28 12:12:24 +00:00
Dana Jansens
981ed3081c
compile fix for --disable-slit
2002-04-20 20:01:26 +00:00
Dana Jansens
de7a567d5b
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.
2002-04-20 18:24:12 +00:00
Scott Moynes
62e1784161
fixed a memory leak for resource.titlebar_layout
2002-04-20 15:25:18 +00:00
Dana Jansens
7440ad2e6f
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)
2002-04-19 07:50:02 +00:00
Dana Jansens
4602d87180
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.
2002-04-18 03:00:12 +00:00
Dana Jansens
307da13fff
menus update their values when they are reconfigure()d.
...
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
2002-04-17 23:07:11 +00:00
Dana Jansens
9cd9d92bb1
configuration changes "done"!!
...
on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
2002-04-17 08:30:55 +00:00
Dana Jansens
66c879bd5c
Toolbar saves its settings as their changed
...
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
2002-04-17 03:44:09 +00:00
Dana Jansens
73a3c979b3
Slit loads its own settings and saves them as they are changed
...
added an assert in Resource
2002-04-16 23:50:53 +00:00
Scott Moynes
29fff5f56f
Added a runtime option for hiding the toolbar totally. Will be cleaner
...
later. Stay tuned.
2002-04-16 20:22:01 +00:00
Dana Jansens
113181910a
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.
2002-04-16 07:20:25 +00:00
Dana Jansens
251dd4034f
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
2002-04-16 06:25:00 +00:00
Dana Jansens
67e5cb217e
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
2002-04-16 05:55:10 +00:00
Dana Jansens
44e3582d5e
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
2002-04-14 18:48:32 +00:00
Dana Jansens
3dcebcf56c
Added Util.h, which contains only an ASSERT macro for now
2002-04-14 15:57:07 +00:00
Dana Jansens
ba6e2034e7
using a reference for Openbox instead of a pointer
2002-04-14 14:04:16 +00:00
Dana Jansens
72af8cea6a
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
2002-04-14 13:58:17 +00:00
Dana Jansens
351f1d0331
Using some references instead of pointers for the menus.
2002-04-14 11:37:22 +00:00
Dana Jansens
424d476f7c
added first revision of the BestFit placement type.
...
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
2002-04-14 01:11:51 +00:00
Dana Jansens
e17c54e3f8
removed all Xrm database calls from Screen.cc (style loading).
...
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h
2002-04-13 22:42:31 +00:00
Scott Moynes
a619b3d1c8
added symlinking. needs a little work.
2002-04-13 02:09:37 +00:00
Dana Jansens
456cf2d506
real_reconfigure now using obResource instead of teh XrmDatabase calls.
...
obResource class calls XrmInitialize().
2002-04-12 06:11:31 +00:00
Dana Jansens
8d3c97389f
save_rc() using the obResource class to save blackbox's configuration.
...
renamed BScreen::getCount to BScreen::getWorkspaceCount.
2002-04-12 06:05:04 +00:00
Dana Jansens
e532e9576b
changed the default edge-snap distance from 0 to 4. This way new users will see that the option is there for them to change.
2002-04-11 06:59:34 +00:00
Dana Jansens
6ea740cd0e
load_rc(BScreen *) now uses the obResource class to load its configuration
...
added a few consts in BScreen to be compatible with the new code.
reordered the compilation in src/ so that Resource.cc is in alphabetical order
2002-04-11 06:58:53 +00:00
Dana Jansens
17ef263859
load_rc() now uses the obResource class to load its configuration
2002-04-11 05:05:48 +00:00
Dana Jansens
dfc5f03458
Initial revision
2002-04-11 03:20:38 +00:00