public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch rxvt-unicode_no-urgency-if-focused.diff
@ 2008-11-01  9:35 Rene Nussbaumer (killerfox)
  0 siblings, 0 replies; 2+ messages in thread
From: Rene Nussbaumer (killerfox) @ 2008-11-01  9:35 UTC (permalink / raw
  To: gentoo-commits

killerfox    08/11/01 09:35:13

  Added:                rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch
                        rxvt-unicode_no-urgency-if-focused.diff
  Log:
  Revision bump fixing two bugs
  (Portage version: 2.1.4.5)

Revision  Changes    Path
1.1                  x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch?rev=1.1&content-type=text/plain

Index: rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch
===================================================================
While setting MWM_HINTS_DECORATIONS to disable window decorations
seems to work with most window managers, using _MOTIF_WM_INFO seems
not to, and in some cases can lead to severe problems with focus
management. Therefore this patch here disables the _MOTIF_WM_INFO
check and always attempts to have the window manager honour the
decorations hint.

If your window manager does not honour MWM_HINTS_DECORATIONS, and you
are determined that you want to have borderless windows nevertheless,
you are still free to enable override-redirect manually, using the
corresponding command line option or X resource.

See also: http://bugs.gentoo.org/show_bug.cgi?id=237271
2008-09-10 Martin von Gagern

Index: src/init.C
===================================================================
RCS file: /schmorpforge/rxvt-unicode/src/init.C,v
retrieving revision 1.253
diff -u -r1.253 init.C
--- src/init.C	15 Jul 2008 16:41:22 -0000	1.253
+++ src/init.C	10 Sep 2008 08:07:09 -0000
@@ -1078,15 +1078,7 @@
 #if ENABLE_FRILLS
   if (option (Opt_borderLess))
     {
-      if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None)
-        {
-          // rxvt_warn("Window Manager does not support MWM hints.  Bypassing window manager control for borderless window.\n");
-          attributes.override_redirect = true;
-        }
-      else
-        {
           mwmhints.flags = MWM_HINTS_DECORATIONS;
-        }
     }
 #endif
 



1.1                  x11-terms/rxvt-unicode/files/rxvt-unicode_no-urgency-if-focused.diff

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode_no-urgency-if-focused.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-terms/rxvt-unicode/files/rxvt-unicode_no-urgency-if-focused.diff?rev=1.1&content-type=text/plain

Index: rxvt-unicode_no-urgency-if-focused.diff
===================================================================
--- src/screen.C.orig	2008-08-01 11:56:18.380063687 +0200
+++ src/screen.C	2008-08-01 11:56:30.046093124 +0200
@@ -1898,7 +1898,7 @@
 # endif
 
 # if ENABLE_FRILLS
-  if (option (Opt_urgentOnBell))
+  if (option (Opt_urgentOnBell) && !focus)
     {
       if (XWMHints *h = XGetWMHints(dpy, parent[0]))
         {






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch rxvt-unicode_no-urgency-if-focused.diff
@ 2010-01-27  7:05 Jeroen Roovers (jer)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2010-01-27  7:05 UTC (permalink / raw
  To: gentoo-commits

jer         10/01/27 07:05:29

  Removed:              rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch
                        rxvt-unicode_no-urgency-if-focused.diff
  Log:
  Remove old.
  (Portage version: 2.2_rc61/cvs/Linux i686)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-27  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27  7:05 [gentoo-commits] gentoo-x86 commit in x11-terms/rxvt-unicode/files: rxvt-unicode-9.05_no-MOTIF-WM-INFO.patch rxvt-unicode_no-urgency-if-focused.diff Jeroen Roovers (jer)
  -- strict thread matches above, loose matches on Subject: below --
2008-11-01  9:35 Rene Nussbaumer (killerfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox