Commit graph

110 commits

Author SHA1 Message Date
Dana Jansens
05039de135 add setup_fallback_focus() to handle focus when nothing is left focused 2003-01-10 09:44:59 +00:00
Dana Jansens
52e881dc99 add the random window placement algo 2003-01-10 09:38:51 +00:00
Dana Jansens
fa34e01dae add a few functions for setting up default mouse behaviors 2003-01-10 09:32:58 +00:00
Dana Jansens
678bb52123 stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh 2003-01-10 06:40:31 +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
ae0b364fce pass the right num of shit to the client msg 2003-01-08 17:10:00 +00:00
Dana Jansens
8db3dc33e8 close windows with netwm messages 2003-01-08 17:07:18 +00:00
Dana Jansens
0441661365 use client msg's to toggle shaded 2003-01-08 17:03:36 +00:00
Dana Jansens
cf6866123f add state_shaded
rm debug print's
2003-01-08 17:01:20 +00:00
Dana Jansens
cec568b076 state_above/below work now 2003-01-08 17:00:27 +00:00
Dana Jansens
368d981208 add a -single argument which only runs on a single screen 2003-01-08 16:29:39 +00:00
Dana Jansens
4c768d5d63 use client messages to switch desktops/move windows between desktops 2003-01-07 04:51:55 +00:00
Dana Jansens
ee0591bf39 comment the new desktop functions 2003-01-07 02:46:14 +00:00
Dana Jansens
130a1a2c71 add change_desktop 2003-01-07 02:44:54 +00:00
Dana Jansens
66921633e5 add next/prev desktop, give them the no_wrap optional arg 2003-01-07 02:27:51 +00:00
Dana Jansens
711a7d8c56 supply python routines for next/prev workspace 2003-01-07 02:24:43 +00:00
Dana Jansens
07d835a044 no need for focusraise anymore 2003-01-06 19:02:09 +00:00
Dana Jansens
69c257faa9 add focusraise.
comment functions.
2003-01-04 18:48:09 +00:00
Dana Jansens
056ff3b50c better focus passing around for now 2003-01-04 08:41:42 +00:00
Dana Jansens
ee1130f8ec dont move/resize desktop windows or dock windows 2003-01-04 08:06:48 +00:00
Dana Jansens
abd445719b remove a print 2003-01-04 04:05:41 +00:00
Dana Jansens
5f34069a3c separate off execute, since its not a callback function 2003-01-04 02:34:58 +00:00
Dana Jansens
a84666e955 dont focus desktops and docks via enter events 2003-01-04 02:29:40 +00:00
Dana Jansens
0c96f0fc89 add desktop_names 2003-01-04 01:49:01 +00:00
Dana Jansens
7417e2b54e window shading 2003-01-03 23:51:06 +00:00
Dana Jansens
1455ab9c41 print when loaded 2003-01-03 22:25:52 +00:00
Dana Jansens
06388d73b7 restart works 2003-01-03 22:06:08 +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
13f2930de7 share code for raising/lowering windows 2003-01-03 18:25:04 +00:00
Dana Jansens
89e6d5c0e6 add/lower work 2003-01-03 18:21:28 +00:00
Dana Jansens
a4a8d09f4b titlebar layouts work 2003-01-03 15:55:42 +00:00
Dana Jansens
7db3ffecc9 you can bind buttons already about, and itll replace them 2003-01-03 06:55:04 +00:00
Dana Jansens
165601550c provide these functions for callbacks 2003-01-03 06:43:53 +00:00
Dana Jansens
1965483b5a add builtins 2003-01-03 06:39:03 +00:00
Dana Jansens
808f11a6c9 got rid of premade funcs 2003-01-03 06:27:10 +00:00
Dana Jansens
ca3e463057 moving a window is possible once again 2003-01-03 05:26:04 +00:00
Dana Jansens
e05d5f7934 kill button release events 2003-01-02 22:58:32 +00:00
Dana Jansens
9823b821f5 no more gloabsl 2003-01-02 22:09:38 +00:00
Dana Jansens
14cf42ff07 run scripts before initializing screens. kill the globals.py. add the python_get_stringlist. 2003-01-02 21:05:29 +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
745e840547 load config options from the python environment 2002-12-31 19:15:24 +00:00
Dana Jansens
1161a90a70 add click_raise global var 2002-12-31 09:17:16 +00:00
Dana Jansens
098fa0ce20 revert def_motion 2002-12-31 09:14:27 +00:00
Dana Jansens
6a80c577b0 typo 2002-12-31 09:11:59 +00:00
Dana Jansens
30a962664b add comments/headers 2002-12-31 08:50:13 +00:00
Dana Jansens
f7e3eb5729 add some globals to modify the default scripting behavior 2002-12-31 08:46:17 +00:00
Dana Jansens
103372b02f create some globals for use in the python scripts 2002-12-31 07:19:32 +00:00
Dana Jansens
a6661d587c bindings work. now they have a reset key too. 2002-12-31 06:59:46 +00:00
Dana Jansens
d7a30f93b5 so close to keybindings. wont link for now. 2002-12-30 22:27:46 +00:00
Dana Jansens
8c2dfe5de4 deal with when nothing has focus anymore 2002-12-27 09:18:54 +00:00
Dana Jansens
30e4651787 dont seg on multiple root clicks! 2002-12-27 09:17:56 +00:00
Dana Jansens
656701140b code style fix 2002-12-27 09:07:22 +00:00
Dana Jansens
b2079b56e4 delete the rects 2002-12-27 09:06:10 +00:00
Dana Jansens
2c908c308d add enter/leave 2002-12-27 08:35:15 +00:00
Dana Jansens
e9ec2ce0eb some focus improvements.. 2002-12-26 19:55:55 +00:00
Dana Jansens
8c0fe026fe focus works 2002-12-26 18:15:23 +00:00
Dana Jansens
5029fc97c8 add newish stuff 2002-12-26 12:03:13 +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