Dana Jansens
53882f7609
didnt belong
2003-03-22 14:41:43 +00:00
Dana Jansens
56dc0446cd
start the config system, add the config file parser
2003-03-22 14:41:19 +00:00
Dana Jansens
ff06051eb7
asserts in unmanage to try track a crash
2003-03-22 13:26:28 +00:00
Dana Jansens
a5b371cfe7
blef
2003-03-22 13:18:45 +00:00
Dana Jansens
9b514b3b61
add the client_kill function, and the kill action, and bind it to the middle mouse button on the close button.
2003-03-22 06:58:38 +00:00
Dana Jansens
78aa056eeb
make the ~/.openbox dir on startup
2003-03-22 03:40:09 +00:00
Dana Jansens
dd6e27f2c3
rename the res_name and res_class members to name and class
2003-03-22 00:35:02 +00:00
Dana Jansens
0a69cfc6d2
add strict ansi compliance
2003-03-21 20:25:34 +00:00
Dana Jansens
ab44e44a55
ignore the openbox3 binary
2003-03-21 18:46:11 +00:00
Dana Jansens
624d277ffb
build 'openbox3' instead of 'ob3'
2003-03-21 18:45:29 +00:00
Dana Jansens
359ef29082
build the binary called 'openbox3'
2003-03-21 18:44:34 +00:00
Dana Jansens
327a0b3de7
always adjust the frames size and position together, so there is no more weird resizing before moving and edge flickering when resizing from the top/left
2003-03-21 18:38:08 +00:00
Dana Jansens
a822cbe13b
dont focus anything in the kernel from showing-the-desktop mode
2003-03-21 17:23:00 +00:00
Dana Jansens
90cc2b2bab
better comment for Event_Client_Moving
2003-03-21 10:44:54 +00:00
Dana Jansens
178fdf254d
choke on invalid options on the cmd line
2003-03-21 10:41:56 +00:00
Dana Jansens
94d871a390
dont check for != NULL before freeing. pointless.
2003-03-21 10:35:35 +00:00
Dana Jansens
d4601cd034
don't check for != NULL before freeing. pointless
2003-03-21 10:34:44 +00:00
Dana Jansens
d33dce4827
defn vars at the top of funcs
2003-03-21 10:33:26 +00:00
Dana Jansens
9a4ccc919c
add the client_set_focused function.
...
make focus state be changed internally immediately after calling the X functions to make it so, basically, assume their success. this elimiates races all over the place with our state vs the server's state.
2003-03-21 10:26:26 +00:00
Dana Jansens
5034073da7
use the client_set_focused function when getting FocusIn/Out events
2003-03-21 10:24:24 +00:00
Dana Jansens
a3c9271ca2
init the focus_client ptr in startup
2003-03-21 10:23:57 +00:00
Dana Jansens
0cb6f81276
dont use the client's colormap if it is set to None!
2003-03-21 09:54:54 +00:00
Dana Jansens
c2cbef62bb
add a dispatched event for interactively moving a window.
...
move window snapping/resistance out of the kernel.
make the action_move dispatch the new event.
2003-03-21 09:41:01 +00:00
Dana Jansens
3904699688
snap window-to-window
2003-03-21 08:37:22 +00:00
Dana Jansens
a3012eafbd
rm debug prints
2003-03-21 08:19:40 +00:00
Dana Jansens
b23c65362d
rm debug print
2003-03-21 08:19:18 +00:00
Dana Jansens
db75d406ce
rm the focused member from the client struct, it was redundant with the focus_client variable around
2003-03-21 08:18:39 +00:00
Dana Jansens
ca45916f77
update engine last for focus events
2003-03-21 08:17:43 +00:00
Dana Jansens
d38855a0a5
dont set the restart path to "", load the placement plugin
2003-03-21 07:53:13 +00:00
Dana Jansens
29e3748605
add a window placement plugin
2003-03-21 07:33:07 +00:00
Dana Jansens
e8ed8b3c2a
show windows before hiding when switching desktops
2003-03-20 22:36:01 +00:00
Dana Jansens
35c095014e
add -help -version -sync and -rc cmd line options
2003-03-20 22:14:15 +00:00
Dana Jansens
17cc975cc9
add the binary and urls to the Makefile and -D's
2003-03-20 22:06:08 +00:00
Dana Jansens
bf707e7240
add RECT_CONTAINS
2003-03-20 21:53:04 +00:00
Dana Jansens
45f6d52712
save decor and functions per client for fullscreening!
2003-03-20 21:52:49 +00:00
Dana Jansens
f76b26e4ad
lock the size/position of maximized and fullscreen clients
2003-03-20 21:49:39 +00:00
Dana Jansens
ba2c6a23df
lock the position/size of maximized windows
2003-03-20 21:09:56 +00:00
Dana Jansens
8758271498
restart and catch errors appropriately
2003-03-20 07:48:59 +00:00
Dana Jansens
26f66bc932
init the GError to NULL
2003-03-20 01:55:25 +00:00
Dana Jansens
396d559b3f
can restart now
2003-03-20 01:53:38 +00:00
Dana Jansens
c1e6991224
restart will work soon
2003-03-19 21:54:29 +00:00
Dana Jansens
6321d28652
no \n in g_messages
2003-03-19 19:58:25 +00:00
Dana Jansens
44889c3c69
MapRequest needs to activate the window
2003-03-19 19:56:53 +00:00
Dana Jansens
e442c6cc56
snap windows when moving them
2003-03-19 19:22:13 +00:00
Dana Jansens
5b5ab0408a
add code for snapping windows to screen edges
2003-03-19 19:21:55 +00:00
Dana Jansens
bcca5bb967
add funcs to grab buttons and keys
2003-03-19 18:55:56 +00:00
Dana Jansens
080b36cfc2
export the NumLock and ScrollLock masks
2003-03-19 18:55:36 +00:00
Dana Jansens
89142ea6b4
dont need a mask_list here
2003-03-19 18:55:21 +00:00
Dana Jansens
fd9dc6f9d5
grab all lock keys
2003-03-19 18:55:10 +00:00
Dana Jansens
90e654131d
break, dont return
2003-03-19 17:24:47 +00:00
Dana Jansens
0c16988daa
add code to make net_active_window events work
2003-03-19 17:24:24 +00:00
Dana Jansens
75ee81d9bf
add focusraise
2003-03-19 17:24:03 +00:00
Dana Jansens
d42335e54d
put the comment where it belongs
2003-03-19 09:36:55 +00:00
Dana Jansens
4fbc127a57
on shutdown: destroy the net support window. clear a few more properties we dont want across restart. select NoEventMask on root.
2003-03-19 09:36:09 +00:00
Dana Jansens
16787d0a17
oops
2003-03-19 09:33:52 +00:00
Dana Jansens
152c638ef1
destroy the focus_backup
2003-03-19 09:32:51 +00:00
Dana Jansens
bd9846e635
erase the openbox_pid hint on the root window when we shutdown
2003-03-19 09:03:54 +00:00
Dana Jansens
4732930eec
ignore !normal crossing events
2003-03-19 08:19:27 +00:00
Dana Jansens
59be9ae1d2
start with 0 desktops, so the focus_order stuff all gets initialized properly
2003-03-19 08:06:19 +00:00
Dana Jansens
8428becfde
the focus_order shit is init'd by the screen_startup setting the number of desktops
2003-03-19 08:05:58 +00:00
Dana Jansens
9a5f1d7b5e
shutdown everything before closing the display
2003-03-19 08:05:25 +00:00
Dana Jansens
4bceaaf165
comment what funcs is
2003-03-19 07:40:07 +00:00
Dana Jansens
0a855f3e49
close the channel by unref'ing it
2003-03-19 07:34:31 +00:00
Dana Jansens
ef43db32eb
rm the comments pointer bindings stuff, thats in a plugin now
2003-03-19 07:12:00 +00:00
Dana Jansens
b3817126ee
add new windows to the back of the focus order list
2003-03-19 07:10:05 +00:00
Dana Jansens
648c55b829
move the focus_order lists into the kernel
2003-03-19 07:08:15 +00:00
Dana Jansens
597fad9d8d
add focus actions
2003-03-19 06:01:06 +00:00
Dana Jansens
4bcd03b2d0
mouse and key bindings plugins work. segfault somewhere still on shutdown
2003-03-19 04:16:19 +00:00
Dana Jansens
51b93d9c4c
reset focus to root before exiting
2003-03-19 01:01:57 +00:00
Dana Jansens
7d215bd255
add 'grab_server' for grabbing .. the .. server!
2003-03-18 20:00:44 +00:00
Dana Jansens
598c5d6c07
provide functions for grabbing and ungrabbing the keyboard and pointer
2003-03-18 19:51:56 +00:00
Dana Jansens
a91a6f97da
kill some whitespace
2003-03-18 09:10:48 +00:00
Dana Jansens
77a46782db
kill a comment
2003-03-18 09:10:35 +00:00
Dana Jansens
77bd016628
dont set the focused client if it's already set
2003-03-18 09:08:55 +00:00
Dana Jansens
6e29605d41
send the right client for unfocus events
2003-03-18 08:48:14 +00:00
Dana Jansens
002bf5e7e6
send unfocus events after focus events
2003-03-18 08:41:50 +00:00
Dana Jansens
ad44e8a708
add actions for key/mouse bindings etc
2003-03-18 08:39:28 +00:00
Dana Jansens
bfea000a74
add a keyboard plugin
2003-03-18 05:29:01 +00:00
Dana Jansens
4ed3fb8915
plugins work.
...
start a focus plugin.
2003-03-18 03:11:55 +00:00
Dana Jansens
8886f1109d
make sure theres always a client for client events
2003-03-17 22:13:06 +00:00
Dana Jansens
ccc5f02051
oops missing a */
2003-03-17 22:12:26 +00:00
Dana Jansens
21c1cd4cb6
fix comments
2003-03-17 22:12:05 +00:00
Dana Jansens
df3d926cb2
rming almost all the old python stuffs
2003-03-17 22:04:20 +00:00
Dana Jansens
75b07a2bb3
all events are dispatched
2003-03-17 20:16:32 +00:00
Dana Jansens
9b33f7ded6
stop using python internally. add an event dispatcher
2003-03-17 19:54:37 +00:00
Dana Jansens
698b9a0998
dont skip ungrab corssing events
2003-03-17 06:34:12 +00:00
Dana Jansens
1fae0f4df3
declare variables first!
2003-03-17 02:12:00 +00:00
Dana Jansens
7f561a6a7a
make client_showhide a static function
2003-03-17 02:05:05 +00:00
Dana Jansens
216a04bdd0
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)
2003-03-17 02:03:45 +00:00
Dana Jansens
432ac0983e
give engines mouse event notifications. make the openbox engine display pressed buttons
2003-03-17 01:47:20 +00:00
Dana Jansens
3b0b41ba81
pixmap button masks work (hardcoded)
2003-03-17 01:15:17 +00:00
Dana Jansens
bb3e654ede
will draw fonts when stop segging
2003-03-16 23:45:25 +00:00
Dana Jansens
7f590e5360
pointer's variables are config vars
2003-03-16 23:15:20 +00:00
Derek Foreman
9ecdf13b8d
added font_startup
2003-03-16 22:35:55 +00:00
Dana Jansens
f8a47de5ec
merge the C branch into HEAD
2003-03-16 21:11:39 +00:00