Commit graph

56 commits

Author SHA1 Message Date
Dana Jansens
7fe3301e7e Add the "obsetroot" tool. Use it to set the root background. 2003-02-14 23:05:59 +00:00
Dana Jansens
059bc4dc24 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.
2003-02-14 03:04:23 +00:00
Dana Jansens
6ae8608aed make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle. 2003-02-11 09:52:24 +00:00
Dana Jansens
12108e16e1 keep track of struts for each desktop 2003-02-10 06:50:19 +00:00
Dana Jansens
115fedf432 use the c++ std cheaders 2003-02-09 23:07:54 +00:00
Dana Jansens
17b0266979 No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
2003-02-08 07:37:22 +00:00
Dana Jansens
d2df40965b compress motion events better 2003-02-07 09:39:04 +00:00
Dana Jansens
220b5c40f9 make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible. 2003-02-04 11:03:57 +00:00
Dana Jansens
7dbc6db043 remove a XXX 2003-02-03 07:44:54 +00:00
Dana Jansens
3b39804835 add a Release MouseAction for python hooks 2003-01-30 16:54:30 +00:00
Dana Jansens
997f94cf86 new/better/cleaner scripting interface 2003-01-25 16:36:55 +00:00
Dana Jansens
91c7e5c378 allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released 2003-01-24 07:37:26 +00:00
Dana Jansens
4c5671eeca remove unused old handlers 2003-01-23 12:10:57 +00:00
Dana Jansens
baaaed3dc1 add a drag threshold 2003-01-17 06:52:34 +00:00
Dana Jansens
b267261403 just return if a valid widget isnt found, racey to assert 2003-01-14 22:58:35 +00:00
Dana Jansens
cdcc526a02 use the new non-static display 2003-01-13 09:04:57 +00:00
Dana Jansens
9e77a88d26 move the Openbox::instance pointer to simply "openbox". 2003-01-13 08:13:58 +00:00
Dana Jansens
77ab46d1e3 removing all prefixes completed 2003-01-11 19:42:43 +00:00
Dana Jansens
e8f5cf2940 valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!! 2003-01-11 11:16:36 +00:00
Dana Jansens
3dde884d38 dont bother making a copy of the event to change its type 2003-01-10 19:31:44 +00:00
Dana Jansens
a0333b52d8 when i get a button press on the client window, i have to manufacture the release, because i never will get one from the x server 2003-01-10 19:17:26 +00:00
Dana Jansens
c8e246f8de include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/ 2003-01-10 06:16:42 +00:00
Dana Jansens
b67f5e702e new python interface! using the .py shadow wrappers from swig 2003-01-10 03:11:48 +00:00
Dana Jansens
345d957e1e new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life. 2003-01-09 22:54:31 +00:00
Dana Jansens
711a7d8c56 supply python routines for next/prev workspace 2003-01-07 02:24:43 +00:00
Dana Jansens
a460f0bc48 add comments for rming masks from the events 2003-01-06 06:03:38 +00:00
Dana Jansens
d13f021b8b add support for wm_window_role 2003-01-04 19:09:52 +00:00
Dana Jansens
a9a5f0d751 put event bindings in OBBindings too 2003-01-03 21:48:11 +00:00
Dana Jansens
a0350e27b3 allow "event bindings" via ebind() for new windows/window enter/leave 2003-01-03 21:36:09 +00:00
Dana Jansens
31e37b3e88 cleanup naming in OBBindings 2003-01-03 07:03:59 +00:00
Dana Jansens
1c8090fa67 clicks on the client work as they should 2003-01-03 06:05:08 +00:00
Dana Jansens
ca3e463057 moving a window is possible once again 2003-01-03 05:26:04 +00:00
Dana Jansens
b35dae95a5 new mouse button code is seeming to work. you can move windows 2003-01-03 02:48:25 +00:00
Dana Jansens
579ed5aa8d trasitioning for new button event handling 2003-01-03 00:26:36 +00:00
Dana Jansens
e05d5f7934 kill button release events 2003-01-02 22:58:32 +00:00
Dana Jansens
66a26917a0 new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah. 2003-01-02 20:36:14 +00:00
Dana Jansens
1161a90a70 add click_raise global var 2002-12-31 09:17:16 +00:00
Dana Jansens
d7a30f93b5 so close to keybindings. wont link for now. 2002-12-30 22:27:46 +00:00
Dana Jansens
98c4b4cfe5 keybindings underway. dont work yet 2002-12-30 06:31:45 +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
506b5dbf6f segfault no more on root clicks 2002-12-20 14:42:21 +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
77a8e11660 can tell where events are coming from! 2002-12-18 11:34:29 +00:00
Dana Jansens
699de0368c store the delta x/y for a motion sequence 2002-12-05 13:52:10 +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