Scott Moynes
c912b634ab
Added stat() based timed menu update.
...
Needs parser before it is useful.
2003-05-18 01:12:18 +00:00
Dana Jansens
f6b61bb60e
disallow drag events on title buttons.
...
dont redraw title button when the wheel buttons are used on them.
2003-05-17 15:16:45 +00:00
Scott Moynes
66d3006671
Fixed child wait.
2003-05-16 19:12:06 +00:00
Dana Jansens
e4c662ea0b
add stdio.h
2003-05-16 18:12:28 +00:00
Scott Moynes
78a8680cd7
Added a menu to read from a pipe.
...
File descriptors added to the event loop.
2003-05-14 03:34:29 +00:00
Dana Jansens
80dfe9cbe8
watch out for stacking_list
2003-05-11 23:59:16 +00:00
Dana Jansens
58cfbb7f84
Clients Menus and Slits are all 'ObWindow's now.
...
Stacking is done with ObWindows.
Slits add themselves to the stacking order, as do clients of course.
Added some macros for adding/removing to the stacking order.
2003-05-11 19:44:33 +00:00
Dana Jansens
23697223a5
cleanups
2003-05-11 05:15:59 +00:00
Dana Jansens
ed4f84ac33
can drag slit-apps around in the slit
2003-05-11 05:15:43 +00:00
Dana Jansens
3716928984
ignore the build shit
2003-05-10 20:52:17 +00:00
Scott Moynes
6c431d3a45
tyop
2003-05-10 15:30:47 +00:00
Scott Moynes
24eb9f85df
Turn off timed_menu by default
2003-05-10 15:12:27 +00:00
Scott Moynes
03d42b5d82
Timed menu that reads output from a process while the window is hidden
2003-05-10 14:51:27 +00:00
Scott Moynes
e7c9e43210
fixor
2003-05-09 23:29:41 +00:00
Scott Moynes
a8a4a2cca3
Menu uber patch
...
Since we have no menu parser see menu_startup() to customize
2003-05-09 23:15:28 +00:00
Dana Jansens
f26f23de50
all my changes while i was offline.
...
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Dana Jansens
4b421dc811
net_WM!@^&(
2003-04-17 16:02:32 +00:00
Dana Jansens
95b1cd0166
use the right client
2003-04-17 16:02:15 +00:00
Dana Jansens
a85158b14f
dont use the client if there is none
2003-04-17 16:01:42 +00:00
Dana Jansens
c4af950903
fix up support for moveresize. make keyboard grabs Async so that i can hit escape to cancel a moveresize process.
2003-04-17 07:00:13 +00:00
Dana Jansens
7886b797a3
move the move/resize functionality into moveresize.c, for use with the netwm atoms. use it from teh plugins. combine the two actions.
2003-04-17 05:28:35 +00:00
Dana Jansens
962f0b3062
save the client and context during drags since a pointer grab will change them
2003-04-17 02:11:46 +00:00
Dana Jansens
0e28a07e3d
start of showing/rendering menus. woot!
2003-04-15 18:29:55 +00:00
Dana Jansens
184e57c7e3
ignore the remaining new shit from automaking everything again
2003-04-13 21:18:43 +00:00
Dana Jansens
dfc9680e33
back to automake
2003-04-13 21:17:02 +00:00
Dana Jansens
bb8b9ddbc5
pass the Client for frame_context cuz the client might be NULL
2003-04-13 08:36:38 +00:00
Dana Jansens
5cf61ee023
move the openbox engine into librender and the kernel. the theme is loaded and stored inside librender. the frame is decorated and managed inside the kernel.
2003-04-13 07:18:28 +00:00
Dana Jansens
787cbcf656
buld fixes for the new libs
2003-04-09 18:36:01 +00:00
Dana Jansens
3e55e63f5d
dont check to make sure the window is on screen here
2003-04-07 08:58:45 +00:00
Dana Jansens
49f31c0742
once in a window-cycle, don't fire any other key bindings
2003-04-07 03:47:23 +00:00
Dana Jansens
a484ba5e19
dont let windows be placed offscreen
2003-04-06 19:17:54 +00:00
Dana Jansens
852f36235e
save the state at the start of a drag and use it throughout until the button is released
2003-04-06 06:19:15 +00:00
Dana Jansens
26034c3742
dont resize snap windows with size increments
2003-04-06 02:32:28 +00:00
Dana Jansens
7ebc5c797f
linear focus cycling of the gods
2003-04-05 22:20:14 +00:00
Dana Jansens
69c9b6211b
add special shit for window cycling, grab the keyboard etc
2003-04-05 22:03:24 +00:00
Dana Jansens
cbbf90a718
change how rc parsing will work. a=b will be parsed in any [section] and given to a separate parsing callback. no more general config infrastructure needed/
2003-04-05 20:27:03 +00:00
Dana Jansens
d485e71bf1
rm the old mouserc shit
2003-04-05 18:12:04 +00:00
Dana Jansens
e3aeb9ffd8
ignore more new shit
2003-04-05 17:23:32 +00:00
Dana Jansens
50fba4bca8
use Button<num> instead of just <num> for specifying buttons by number
2003-04-05 17:23:23 +00:00
Dana Jansens
038e611974
better error msgs
2003-04-05 17:22:35 +00:00
Dana Jansens
d58799bc25
not using quarks, using an array and a Context enum for contexts
2003-04-05 17:16:18 +00:00
Dana Jansens
47cc179781
prefix key bindnigs with 'kbind'
2003-04-05 09:23:21 +00:00
Dana Jansens
98c0c676dd
initialize all vars.
...
change warnings to messages
2003-04-05 00:10:47 +00:00
Dana Jansens
7a651f9ff5
remove debug print
2003-04-04 20:22:44 +00:00
Dana Jansens
68ff2eb3d2
add the keyboard plugin into the build systems
...
keyboard bindings are parsed from the rc file
2003-04-04 20:19:12 +00:00
Dana Jansens
9084ca41a5
more build fixes
2003-04-03 15:09:24 +00:00
Dana Jansens
d447dc0f59
new build system without automake
2003-04-03 05:59:03 +00:00
Dana Jansens
51ef6e3b55
make the drag threshold and double click time into rc options
2003-04-02 08:02:10 +00:00
Dana Jansens
168e75cf41
add the Shade context to the comments
2003-03-31 22:59:56 +00:00
Dana Jansens
4398c7c168
add a shaded button
2003-03-31 22:58:54 +00:00
Dana Jansens
2b4a42e0fe
dont resist to windows which we're not touching
2003-03-31 21:06:20 +00:00
Dana Jansens
251983186d
use the client's size instead of the frames size so the real size is used, not the size of the frame (avoids shaded window problem)
2003-03-31 20:20:29 +00:00
Dana Jansens
ace0beb915
unser drag_used when drag is unset too
2003-03-31 20:10:56 +00:00
Dana Jansens
d75e094032
add a space where it belongs
2003-03-31 19:55:21 +00:00
Dana Jansens
f99fe83736
make realeases fire releases instead of presses. make drags prevent clicks only if there is something bound to the drag.
2003-03-31 19:46:54 +00:00
Dana Jansens
a022c418e1
no drag events for keysrc..
2003-03-31 19:40:26 +00:00
Dana Jansens
a8afa4d073
extraneous ! causing resistance to be snapping in one case. rm a debug print
2003-03-31 05:38:19 +00:00
Dana Jansens
2b4ab6753c
better decribe bindings and list all the modifiers, was missing shift/control
2003-03-29 21:03:37 +00:00
Dana Jansens
f930841088
add SendToDesktop to the comments. fix the type calling the Desktop action Desktops
2003-03-29 21:01:33 +00:00
Dana Jansens
8a6a9710eb
use the number for sendtodesktop
2003-03-29 20:59:41 +00:00
Dana Jansens
36b90c320d
use the top when snapping to the top
2003-03-29 19:47:36 +00:00
Dana Jansens
5b039d9801
add focusing if clicked on the grips
2003-03-29 18:27:48 +00:00
Dana Jansens
dbdb330ad5
use the bottom of the screen for botom snapping! :)
2003-03-29 09:56:12 +00:00
Dana Jansens
7f5514aeb7
rm the extra ;
2003-03-29 03:17:20 +00:00
Dana Jansens
9d136ab798
add unshaderaise and shadelower actions from Mikachu
2003-03-29 00:58:50 +00:00
Dana Jansens
a61cecfe3a
add ToggleDecorations
2003-03-28 23:04:44 +00:00
Dana Jansens
21442ab6e4
round down for size increments
2003-03-28 09:40:55 +00:00
Dana Jansens
1cbe8af5e3
resize resistance. size incs will fuck with it yet though.
2003-03-28 09:30:08 +00:00
Dana Jansens
c3e80452f0
set lbutton from clicks
2003-03-28 09:29:28 +00:00
Dana Jansens
663102cf53
rm debug prints
2003-03-28 08:36:11 +00:00
Dana Jansens
bb087efb79
take borders into account for figuring clicks
2003-03-28 07:46:17 +00:00
Dana Jansens
83508a2ad2
focus on middle click on client
2003-03-28 01:53:29 +00:00
Dana Jansens
e094bd40f3
add send-tos with the mouse wheel
2003-03-28 01:07:12 +00:00
Dana Jansens
c9d39eddb7
focus plugin is gone
2003-03-28 00:40:46 +00:00
Dana Jansens
047fe67215
rm the focus plugin
2003-03-27 23:04:16 +00:00
Dana Jansens
f29dd7e0cd
not using CurrentTime anywhere
2003-03-26 15:02:08 +00:00
Dana Jansens
1d5fa24e4b
use CurrentTime again?
2003-03-26 14:39:14 +00:00
Dana Jansens
78424735f3
bind C-g for the rset key
2003-03-26 14:12:30 +00:00
Dana Jansens
0d6bc13135
negatives that work!
2003-03-26 13:55:05 +00:00
Dana Jansens
6be319c22a
document the options
2003-03-26 13:53:25 +00:00
Dana Jansens
379ca159f1
better negatives
2003-03-26 13:51:45 +00:00
Dana Jansens
e76057ec72
allow negative numbers
2003-03-26 13:51:07 +00:00
Dana Jansens
8055abe8fb
was reversing the keylist
2003-03-26 13:40:20 +00:00
Dana Jansens
bb103dc006
subtract 1 from the given desktop number
2003-03-26 13:35:32 +00:00
Dana Jansens
addbf69108
make parsing more generic
2003-03-26 13:29:09 +00:00
Dana Jansens
1fb5c4b595
free unused paths
2003-03-26 13:28:50 +00:00
Dana Jansens
06f27af0a9
split up the relative functions.
...
make the parsing more generic, anything can have a string/numeric argument
2003-03-26 13:28:25 +00:00
Dana Jansens
c473d5f80a
remove an extraneous g_warning
2003-03-26 13:27:39 +00:00
Dana Jansens
6d97bd517f
split the relative functions
2003-03-26 13:27:22 +00:00
Dana Jansens
46e549700a
check for invalid keys properly
2003-03-26 13:25:21 +00:00
Dana Jansens
91ebde9e88
load keybindings from keysrc
2003-03-26 12:52:32 +00:00
Dana Jansens
59ad2e319a
add exit/restart.
...
clarify which can be used for drag events
2003-03-26 12:49:18 +00:00
Dana Jansens
b4d241169b
dont let bind to actionexecute or desktop cuz they require a parameter
2003-03-26 12:47:11 +00:00
Dana Jansens
f2a1e11e95
dont let bind to actiondesktop
2003-03-26 12:46:39 +00:00
Dana Jansens
a6d5d8bcd8
use the action_from_string helper
2003-03-26 12:33:09 +00:00
Dana Jansens
ded198f74f
properly restrict bindings for motion events
2003-03-26 11:25:19 +00:00
Dana Jansens
f532a746f0
even beter
2003-03-26 11:17:24 +00:00
Dana Jansens
2dc875f524
better comment parsing
2003-03-26 11:11:36 +00:00
Dana Jansens
c0a69182ec
sep is not used any more
2003-03-26 10:17:36 +00:00
Dana Jansens
01d92ca2b2
fix comment parsing
2003-03-26 10:17:14 +00:00
Dana Jansens
232e003094
dont set fields if in a comment
2003-03-26 10:15:01 +00:00
Dana Jansens
d78f345b87
rm the lex .c on clean
2003-03-26 09:17:24 +00:00
Dana Jansens
d7b6c79c41
fields must not start or end with '-'
2003-03-26 08:43:38 +00:00
Dana Jansens
6d0b401201
XAllowEvents with a timestamp, otherwise we end up with a grab in place that we dont want
2003-03-26 08:18:15 +00:00
Dana Jansens
634de7191b
document the options
2003-03-26 05:16:30 +00:00
Dana Jansens
8470142e00
only let bind Move and Resize to Drags
2003-03-26 05:15:40 +00:00
Dana Jansens
9f064164a4
add the lexer
2003-03-26 05:06:12 +00:00
Dana Jansens
edf98ba134
parse a mouserc file for mouse bindings
2003-03-26 04:25:41 +00:00
Dana Jansens
72ee5557c2
add new parsing shit
2003-03-26 04:25:17 +00:00
Dana Jansens
fede14d6a2
strdown the context name
2003-03-26 00:27:07 +00:00
Dana Jansens
014384dba6
use names for mouse buttons, all case insensitive
2003-03-26 00:23:16 +00:00
Dana Jansens
4f2696d3ef
case insensitive
2003-03-26 00:22:10 +00:00
Dana Jansens
bcdef0b226
move the def'n of the KeyBindingTree
2003-03-25 22:14:02 +00:00
Dana Jansens
95ffd99cfa
presses work when clicks dont on the frame around the titlebar..
2003-03-25 22:13:44 +00:00
Dana Jansens
930891f119
translate "Control" and "Shift" for modifiers too
2003-03-25 22:13:09 +00:00
Dana Jansens
c8e55b8f09
i fucked that one up
2003-03-25 21:47:25 +00:00
Dana Jansens
e8a81e5a05
add 'corner snapping' resistance
2003-03-25 21:14:35 +00:00
Dana Jansens
4ec67b0a70
export config values
2003-03-23 22:54:33 +00:00
Dana Jansens
1560825d8b
dont need the bool
2003-03-23 22:53:19 +00:00
Dana Jansens
6b79b47f23
typo
2003-03-23 22:41:32 +00:00
Dana Jansens
22f38541c5
make history placement optional
2003-03-23 22:39:06 +00:00
Dana Jansens
cd32e79e35
export its options and use them from the rc file
2003-03-23 22:28:12 +00:00
Dana Jansens
77e09830c5
raise AND focus
2003-03-23 22:27:22 +00:00
Dana Jansens
b52ec93251
export focus options to the rc file
2003-03-23 22:20:05 +00:00
Dana Jansens
80c7f14520
add the plugin_setup_config function
2003-03-23 19:42:47 +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
c3628a36ed
history placement works. loads. saves. woot.
2003-03-22 05:56:32 +00:00
Dana Jansens
ba1e06157d
dont raise on client clicks
2003-03-21 22:51:08 +00:00
Dana Jansens
c5e902a7b1
focus windows when entering/leaving enter-the-desktop mode
2003-03-21 17:22:38 +00:00
Dana Jansens
001233837e
add an xlock binding
2003-03-21 17:02:13 +00:00
Dana Jansens
cd1694cd1c
dont reposition windows who know what they want
2003-03-21 10:29:30 +00:00
Dana Jansens
b3507a0968
dont focus !normal clients under the mouse
2003-03-21 10:23:34 +00:00
Dana Jansens
1c7c94614d
rm debug print
2003-03-21 09:39:53 +00:00
Dana Jansens
c951027519
optimization!
2003-03-21 09:39:09 +00:00
Dana Jansens
00d8c8d379
syntax error!
2003-03-21 09:38:51 +00:00
Dana Jansens
921a711dad
don't snap to non-visibles
2003-03-21 09:38:13 +00:00
Dana Jansens
1418e9edc4
dont snap to self
2003-03-21 09:33:41 +00:00
Dana Jansens
23ee7b9a93
rm the edge_resistance option.. just dont load the plugin!
2003-03-21 09:32:17 +00:00
Dana Jansens
dabcb558cd
make the event function static!
2003-03-21 09:31:36 +00:00
Dana Jansens
34ab5a1fb8
add a window resistance plugin
2003-03-21 09:31:23 +00:00
Dana Jansens
1f8f4ffef5
rename event() to place_event()
2003-03-21 09:27:49 +00:00
Dana Jansens
6216c4be17
rename event() to place_event()
2003-03-21 09:27:34 +00:00
Dana Jansens
05e9cb73ce
focus new windows
2003-03-21 08:20:49 +00:00
Dana Jansens
a3012eafbd
rm debug prints
2003-03-21 08:19:40 +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
0edc14a4f9
set up the history place stuff's files
2003-03-21 07:54:48 +00:00
Dana Jansens
474f689132
start and stop the history plugin
2003-03-21 07:53:29 +00:00
Dana Jansens
7287ae738e
dont skip enter events
2003-03-21 07:51:33 +00:00
Dana Jansens
29e3748605
add a window placement plugin
2003-03-21 07:33:07 +00:00
Dana Jansens
eb6ef3533c
disable warping on desk switch
2003-03-20 23:02:54 +00:00