Dana Jansens
b0d892e975
seggie
2003-10-08 19:23:53 +00:00
Dana Jansens
8852ee21b0
alt-drag resizing can resize in just vertical and horizontal directions now
2003-10-06 17:47:41 +00:00
Dana Jansens
9bd60fd92b
dont queue up interative end actions
2003-10-02 04:06:40 +00:00
Dana Jansens
6f5292c87e
define DEBUG, NDEBUG, and G_DISABLE_ASSERTS
2003-10-01 17:28:12 +00:00
Dana Jansens
8feba8518b
when a window is lowered, move it to the bottom of the focus order list
2003-09-29 07:25:00 +00:00
Dana Jansens
2c99038a0a
make the Desktop action default to non-interactive
2003-09-29 06:33:17 +00:00
Dana Jansens
ac3a588266
properly show/hide the dialog for the Desktop action
2003-09-27 17:24:45 +00:00
Dana Jansens
bc1148f0b3
fix cancelling desktordir actions
2003-09-27 05:57:08 +00:00
Dana Jansens
598bf575c8
allow focus and desktop actions to specify a <dialog>yesorno</dialog> value
2003-09-26 20:04:29 +00:00
Dana Jansens
54b8eb3bf3
bring back action_run_string,
...
use action_run_string for running actions from other actions
2003-09-26 18:02:39 +00:00
Dana Jansens
1241a0cf0d
remove action_run_string, as this is not going to be a common thing I think
2003-09-26 17:46:27 +00:00
Dana Jansens
eb51015bc3
dont run actions immediately. put them in the queue. add action_run_string for niternal use
2003-09-26 17:29:33 +00:00
Dana Jansens
adb9bb700f
give actions a ref count
2003-09-26 16:47:12 +00:00
Dana Jansens
11615ac2c4
make the Desktop action an interactive one
2003-09-26 07:41:32 +00:00
Dana Jansens
9933885493
dont include transients in raise/lower interactions
2003-09-26 06:47:02 +00:00
Dana Jansens
b4fa843575
add client_set_undecorated().
...
add support for the _OB_WM_STATE_UNDECORATED state hint.
2003-09-25 23:07:15 +00:00
Dana Jansens
1213b079bb
add the ObClientActionReq to ObAction which says if an action needs a client for it or not
2003-09-24 18:20:49 +00:00
Dana Jansens
89286cbe83
fix problems with conflicing interactive desktop switching and send-to-ing
2003-09-24 06:29:09 +00:00
Dana Jansens
8b5619d0ad
add comment
2003-09-22 04:13:34 +00:00
Dana Jansens
d9e08487df
when ending actions which can move windows, and we were using the mouse, instead of doing a focus fallback, which instantly focuses, and doesn't raise, we do an event_enter_client which simulates the act of entering the window with the pointer
2003-09-21 21:26:07 +00:00
Dana Jansens
904327a0c8
grab the pointer before doing client actions more intelligently, i.e. only when using sloppy focus.
...
fallback focus after the action if the action was fired via a mouse binding, otherwise do not. this makes keyboard bindings not fuck with sloppy focus.
2003-09-21 19:38:57 +00:00
Dana Jansens
a260db31a9
if the keyboard is grabbed then dont ungrab it!
2003-09-21 17:17:34 +00:00
Dana Jansens
44fd94ff51
only allow running lists of actions at a time, policy is to always allow multiple action bindings, so this enforces it, and at the same time, UngrabKeyboard() before firing actions if there are no interactive ones. This is needed for some execute's, namely gnome-panel-control --main-menu.
2003-09-19 17:40:26 +00:00
Dana Jansens
ebe3091560
const
2003-09-17 08:01:37 +00:00
Dana Jansens
16f46c296d
no tabs
2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41
add copyright headers, adjust --version output to include copyright, and --help output to not include version output.
2003-09-17 07:32:52 +00:00
Dana Jansens
f85a855417
make ob_exit() take an error code. don't exit with 0 for signals other than TERM and INT.
2003-09-17 02:50:20 +00:00
Dana Jansens
c1b2fc5324
make openbox base-dir spec compliant, and change the theme dir structure, so that themes go in $XDG_DATA_DIRS/themes/ with gtk/metacity/whateverelse themes
2003-09-15 19:20:05 +00:00
Dana Jansens
673383d047
fix mem leak
2003-09-14 20:56:48 +00:00
Dana Jansens
396eb330ac
oops, copypaste
2003-09-10 17:11:46 +00:00
Dana Jansens
d4f192394f
dont deref the client before checking for null
2003-09-10 17:10:11 +00:00
Dana Jansens
8fe0cb8989
no more interactive mouse actions, they are evil etc. actions now "feel" much more solid. if move/resizing a window while changing workspaces, it will follow.
2003-09-09 07:16:38 +00:00
Dana Jansens
0f544808b8
no mouse interactive actions. no bugs.
2003-09-09 06:07:00 +00:00
Dana Jansens
e5f27bd25e
grab the pointer befoer shading a window to prevent focus moving in sloppy focus
2003-09-08 17:25:51 +00:00
Dana Jansens
78282959f9
little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
...
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case)
remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
2003-09-07 19:03:20 +00:00
Dana Jansens
9d35b8c198
use the NONE cursor when not specifying a cursor
2003-09-03 20:31:50 +00:00
Dana Jansens
806a8c411f
add a reconfigure action, also reconfigure on SIGUSR2.
...
support reconfiguring throughout the entire codebase.
2003-09-03 18:11:39 +00:00
Dana Jansens
0223fed117
grab the mouse before any move/resizes in actions, preventing focus from moving when followMouse is on and the window moves/resizes out from under the pointer
2003-09-02 17:54:11 +00:00
Dana Jansens
fa55dc4bb1
grow to edge is a move and a resize, oops
2003-09-02 05:34:04 +00:00
Dana Jansens
ed6f5152eb
remove vibrate and flash actions
2003-09-01 03:42:23 +00:00
Dana Jansens
1b0a66dcff
add flash action
2003-09-01 02:57:53 +00:00
Dana Jansens
9d42df6ab4
add urgent actions
...
add some macros for moving/resizing clients
add 'vibrate' action
2003-09-01 02:02:40 +00:00
Dana Jansens
a1fdeedbf2
s/expand_tile/ob_expand_tilde/
2003-09-01 01:11:15 +00:00
Dana Jansens
b543af60b3
move expand_tilde to ob_expand_tilde in openbox.c to make it global.
...
use it on the command read in the menu parsing for pipe menus.
use it on the command read for execute/restart actions.
2003-09-01 00:53:55 +00:00
Dana Jansens
854da68d0f
add the DesktopLast action, props to marius nita for this one
2003-08-31 20:06:42 +00:00
Dana Jansens
4ab212d0cd
make directional focusing an interactive action
2003-08-31 18:54:26 +00:00
Dana Jansens
2c6c0757fa
make interactive actions a type and not special cases.
...
add the <interactive> option to them to turn off interactivity
2003-08-30 16:58:30 +00:00
Dana Jansens
485fbff15d
remove plugins from the menu parsing
2003-08-29 07:57:18 +00:00
Dana Jansens
0b4cd7a0cf
typo, reading from the wrong member of the actiondata union
2003-08-29 06:48:32 +00:00
Dana Jansens
60fa05f70c
rm double ;;
2003-08-28 08:15:45 +00:00