Dana Jansens
1265a23e53
include imlib2 as a dep of obrender in the pkg-config file if it's using it
2010-02-12 15:13:39 -05:00
Dana Jansens
3f5403a916
make the obt .pc file do -lobt, not -lobrender
2010-02-12 15:09:03 -05:00
Dana Jansens
aeac3b735b
remove a bunch of g_new()/g_free() by returning Rect const*'s from screen area functions when possible
2010-02-12 14:37:33 -05:00
Dana Jansens
e61fd8874a
use g_slice_new() instead of g_new() part 4
2010-02-12 14:13:32 -05:00
Dana Jansens
890e13b919
use g_slice_new() instead of g_new() part 3
2010-02-12 14:03:24 -05:00
Dana Jansens
4f93731cdb
use g_slice_new() instead of g_new() part 2
2010-02-12 13:55:26 -05:00
Dana Jansens
1d57f7b085
using g_slice_new() instead of g_new() part 1
2010-02-12 13:44:10 -05:00
Dana Jansens
98c86118ca
have obt refresh the xlib keyboard stuff on mappingnotify events
2010-02-12 13:31:49 -05:00
Dana Jansens
7c2eb3a781
destroy XIC's that belong to an XIM before closing the XIM, else Xlib will seggie!
2010-02-12 09:37:46 -05:00
Mikael Magnusson
aa5394cad2
Check node->name for null
...
Seems to happen sometimes with a well placed xml comment.
2010-02-12 05:07:44 +01:00
Dana Jansens
35ce211ec3
dont print warnings when reading keys which dont generate text
2010-02-11 15:15:01 -05:00
Dana Jansens
096dad0c6c
make control keys work in menus/dialogs/etc with the new obt code, using XLookup stuff
2010-02-11 15:07:08 -05:00
Dana Jansens
6c760c5a63
initialize the action shutdown function to NULL
2010-02-11 14:58:53 -05:00
Dana Jansens
5b6f3c6f7a
pass an input context to the interactive input function
2010-02-11 14:39:09 -05:00
Dana Jansens
08269cefbc
make menu input work with the new obt keyboard stuff.
...
create an Input Context for use during keyboard grabs, and use this to
translate KeyPress events properly.
make the menu respond to KeyPress events, since these are the only ones that
can be translated properly, but still execute things from KeyRelease events
2010-02-11 14:17:59 -05:00
Dana Jansens
62f8a5c49b
make the menu use the new obt stuff when reading keyboard input so it can handle input from the non-base group and composed input
2010-02-11 14:06:03 -05:00
Dana Jansens
41dbce908a
make obt translate keypress events to a valid utf8 character (note this makes openbox not compile)
2010-02-11 14:06:00 -05:00
Dana Jansens
43d62990e4
don't strip the state for keyboard events
...
this allows translation of keys not in the base keyboard layout
2010-02-11 13:34:46 -05:00
Dana Jansens
8f1ea42bb1
add interface in obt to create an Input Context for a window
2010-02-11 11:27:36 -05:00
Dana Jansens
6e280e9f53
create an X Input Method in obt for the app to use for all input
2010-02-11 11:16:17 -05:00
Dana Jansens
e83803b8b0
get xlib to reload the keyboard on MappingNotify events
2010-02-11 11:01:19 -05:00
Dana Jansens
c745d0573a
XKB header comes from obt
2010-02-11 11:01:19 -05:00
Dana Jansens
8add92416d
check the xkb version before using it
2010-02-11 11:01:18 -05:00
Dana Jansens
580e2167f8
make the execute action not segfault when using a prompt (bug #4543 )
...
also save the client when using a prompt so it can be used if you choose "yes" from the prompt
2010-02-11 11:01:18 -05:00
Dana Jansens
2202f11f23
add an optional shutdown function which actions can register
2010-02-11 11:01:18 -05:00
Dana Jansens
c168faee63
i learnt what xkb does with the state.
...
use the state from keyrelease events directly, rather than query the state (which is not as accurate!)
the xkb state (as opposed to the normally sent compat state) contains extra info like the keyboard group, the pointer buttons, etc. so we can just strip that stuff out. (See section 2.2.2 of the XKB proto document)
2010-02-11 11:01:15 -05:00
Dana Jansens
e9070fe7da
dont assert when there is no valid key layout present
2010-02-09 21:01:58 -05:00
Mikael Magnusson
4f83a15fa1
Use correct ac variable in version.h.in
2010-02-10 02:29:53 +01:00
Dana Jansens
78b8bd01c2
don't link libobt into libobrender
...
it makes "warning relinking" weird things happen when doing make install.
we already list it as dependency in the pkgconfig file anyway
2010-02-09 11:01:15 -05:00
Dana Jansens
8116106f9d
fixing up obxprop manpage
2010-02-08 15:04:35 -05:00
Dana Jansens
6014a41760
Merge branch 'backport' into work
2010-02-08 14:28:18 -05:00
Dana Jansens
687f6e6e4e
add doc/obxprop.1 to gitignore
2010-02-08 14:27:49 -05:00
Dana Jansens
95f81b8e4c
Add obxprop manpage to install
2010-02-08 14:23:32 -05:00
Dana Jansens
f7440be0f5
Update the manpage for obxprop
...
Specify that it allows you to specify properties on the command line.
Update the variable names to _OB_APP_*.
2010-02-08 14:23:26 -05:00
Dana Jansens
31f0c8c1ad
Merge branch 'backport' into work
2010-02-05 13:47:58 -05:00
Dana Jansens
02a956b065
Init all fonts to NULL, so if they arent in the config they use the default font
2010-01-28 08:40:07 -05:00
Mikael Magnusson
0cd6f4e43c
Add a hook to unset the client in the open menu frame instead of closing it
...
Also nukes menu_frame_hide_all_client() as it is now unused.
2010-01-28 08:40:07 -05:00
Mikael Magnusson
7cfaae8da9
Don't close the menu when you held control even for execute
2010-01-28 08:40:07 -05:00
Mikael Magnusson
d00a0060f0
Don't alt-tab to skip_taskbar iconic windows if they have parents
2010-01-28 08:40:00 -05:00
Dana Jansens
2ab63cb36f
make xdg-autostart use the OPENBOX environment by default, so you can say OnlyShowIn=OPENBOX in a .desktop and it will work as expected
2010-01-27 20:01:24 -05:00
Dana Jansens
14f8b4cb54
Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted
2010-01-24 00:07:56 -05:00
Dana Jansens
03b4c87205
adjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503 )
...
allow window types != NORMAL to not show up in the alt-tab list
but don't allow DIALOG types to hide from the list
also any window which is DEMANDS_ATTENTION should appear in the list regardless
of its SKIP_TASKBAR status
2010-01-18 16:21:43 -05:00
Dana Jansens
7be28d3010
don't use client_move() to end a move
...
client_move() uses the client's current width/height, whereas all along we
were using the width/height the client had at the start, so this causes
client_configure() to behave differently at the end than during the move
2010-01-15 17:49:54 -05:00
Dana Jansens
16433ce06c
allow multiple escaped _'s in a menu label, and allow a real _ to come later in the label (Fixes bug #4355 ).
2010-01-15 16:40:29 -05:00
Dana Jansens
1e72cf5e45
make edge detection for maximized windows only look at the edges of screens
2010-01-15 16:15:05 -05:00
Dana Jansens
8d7ab691b8
catch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its stdin/out (but we don't have one either). Fixes bug #4072 .
2010-01-15 16:06:28 -05:00
Dana Jansens
0e3ce9e407
if we get an event on a subwindow of root that we don't know about, but it is related to a press we received on the root window, then process the event (Fixes bug #3702 )
2010-01-15 15:14:58 -05:00
Dana Jansens
d3ca5d5b4c
Remember the maximized state of a window when it goes fullscreen and try restore it after
2010-01-15 14:50:36 -05:00
Dana Jansens
54e04a520b
If a window places itself at (0,0) and there are struts there, assume it is a bug. Also allow oldschool fullscreen windows that cover all monitors on a multihead setup to work properly
...
Added a test 'oldfullscreen' that makes a oldschool fullscreen window
2010-01-14 18:41:25 -05:00
Dana Jansens
6cf3357036
allow app rules to match windows by their title when mapping
...
and save the title in the _OB_APP_TITLE property
2010-01-14 18:41:21 -05:00