Dana Jansens
ed250c3b74
basedisplay!! GAH NO FUCK OFF!@!(
2003-01-04 02:57:47 +00:00
Dana Jansens
f1f4cf57af
raise when focused with net_active_window message
2003-01-04 02:51:08 +00:00
Dana Jansens
d9e7a7b8cd
shading works from epist
2003-01-04 02:49:43 +00:00
Dana Jansens
8d5bd29854
set desktop names on startup
2003-01-04 02:03:30 +00:00
Dana Jansens
1a879a4e3e
desktopnames is supported already, just desktops arent :>
2003-01-04 01:41:54 +00:00
Dana Jansens
15d3efa69c
epist alt-tab works now! i.e. NET_ACTIVE_WINDOW is working
2003-01-04 01:37:47 +00:00
Dana Jansens
06eb14fbeb
better focusing. support for the take_focus protocol
2003-01-04 01:21:04 +00:00
Dana Jansens
4dd8520e92
set the net support atoms
2003-01-04 01:04:22 +00:00
Dana Jansens
fcb0820d94
add support for net_active_window and net_close_window messages
2003-01-04 00:54:19 +00:00
Dana Jansens
126d9fc846
client and stacking list work
2003-01-04 00:32:30 +00:00
Dana Jansens
f5f0a2c2ed
add some todo shit
2003-01-04 00:21:14 +00:00
Dana Jansens
527697d6ae
add -shadow
2003-01-04 00:12:21 +00:00
Dana Jansens
0ea5de6247
window states persist across restarts
2003-01-03 23:57:00 +00:00
Dana Jansens
7417e2b54e
window shading
2003-01-03 23:51:06 +00:00
Dana Jansens
e6ae9e51f7
no default reset key
2003-01-03 22:34:50 +00:00
Dana Jansens
06388d73b7
restart works
2003-01-03 22:06:08 +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
86a2bed659
remove the block on shutdown
2003-01-03 20:10:25 +00:00
Dana Jansens
4a07868e79
more old bb shit to go
2003-01-03 19:37:17 +00:00
Dana Jansens
f8ea576460
rm the old bb src
2003-01-03 19:36:41 +00:00
Dana Jansens
660ad41ca0
s/reset/resetChains/
2003-01-03 18:51:00 +00:00
Dana Jansens
376ce0032e
rm old bb shit, and the old xeventhandler
2003-01-03 18:41:49 +00:00
Dana Jansens
c89a13d5de
binding_s_.hh
2003-01-03 18:37:58 +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
105bd729e8
provide capabilities to execute a command
2003-01-03 16:06:10 +00:00
Dana Jansens
a4a8d09f4b
titlebar layouts work
2003-01-03 15:55:42 +00:00
Dana Jansens
3a65ca613c
run builtins.py
2003-01-03 07:04:30 +00:00
Dana Jansens
31e37b3e88
cleanup naming in OBBindings
2003-01-03 07:03:59 +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
7071b1f094
add comment
2003-01-03 06:07:53 +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
4721c53868
typo
2003-01-02 23:34:58 +00:00
Dana Jansens
e05d5f7934
kill button release events
2003-01-02 22:58:32 +00:00
Dana Jansens
54da8e404b
check for valid callback in bind()
2003-01-02 22:53:52 +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
6d58d84f22
add new action types
2003-01-02 20:37:49 +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
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
db1fb534b8
bindings work again. yay
2002-12-30 21:10:13 +00:00
Dana Jansens
7e9fb9fb25
add a comment
2002-12-30 21:06:08 +00:00
Dana Jansens
390d447d9b
add some const
2002-12-30 21:04:09 +00:00
Dana Jansens
5f8e2b75fa
more debug output changes
2002-12-30 20:55:33 +00:00
Dana Jansens
40f3dfbaad
still busted
2002-12-30 20:49:56 +00:00
Dana Jansens
509e6a8f43
fucked up shit
2002-12-30 20:41:33 +00:00
Dana Jansens
dabac4f740
i dont get how the fuck the key tree is changing..
2002-12-30 16:50:29 +00:00
Dana Jansens
d4853f108c
all broken now. working on adding mouse binding support
2002-12-30 16:42:15 +00:00
Dana Jansens
9bf9567283
put anticipated more-often-used modifier names in front
2002-12-30 09:00:28 +00:00
Dana Jansens
4e047f8b1c
nicer translate()
2002-12-30 08:59:46 +00:00
Dana Jansens
d011a51039
way sexier buildtree
2002-12-30 08:52:46 +00:00
Dana Jansens
a826509b51
remove some old comments
2002-12-30 08:41:42 +00:00
Dana Jansens
87ed1124fb
key chains get built properly!
2002-12-30 08:40:38 +00:00
Dana Jansens
3661e55fba
print an error for invalid modifier keys
2002-12-30 07:38:45 +00:00
Dana Jansens
6d59c9cce7
dont try use invalid modifiers
2002-12-30 07:36:06 +00:00
Dana Jansens
9be4ad12e8
parses the modifiers
2002-12-30 07:35:41 +00:00
Dana Jansens
1369b32df8
use the member var _tree
2002-12-30 07:33:56 +00:00
Dana Jansens
35c3e996b5
the bindings tree might work now
2002-12-30 07:33:13 +00:00
Derek Foreman
ee14d8a3cc
Trying to make an iterative assimilate()
2002-12-30 07:28:42 +00:00
Dana Jansens
624a06fdff
build fixes for member funcs
2002-12-30 06:57:10 +00:00
Dana Jansens
656f2fbecf
make some static functions members of OBBindings
2002-12-30 06:56:13 +00:00
Dana Jansens
78a8588126
nicer output
2002-12-30 06:46:19 +00:00
Dana Jansens
349ac3f0e3
can build trees with modifiers
2002-12-30 06:44:14 +00:00
Dana Jansens
c9ca0e797d
lets make it compile at least
2002-12-30 06:32:09 +00:00
Dana Jansens
98c4b4cfe5
keybindings underway. dont work yet
2002-12-30 06:31:45 +00:00
Dana Jansens
b8653c3ab8
better comments for the frame and its widgets' adjust() method
2002-12-28 19:03:05 +00:00
Dana Jansens
d222c56543
draw only when needed
2002-12-27 16:29:32 +00:00
Dana Jansens
5fdd493d0d
buttons have their pixmaps!
2002-12-27 10:07:57 +00:00
Dana Jansens
8c2dfe5de4
deal with when nothing has focus anymore
2002-12-27 09:18:54 +00:00
Dana Jansens
cb718e2ad9
handle reparent events..hopefully :>
2002-12-27 08:52:16 +00:00
Dana Jansens
c645416035
add an unregister_all for python callbacks
2002-12-27 08:39:53 +00:00
Dana Jansens
3a4f91b537
enter/leave and focus events are working beautifully
2002-12-27 08:33:57 +00:00
Dana Jansens
51f8b875b3
flush before waiting for timers
2002-12-27 08:30:38 +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
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
Dana Jansens
9860b76c50
unmap works.. once
2002-12-04 01:04:31 +00:00
Dana Jansens
1fa445c880
handle configure requests
2002-12-04 00:26:45 +00:00
Dana Jansens
861c829ee1
make shape work with the titlebar and handle
2002-12-03 21:46:40 +00:00
Dana Jansens
d8de17b58e
apply gravity when positioning the frame
2002-12-03 21:18:53 +00:00
Dana Jansens
0089719c80
put an S on the stick button
2002-12-03 15:38:47 +00:00
Dana Jansens
f77502100a
decorations work/line up/etc yay. now for fonts...
2002-12-03 07:47:51 +00:00
Dana Jansens
36d8e0c6c4
i dont know what i fixed but here it is
2002-12-03 05:38:40 +00:00
Dana Jansens
a77f0fb344
handle map requests with the root window class
2002-12-02 23:03:41 +00:00
Dana Jansens
958df77162
compress property changes a bit
2002-12-02 22:40:33 +00:00
Dana Jansens
11de5db065
better compression, dont lose events
2002-12-02 22:36:43 +00:00
Dana Jansens
7efcff07ea
more compressing
2002-12-02 22:32:38 +00:00
Dana Jansens
786834abea
compress property changes into a single change
2002-12-02 22:19:07 +00:00
Dana Jansens
dca0c9f5a3
add an OBRootWindow class that watches events/properties on root windows
2002-12-02 22:12:26 +00:00
Dana Jansens
74cb09bb2c
handle map events with the Openbox class
2002-12-02 21:06:16 +00:00
Dana Jansens
1eb79b9a0d
<shrug>
2002-12-02 20:50:59 +00:00
Dana Jansens
fb3848450e
window decorations use "unmanaged" widgets now.
2002-12-01 11:45:55 +00:00
Dana Jansens
cd91abfd7c
include the right .h
2002-11-16 10:51:47 +00:00
Dana Jansens
29d504e76c
oh no im being ANONYMOUS
2002-11-14 20:21:46 +00:00
Dana Jansens
597f4d81e5
comment
2002-11-14 20:21:30 +00:00
Dana Jansens
0da967a831
remove the redundant _size property in OBScreen, and set the geometry root property properly.
...
add otk::Point::setPoint
2002-11-11 11:33:32 +00:00
Dana Jansens
c4a1fac49d
manages windows that exist before running.
2002-11-11 11:25:40 +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
fcbb82770c
mad wicked xft checks
2002-11-11 08:33:43 +00:00
Marius Nita
5c7aabd779
wattrib doesnt get init-ed correctly when called from assert()
2002-11-11 03:57:53 +00:00
Dana Jansens
c220fbc953
include stdio
2002-11-10 21:11:53 +00:00
Dana Jansens
e828f1404f
get the size of the label properly
2002-11-10 12:58:29 +00:00
Dana Jansens
9c6ce2a800
adding the new OBScreen class actually!
2002-11-10 12:50:18 +00:00
Dana Jansens
2528b4458c
new OBScreen class is somewhat complete now i think
2002-11-10 12:45:47 +00:00
Dana Jansens
b067510b61
cleanups.
...
OBScreen almost ready for some action
2002-11-10 12:20:29 +00:00
Dana Jansens
73f6bb1a7b
move screen.cc/hh to bbscreen.cc/hh
2002-11-10 10:22:47 +00:00
Dana Jansens
410a826458
more layout fixes for the decoration elements
2002-11-10 10:14:20 +00:00
Dana Jansens
3762f3c88f
pretty sure all frame elements are placed correctly now
2002-11-10 09:44:27 +00:00
Dana Jansens
6e2593cadc
handle events on all of the client's decor as for the client
2002-11-10 08:42:34 +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
365791838f
size/position fixes
2002-11-10 08:17:21 +00:00
Dana Jansens
f424471009
frames' subemelents are created and positioned and everything
2002-11-10 08:12:53 +00:00
Dana Jansens
633df648c9
add a comment
2002-11-10 06:20:37 +00:00
Dana Jansens
9d5865a160
support for the shape extension works!
2002-11-10 05:54:12 +00:00
Dana Jansens
209b7f212d
some more things to happen when changing styles on a frame
2002-11-10 04:28:43 +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
b9cac2146e
WINDOWS GET FRAMES FRAME SHOW UP THEY WORK HUZZAH SOON THEYLL BE LIKE OLD TIMES!
2002-11-10 04:08:26 +00:00
Dana Jansens
f2ae1c3b17
fully documented OBClient
2002-11-07 09:02:26 +00:00
Dana Jansens
b0149ef3fd
add a bunch of documentation
...
add updateIconTitle
2002-11-07 08:22:50 +00:00
Dana Jansens
8b041e2f5c
add updateIconTitle
2002-11-07 08:22:27 +00:00
Dana Jansens
2a26eddc8d
add XXX to a comment that deserves it
2002-11-07 00:22:58 +00:00
Marius Nita
746e55f74b
ugh, misspelling
2002-11-06 14:05:08 +00:00
Marius Nita
29d640fdc2
moved em to otk
2002-11-06 14:02:50 +00:00
Marius Nita
37be3ef924
omg, fat commit
...
pulled the style crap out of screen, i think the reconfigure case needs to be handled still.
moved util and config into otk, changed everything else accordingly.
code compiles and runs
2002-11-06 13:57:54 +00:00
Dana Jansens
0cf6e32e1c
new binary name
2002-11-06 11:44:35 +00:00
Dana Jansens
f7f3cd4085
set the client's desired decoration and function flags
2002-11-06 11:44:15 +00:00
Dana Jansens
9dc76e1bac
support for the Mwm Hints
2002-11-06 11:31:50 +00:00
Dana Jansens
8a1989301d
blef
2002-11-06 10:47:30 +00:00
Dana Jansens
395b9e155a
generate an 'openbox3' binary
2002-11-06 10:38:20 +00:00
Dana Jansens
378ed4f520
maps and unmaps windows!
2002-11-06 10:36:56 +00:00
Dana Jansens
a0cc4a7f23
windows map again!
2002-11-06 10:18:38 +00:00
Dana Jansens
076d45d0ce
read protocols too in OBClient
2002-11-06 10:05:56 +00:00
Dana Jansens
78a7593a46
OBAtom/XAtom has been moved to otk::OBProperty
2002-11-06 09:20:37 +00:00
Dana Jansens
9df8ba78f3
determine if the user/application requested its initial position or not
2002-11-06 09:19:53 +00:00
Dana Jansens
aa8047d68b
use INT_MAX for the default max sizes
2002-11-06 09:14:33 +00:00
Dana Jansens
116c95b887
get the min/max sizes
2002-11-06 09:12:13 +00:00
Dana Jansens
9b23dff16c
when creating an OBClient class, get all the info on that class immediately.
...
print the info to stdout for now too!
2002-11-06 09:04:48 +00:00
Dana Jansens
7b343db222
comment the _window member
2002-11-06 08:09:03 +00:00