tweak border behavior, don't focus cycle through minimized windows
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmQIJpYACgkQO3+8IhRO Y5iOiw/+Ii5g95GRjNazlLbDQSabGIZjikfTULuXAy2cOAsS49geR1UyaLG7CAdA /MorWcrCoQYZN0SBdxHBkihNKvHS+Obm8i/ThzBP0iuwEsHzpKOVQQEF9WQ52hOE gHXjcXLnk3jvhuHIWAP6T1NS6OVEtwCno6tmGQMWPxuK+ow0LBEYN3oxBSf43/sV mjVnsFhbFjdPMXQkMEQlWkARgzXsolfFrprLdIHYqEfyAmD2smx2itUki2/xWruA 1N8wuxWjqmQruBza51FFhqoVE7PFtT8MO18NqAActKW1S5A3Q32giDkf4PfwOX81 OFdAeGqZetk11ftoVeBos40X6+f2iTQRyEHWYp0CUHfs5ROZF9w3XhlMbRhJCH5M Yh2h7WHB/tOC5u3DGXzhefpWjzqFL0sfHyJvzmnwHHu0s+W+QndSdZFPe4VabXy5 xLlRjb3193qkkK2I2lypuM92WYECvQ/EIUF1TOBwB8avtUfDkUh8MorkhoJlRpng MZdIOik/5eS7EPYvyXn0JiGxlIVtfN82PXKsW0krk0hp9FLBvcR8v77cmt9C80o1 rzIUTcHZE3qHUV5kKwOCBq1dLCZRfRVi3WEdd66vGYzzm50X9DEs4/PZdqQVDPdS 37pJ+NtacRPK8ojLp5+D4OQ7BxplpfawEUnKSW2LUt/GyNuUupA= =Ui+3 -----END PGP SIGNATURE-----
3 files changed,
16 insertions(+),
25 deletions(-)
M
configure.ac
→
configure.ac
@@ -1,5 +1,5 @@
-AC_PREREQ([2.54]) -AC_INIT([openbox], [3.6], [http://bugzilla.icculus.org]) +AC_PREREQ([2.71]) +AC_INIT([openbox],[3.6],[http://bugzilla.icculus.org]) AC_CONFIG_SRCDIR([openbox/openbox.c]) AM_INIT_AUTOMAKE([foreign])@@ -126,10 +126,8 @@ AC_SUBST(XML_CFLAGS)
AC_SUBST(XML_LIBS) AC_ARG_ENABLE(startup-notification, - AC_HELP_STRING( - [--disable-startup-notification], - [disable the startup notification library. [default=enabled]] - ), + AS_HELP_STRING([--disable-startup-notification],[disable the startup notification library. [default=enabled] + ]), [enable_sn=$enableval], [enable_sn=yes] )@@ -151,10 +149,8 @@ sn_found=no
fi AC_ARG_ENABLE(xcursor, - AC_HELP_STRING( - [--disable-xcursor], - [disable use of the X Cursor library. [default=enabled]] - ), + AS_HELP_STRING([--disable-xcursor],[disable use of the X Cursor library. [default=enabled] + ]), [enable_xcursor=$enableval], [enable_xcursor=yes] )@@ -176,10 +172,8 @@ xcursor_found=no
fi AC_ARG_ENABLE(imlib2, - AC_HELP_STRING( - [--disable-imlib2], - [disable use of Imlib2 image library for loading icons. [default=enabled]] - ), + AS_HELP_STRING([--disable-imlib2],[disable use of Imlib2 image library for loading icons. [default=enabled] + ]), [enable_imlib2=$enableval], [enable_imlib2=yes] )@@ -206,10 +200,8 @@
AM_CONDITIONAL(USE_IMLIB2, [test $imlib2_found = yes]) AC_ARG_ENABLE(librsvg, - AC_HELP_STRING( - [--disable-librsvg], - [disable use of SVG image files for loading icons. [default=enabled]] - ), + AS_HELP_STRING([--disable-librsvg],[disable use of SVG image files for loading icons. [default=enabled] + ]), [enable_librsvg=$enableval], [enable_librsvg=yes] )
M
openbox/client.c
→
openbox/client.c
@@ -1861,13 +1861,12 @@ if (! (self->mwmhints.decorations & OB_MWM_DECOR_ALL)) {
if (! ((self->mwmhints.decorations & OB_MWM_DECOR_HANDLE) || (self->mwmhints.decorations & OB_MWM_DECOR_TITLE))) { - /* if the mwm hints request no handle or title, then all - decorations are disabled, but keep the border if that's - specified */ - if (self->mwmhints.decorations & OB_MWM_DECOR_BORDER) + if (self->type != OB_CLIENT_TYPE_DOCK) { self->decorations = OB_FRAME_DECOR_BORDER; - else + } + else { self->decorations = 0; + } } } }@@ -1927,7 +1926,7 @@ /* once upon a time you couldn't resize maximized windows, that is not
the case any more though ! but do kill the handle on fully maxed windows */ - self->decorations &= ~(OB_FRAME_DECOR_HANDLE | OB_FRAME_DECOR_GRIPS); + self->decorations &= ~(OB_FRAME_DECOR_HANDLE | OB_FRAME_DECOR_GRIPS | OB_FRAME_DECOR_BORDER); } /* if we don't have a titlebar, then we cannot shade! */
M
openbox/focus_cycle.c
→
openbox/focus_cycle.c
@@ -124,7 +124,7 @@ else list = focus_order;
if (focus_cycle_target == NULL) { focus_cycle_linear = linear; - focus_cycle_iconic_windows = TRUE; + focus_cycle_iconic_windows = FALSE; focus_cycle_all_desktops = all_desktops; focus_cycle_nonhilite_windows = nonhilite_windows; focus_cycle_dock_windows = dock_windows;