Commit graph

612 commits

Author SHA1 Message Date
Dana Jansens
41bdbec9c6 set CXXFLAGS better 2002-12-25 20:28:12 +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
3827c1a76e python with callbacks! 2002-12-25 02:19:49 +00:00
Dana Jansens
f9107b5c5a use the -I's in CFLAGS for swig 2002-12-25 02:05:39 +00:00
Dana Jansens
27193f659d define the openbox variable 2002-12-25 00:30:01 +00:00
Dana Jansens
375156c112 *** empty log message *** 2002-12-25 00:27:10 +00:00
Dana Jansens
efc875f5f2 return a NULL instead of segfaulting when asserts are off 2002-12-25 00:26:54 +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
2e273ae3ac removing old python bullshit 2002-12-24 19:20:17 +00:00
Dana Jansens
fe55bb846d python interface is working! 2002-12-24 19:16:38 +00:00
Dana Jansens
fdd5338fc1 correctly remove client borders when mapping a window with NW gravity 2002-12-24 08:28:03 +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
925048fedf incref the Py_None before returning it 2002-12-21 12:19:29 +00:00
Dana Jansens
68194ce957 update to cleaned up otk api 2002-12-20 15:38:49 +00:00
Dana Jansens
711d4a342f more typesafety 2002-12-20 14:47:23 +00:00
Dana Jansens
b12b1cb784 be a little more typesafe 2002-12-20 14:46:22 +00:00
Dana Jansens
82f4efb4e2 make the root window an obwidget type 2002-12-20 14:44:20 +00:00
Dana Jansens
506b5dbf6f segfault no more on root clicks 2002-12-20 14:42:21 +00:00
Dana Jansens
700984bd15 python has begun! 2002-12-19 23:54:41 +00:00
Dana Jansens
977ecf1f1e link in python not guile 2002-12-19 20:55:23 +00:00
Dana Jansens
9e0ae7ecee resizing works and whatnot 2002-12-19 07:58:54 +00:00
Dana Jansens
38f8155bf5 can resize now too. compress motion events. 2002-12-18 16:31:16 +00:00
Dana Jansens
732bfd191d you can move windows! 2002-12-18 16:07:44 +00:00
Dana Jansens
f4e2fc3274 guileize 2002-12-18 15:49:41 +00:00
Dana Jansens
83727b8e64 oops adding the other OB Widgets 2002-12-18 11:35:26 +00:00
Dana Jansens
77a8e11660 can tell where events are coming from! 2002-12-18 11:34:29 +00:00
Dana Jansens
25d1e3538b use OB Widgets for everything 2002-12-18 09:46:24 +00:00
Dana Jansens
70eb03ad50 add an OBBackgroundWidget and use it for setting colors so far. 2002-12-18 02:28:44 +00:00
Dana Jansens
699de0368c store the delta x/y for a motion sequence 2002-12-05 13:52:10 +00:00
Dana Jansens
52cb7bd11e PROPERLY HANDLE CLIENT BORDERS
PROPERLY HANDLE CLIENT GRAVITY
YES!#%&*#!#!
windows can be moved/resized now (and the frame will play along)!
2002-12-05 13:45:00 +00:00
Dana Jansens
4e0b5fdef4 some cleanups
make the OBActions instance not static
2002-12-04 11:50:20 +00:00
Dana Jansens
772ff27864 keep a queue of press/releases and the positions, so that the first motion event already has a position to base off of, so it is not lost!! 2002-12-04 10:06:35 +00:00
Dana Jansens
143d2df034 handle mouse motion too 2002-12-04 09:01:55 +00:00
Dana Jansens
a21c0c55ca handle keyboard input 2002-12-04 08:47:57 +00:00
Dana Jansens
73f7a0bd69 enter/leave actions work! 2002-12-04 08:30:32 +00:00
Dana Jansens
559a0c67a7 remove temp include 2002-12-04 08:30:19 +00:00
Dana Jansens
90ae66cc44 better double click processing 2002-12-04 08:12:09 +00:00
Dana Jansens
0a15728be4 simple change in initialization 2002-12-04 07:58:51 +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
4f01802c8c actions class can sorta handle mouse enter/leave and press/release events 2002-12-04 07:12:13 +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
fa05dc56ea give the grips cursors 2002-12-04 03:47:59 +00:00
Dana Jansens
bdc491ccfe map and unmap work great now yay 2002-12-04 01:29:01 +00:00