Package: openbox
Version: 3.4.11.1-1
Severity: normal
Hi,
the bug is caused by this line:
openbox/event.c:1728: if (frame->selected->entry->type ==
OB_MENU_ENTRY_TYPE_SUBMENU) {
frame->selected might be NULL.
fix:
*** openbox-orig/openbox-3.4.11.1/openbox/event.c 2010-03-14
15:40:37.000000000 +0100
--- openbox-3.4.11.1/openbox/event.c 2011-11-26 17:00:45.000000000 +0100
***************
*** 1725,1731 ****
else if (ob_keycode_match(keycode, OB_KEY_RIGHT)) {
/* Right goes to the selected submenu */
! if (frame->selected->entry->type == OB_MENU_ENTRY_TYPE_SUBMENU) {
/* make sure it is visible */
menu_frame_select(frame, frame->selected, TRUE);
menu_frame_select_next(frame->child);
--- 1725,1731 ----
else if (ob_keycode_match(keycode, OB_KEY_RIGHT)) {
/* Right goes to the selected submenu */
! if (frame->selected && frame->selected->entry->type ==
OB_MENU_ENTRY_TYPE_SUBMENU) {
/* make sure it is visible */
menu_frame_select(frame, frame->selected, TRUE);
menu_frame_select_next(frame->child);
Bye,
Jan
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38.7-local (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openbox depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1+squeeze3 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libobparser21 3.4.11.1-1 parsing library for openbox
ii libobrender21 3.4.11.1-1 rendering library for openbox them
ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libstartup-notific 0.10-1 library for program launch feedbac
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxft2 2.1.14-2 FreeType-based font drawing librar
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
ii libxml2 2.7.8.dfsg-2+squeeze1 GNOME XML library
ii libxrandr2 2:1.3.0-3 X11 RandR extension library
ii libxrender1 1:0.9.6-1 X Rendering Extension client libra
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages openbox recommends:
ii openbox-themes 1.0.2 Themes for the Openbox window mana
Versions of packages openbox suggests:
ii libxml2-dev 2.7.8.dfsg-2+squeeze1 Development files for the GNOME XM
ii menu 2.1.44 generates programs menu for all me
ii obconf 2.0.3-3 Preferences manager for Openbox wi
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
pn ttf-dejavu <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]