Commit graph

253 commits

Author SHA1 Message Date
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
Dana Jansens
6cb4d8bca8 skip events more smarter 2003-03-20 22:48:50 +00:00
Dana Jansens
4f427471b8 kill all enter events on a desktop switch 2003-03-20 22:44:14 +00:00
Dana Jansens
0a2aa08924 alt bindings 2003-03-20 22:25:27 +00:00
Dana Jansens
d2b4e7ddca skipping the right number of enters now i think 2003-03-20 22:24:27 +00:00
Dana Jansens
bb7427422c skip all enter events for now.. need a clever tactic for this.. 2003-03-20 22:21:13 +00:00
Dana Jansens
2725bb5da1 fallback super intelligently with focus when the focused 2003-03-20 21:23:05 +00:00
Dana Jansens
515f8d8760 dont raise the window on a titlebar drag either 2003-03-19 19:27:25 +00:00
Dana Jansens
1588c852ec add a drag threshold 2003-03-19 19:25:31 +00:00
Dana Jansens
029f35d613 use the grab.h funcs to grab keys and buttons 2003-03-19 18:56:15 +00:00
Dana Jansens
32a17b31b0 fewer context lookups 2003-03-19 18:34:15 +00:00
Dana Jansens
78e64a0aff add click on client binding. XAllow when clicking on the client 2003-03-19 17:23:19 +00:00
Dana Jansens
a7705024c6 all the old ob2 mouse bindings are workin 2003-03-19 08:40:00 +00:00
Dana Jansens
9ca9bcc11c add mbinds for shading windows on the titlebar 2003-03-19 08:20:31 +00:00
Dana Jansens
5c53055ee7 simply out the events we dont need no more 2003-03-19 08:15:56 +00:00
Dana Jansens
648c55b829 move the focus_order lists into the kernel 2003-03-19 07:08:15 +00:00
Dana Jansens
7ea5ffea73 add sloppy focus 2003-03-19 06:00:52 +00:00
Dana Jansens
917c5c9349 add sloppy focus 2003-03-19 06:00:16 +00:00
Dana Jansens
6d400ac044 end drags 2003-03-19 05:52:36 +00:00
Dana Jansens
e4fe6da48c dont clean up nulls 2003-03-19 04:22:29 +00:00
Dana Jansens
83e86fa0b6 not using the KeyAction stuff no more 2003-03-19 04:16:38 +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
33a6fde970 ignore shit 2003-03-18 20:09:36 +00:00
Dana Jansens
fa405398a1 add the mouse plugin 2003-03-18 20:09:07 +00:00
Dana Jansens
6dd06740e9 grab the keyboard not the server! 2003-03-18 20:02:09 +00:00
Dana Jansens
838f76cd21 use the grab_server function 2003-03-18 20:01:04 +00:00
Dana Jansens
3dfe9f4ebe set the log domain for each plugin properly 2003-03-18 19:40:18 +00:00
Dana Jansens
65abaf0d50 warp the pointer on a workspace change to the focused window 2003-03-18 09:21:07 +00:00
Dana Jansens
20a5dd4745 focus fallback works when nothing is focused 2003-03-18 09:10:05 +00:00
Dana Jansens
d4c1ed1eed generic domain 2003-03-18 08:40:11 +00:00
Dana Jansens
a86421d7d8 add the new objects 2003-03-18 08:39:01 +00:00
Dana Jansens
739c958ac5 keyboard bindings are functional 2003-03-18 08:38:33 +00:00
Dana Jansens
c5789fea10 add cvsignores 2003-03-18 05:30:12 +00:00
Dana Jansens
bfea000a74 add a keyboard plugin 2003-03-18 05:29:01 +00:00
Dana Jansens
9185ca5c1a focus new windows and focus windows on workspace change 2003-03-18 05:21:50 +00:00
Dana Jansens
4ed3fb8915 plugins work.
start a focus plugin.
2003-03-18 03:11:55 +00:00
Dana Jansens
7abaa532e3 add the plugins dir 2003-03-17 19:54:54 +00:00