Commit graph

123 commits

Author SHA1 Message Date
Dana Jansens
f7eb47dba4 make client-list-menu work too
more menu cleanups
2003-08-28 07:34:03 +00:00
Dana Jansens
9290376bbb add follow option back for sendto actions 2003-08-28 05:43:05 +00:00
Dana Jansens
7b6ca7c20e only use visible windows when calcing for raiselower 2003-08-22 15:57:20 +00:00
Dana Jansens
7755edc39a maybe smarter 2003-08-22 15:44:20 +00:00
Dana Jansens
ca8a3ac7bf make the raiselower action smarter 2003-08-22 15:36:44 +00:00
Dana Jansens
df79dc5767 add the 'raiselower' action for raising obscured windows and lowering fully visible ones 2003-08-20 23:02:26 +00:00
Dana Jansens
90861d60f7 parse <here>true</here> for the activate action 2003-08-14 05:56:43 +00:00
Dana Jansens
60bf9dcdb7 make the activate action have a 'here' parameter 2003-08-14 05:53:32 +00:00
Dana Jansens
99d0b71677 add an 'activate' action 2003-08-14 05:34:51 +00:00
Dana Jansens
e531f69006 bug fixes for growtoedge from tore. props to tore for all the growtoedge and movetoedge code, and directional focus code also since i dont think i mentioned his name before in the changelogs woot. 2003-08-12 19:25:03 +00:00
Dana Jansens
e7ae71db70 use the new client_directional_edge_search for the movetoedge actions.
add new growtoedge actions.
2003-08-12 08:46:21 +00:00
Dana Jansens
8529aab619 remove debug printings 2003-08-12 07:31:31 +00:00
Dana Jansens
c90da6da78 move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
2003-08-12 07:26:16 +00:00
Dana Jansens
5be0a82a35 use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it 2003-07-24 06:02:38 +00:00
Scott Moynes
e9a8e272c0 Fix a couple memory leaks. 2003-07-19 23:58:45 +00:00
Dana Jansens
81af5a8b0c add disabled buttons, instead of now showing buttons at all when they wont do anything, now show a disabled button instead. this severely breaks compatibility with blackbox themes since there is no good way to automiatically create a disabled button that i can think of, so if they dont exist in the theme you get black and white for the button.
when a window cant be resized, its handle is not removed but its grips are.

change allowing the user to disable individual decorations as that is overkill,
instead allow a toggle through the client.decorate boolean.
2003-07-10 23:27:02 +00:00
Dana Jansens
eea43e6488 make the ob_restart/shutdown stuff static vars and expose them only through functions ob_restart_other(), ob_restart() and ob_exit() 2003-07-10 18:50:47 +00:00
Dana Jansens
4736c257a5 prefix and capitalize some more constants/enums in client.h (Function -> ObFunctions and WindowType -> ObClientType) 2003-07-10 06:59:39 +00:00
Dana Jansens
2477a38d2f rename the Client struct to ObClient 2003-07-10 06:38:42 +00:00
Dana Jansens
276b2be581 add misc.h with some standard enumerations with proper prefixing and capitalizations.
use the new enums throughout.

provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
2003-07-10 06:18:47 +00:00
Dana Jansens
75b23047d6 strdup the exec path cuz it gets freed by the time we restart otherwise 2003-06-21 18:14:42 +00:00
Dana Jansens
2e824eece1 rm the 'focusraise' action, it is redundant. 2003-05-28 23:50:43 +00:00
Dana Jansens
d1e355de2c this is a big one! im putting stats in here just cuz!
59 files changed, 1691 insertions(+), 607 deletions(-)
Adding the beginings of ObConf. Adding a resistance-config plugin for ObConf.
Creating an obparser library that obrender can use, the kernel can use, plugins can use, and ObConf and its plugins can use. (its just code for using libXml2)
2003-05-24 21:47:06 +00:00
Dana Jansens
3753a0ed3e convert shit from utf8 to filename before execing it 2003-05-24 16:15:29 +00:00
Dana Jansens
75e691a2a5 add actions for showing the desktop 2003-05-24 09:22:19 +00:00
Dana Jansens
e483257007 soem changes to desktop actions.
instead of having *wrap actions, just default to having wrap on, and let it be optionally placed into the rc to disable it.
instead of next/prev desktop, just have actions for desktop to the right/left/up/down. this applies to sendtodesktop actions too.
2003-05-24 09:11:42 +00:00
Dana Jansens
4d814a383b add actions for changing client layers to abov/below/normal 2003-05-22 02:22:43 +00:00
Dana Jansens
7da6e2271e add 'movetoedge' actions 2003-05-21 03:58:32 +00:00
Dana Jansens
81417dd344 use the resize increment when resizing relative 2003-05-19 04:13:06 +00:00
Dana Jansens
5a7953b36a 2 in 1 again..
a) directional focus actions
b) action system changes i.e. use structs/arrays for convertings strings to actions instead of gross if-else chains
2003-05-19 03:52:25 +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
92d3f2342d add helper functions for manipulating the focus_order list.
move the focus popup into focus.c, out of action.c
allow cycling to iconic windows, which are kept at the bottom of the focus_order lists.
2003-04-25 21:27:16 +00:00
Dana Jansens
1923939bba 02:33 (@xor) omg yes
02:33 (@xor) grid workspace cycling of d3th
2003-04-17 07:33:50 +00:00
Dana Jansens
827e7baf20 fix grip workspace cycling 2003-04-17 07:20:08 +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
372bf02947 grab pointer during cycling to remove focus screwups from focus-follows-mouse.
grab during move/resize and assign a cursor while doing the move/resize too!
2003-04-17 02:14:30 +00:00
Dana Jansens
1c87358858 watch out for missing a name 2003-04-15 21:25:21 +00:00
Dana Jansens
0e28a07e3d start of showing/rendering menus. woot! 2003-04-15 18:29:55 +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
a6130b8407 dont show the focus popup when theres no target client 2003-04-09 17:40:14 +00:00
Dana Jansens
0272ef26e7 show a popup with the focus target while cycling 2003-04-08 01:04:09 +00:00
Dana Jansens
db086ef336 put focus_cycle into focus.c, use it there in the action. improved it as well to handle odd cases like modal windows. added functions to client.c which are needed by the focus cycling routine. 2003-04-07 03:46:41 +00:00
Dana Jansens
d498522a56 dont toggle when no client was passed to teh action 2003-04-06 18:40:10 +00:00
Dana Jansens
c42314ec44 add a coords popup for moving and resizing 2003-04-06 06:16:46 +00:00
Dana Jansens
d6f9bc953a allow specifying that some focus events should be ignored for the focus order list 2003-04-05 22:56:10 +00:00
Dana Jansens
ec4e24a422 stacked and linear cycling 2003-04-05 22:44:50 +00:00
Dana Jansens
7ebc5c797f linear focus cycling of the gods 2003-04-05 22:20:14 +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
400003f4f3 double break statements :) oops 2003-04-03 14:17:26 +00:00
Dana Jansens
a048c4302a disallow resizing of windows which are shaded 2003-03-31 20:19:59 +00:00
Dana Jansens
2135d9e2fd make SendToDesktop action work right, give the option of following 2003-03-29 21:18:20 +00:00
Dana Jansens
b6b514c477 rm a redundant actiondata struct 2003-03-29 20:59:20 +00:00
Dana Jansens
5c472be0b3 translate sendtodesktop actions 2003-03-29 20:57:03 +00:00
Scott Moynes
a116f2c631 Menu data structures basically completed.
Need the engine support still, parser, and controllers.
2003-03-29 03:18:11 +00:00
Dana Jansens
9d136ab798 add unshaderaise and shadelower actions from Mikachu 2003-03-29 00:58:50 +00:00
Dana Jansens
8ac5a60322 rm client_disable_decorations.. it already had an action.
add the action to the action_from_string func
2003-03-28 23:02:57 +00:00
Dana Jansens
ca40e8b9ec add resizing event 2003-03-28 09:33:40 +00:00
Dana Jansens
92bea590c0 let a window be 'moved' to a new desktop without actually show/hiding it. useful for sending a window when following it, so theres no flash/flicker 2003-03-28 08:11:02 +00:00
Dana Jansens
1a32ba561a split up the relative move/resize actions into horz/vert 2003-03-26 13:13:45 +00:00
Dana Jansens
9eeb13ec71 create actions from string names 2003-03-26 12:53:04 +00:00
Dana Jansens
68fdcde19b let a be null for action_free 2003-03-26 12:28:20 +00:00
Dana Jansens
647b4ff43f check for no client 2003-03-26 04:56:37 +00:00
Dana Jansens
5038e82085 free the string for action_restart too 2003-03-26 03:36:39 +00:00
Dana Jansens
66dc14754b dont move/resize !normal windows 2003-03-24 18:42:20 +00:00
Dana Jansens
4a6e98cad8 add restart and exit actions 2003-03-24 00:01:55 +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
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
26f66bc932 init the GError to NULL 2003-03-20 01:55:25 +00:00
Dana Jansens
e442c6cc56 snap windows when moving them 2003-03-19 19:22:13 +00:00
Dana Jansens
75ee81d9bf add focusraise 2003-03-19 17:24:03 +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
ad44e8a708 add actions for key/mouse bindings etc 2003-03-18 08:39:28 +00:00