summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2010-02-12use g_slice_new() instead of g_new() part 4Dana Jansens
2010-02-12use g_slice_new() instead of g_new() part 2Dana Jansens
2010-02-12using g_slice_new() instead of g_new() part 1Dana Jansens
2010-02-12have obt refresh the xlib keyboard stuff on mappingnotify eventsDana Jansens
2010-02-11make control keys work in menus/dialogs/etc with the new obt code, using ↵Dana Jansens
XLookup stuff
2010-02-11initialize the action shutdown function to NULLDana Jansens
2010-02-11pass an input context to the interactive input functionDana Jansens
2010-02-11make menu input work with the new obt keyboard stuff.Dana Jansens
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-11make the menu use the new obt stuff when reading keyboard input so it can ↵Dana Jansens
handle input from the non-base group and composed input
2010-02-11make obt translate keypress events to a valid utf8 character (note this ↵Dana Jansens
makes openbox not compile)
2010-02-11don't strip the state for keyboard eventsDana Jansens
this allows translation of keys not in the base keyboard layout
2010-02-11get xlib to reload the keyboard on MappingNotify eventsDana Jansens
2010-02-11XKB header comes from obtDana Jansens
2010-02-11make the execute action not segfault when using a prompt (bug #4543)Dana Jansens
also save the client when using a prompt so it can be used if you choose "yes" from the prompt
2010-02-11add an optional shutdown function which actions can registerDana Jansens
2010-02-11i learnt what xkb does with the state.Dana Jansens
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-01-28Init all fonts to NULL, so if they arent in the config they use the default fontDana Jansens
2010-01-28Add a hook to unset the client in the open menu frame instead of closing itMikael Magnusson
Also nukes menu_frame_hide_all_client() as it is now unused.
2010-01-28Don't close the menu when you held control even for executeMikael Magnusson
2010-01-28Don't alt-tab to skip_taskbar iconic windows if they have parentsMikael Magnusson
2010-01-18adjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503)Dana Jansens
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-15don't use client_move() to end a moveDana Jansens
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-15allow multiple escaped _'s in a menu label, and allow a real _ to come later ↵Dana Jansens
in the label (Fixes bug #4355).
2010-01-15make edge detection for maximized windows only look at the edges of screensDana Jansens
2010-01-15catch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its ↵Dana Jansens
stdin/out (but we don't have one either). Fixes bug #4072.
2010-01-15if we get an event on a subwindow of root that we don't know about, but it ↵Dana Jansens
is related to a press we received on the root window, then process the event (Fixes bug #3702)
2010-01-15Remember the maximized state of a window when it goes fullscreen and try ↵Dana Jansens
restore it after
2010-01-14If a window places itself at (0,0) and there are struts there, assume it is ↵Dana Jansens
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-14allow app rules to match windows by their title when mappingDana Jansens
and save the title in the _OB_APP_TITLE property
2010-01-14if openbox isn't running, show messages on the console rather than just ↵Dana Jansens
losing them (like when another WM is running)
2010-01-14Merge branch 'backport' into workDana Jansens
Conflicts: openbox/frame.c
2010-01-14don't resize the label to 0Dana Jansens
2010-01-12remove the session.c file from actions, as it is no longer usedDana Jansens
2010-01-11NULL ic when we failed to load an imageMikael Magnusson
2010-01-11Merge branch 'backport' into workDana Jansens
Conflicts: configure.ac data/rc.xml openbox/client.c openbox/event.c openbox/focus_cycle.c openbox/focus_cycle_popup.c openbox/openbox.c openbox/prop.c openbox/prop.h openbox/screen.c parser/parse.c version.h.in
2010-01-11make focus cycle target fallback work right by going to the next prev windowDana Jansens
2010-01-11Make the focus cycle indicator follow target fallback in the popupDana Jansens
2010-01-11More work on refreshing the focus cycle dialog when windows are ↵Dana Jansens
added/removed from the valid focus order
2010-01-11Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPEDana Jansens
Add _OB_VERSION property on the root window. Change _OB_ROLE/CLASS/NAME to _OB_APP_*. Add _OB_APP_TYPE which has a string for the type chosen for the window on mapping by Openbox. Adjust the rc.xml to match these changes.
2010-01-11Reuse ObFocusCyclePopupTargets when refreshing the focus cycle dialogDana Jansens
2010-01-11Redraw the focus cycle popup when the list of focusable windows changes, ↵Dana Jansens
rather than closing it
2010-01-11If a window is added to the focus order while focus cycling, stop the focus ↵Dana Jansens
cycling istead of crashing (See bug #4411)
2010-01-10allow application rules to place transient/dialog/splash windows, and allow ↵Dana Jansens
application rules to match only on the role or type if you wish.
2010-01-08Rework the code provided by Kadlcik Libor for loading/showing icons in ↵Dana Jansens
Openbox menus. This changes how the imagecache works, you can load an image into it directly, or you can load it by name (then it will load it from a file on disk). NOTE: The name part is incomplete, as it needs to use the freedesktop.org icon spec to search for the right file. Also to resize it should look for another icon on disk with the same name but different size (icon themes).
2010-01-08No \n on ob_debug in this branch.Mikael Magnusson
2010-01-08Some style changes, less ifdefs.Mikael Magnusson
2010-01-08This patch implements support for icons in user-defined menus into OpenboxKadlcik Libor
Image loading is done using the Imlib2 library. I chose Imlib2 because it's pretty fast, it's easy to use, supports many file formats (tested xpm, gif, jpeg, png) and doesn't introduce too much bloat (it depends :)). I ported the patch to 3.4.7-pre3 and added some enhancements. Caching is much better now, and icons can be disabled at compile time using --disable-imlib2 option. What's new? Syntax of configuration files (namely rc.xml and menu.xml) has been changed slightly to allow users to associate icons to menu entries. This is done by specifying path to icon file in the new "icon" attribute in "<item>" element, e.g: <item label="Vim" icon="/usr/share/pixmaps/vim-32.xpm"> <action name="Execute"><execute>x-terminal-emulator -T Vim -e vim</execute></action> </item> If user doesn't want to display any icons in his user-defined menus, he/she can disable icons in rc.xml, inside "<menu>" section: <menu> ... <showIcons>no</showIcons> ... </menu> Default value is "yes". (New boolean variable "config_menu_user_show_icons" has been added to source code.) An icon is loaded (using menu_item_attach_icon()) when a new entry of menu is created. Fortunately, I haven't notice any performance problems because of this :).
2010-01-08Make focus_valid_target() take a desktop argument.Dana Jansens
So you can find valid targets on desktops other than the currently visible one
2010-01-08use the valid_focus_target() method for choosing what to show in the client ↵Dana Jansens
list menus
2010-01-08allow alt-tab etc to move focus to skip_taskbar windows when they are iconicDana Jansens