/[gentoo-x86]/x11-wm/openbox/files/openbox-3.5.0-gtk34.patch
Gentoo

Contents of /x11-wm/openbox/files/openbox-3.5.0-gtk34.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 17 21:38:58 2012 UTC (9 months ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Apply fix against gtk-3.4. Bug #424747. Thanks to Francisco Vazquez <fjvazquezaraujo@gmail.com>

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 hwoarang 1.1 https://bugs.gentoo.org/show_bug.cgi?id=424747
2     https://bugzilla.icculus.org/show_bug.cgi?id=5460
3    
4     From: Mikael Magnusson <mikachu@gmail.com>
5     Date: Sun, 3 Jun 2012 18:18:48 +0000 (+0200)
6     Subject: Fix crash on unexpected NET_WM_MOVERESIZE_CANCEL messages
7     X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=339c19d1b3a7a5139aed8b59bad755ddd0e518ff;hp=9a20250243dd57525d83d6e9bba069c932dbe542
8    
9     Fix crash on unexpected NET_WM_MOVERESIZE_CANCEL messages
10    
11     gtk+ 3.4 apparently sends these randomly when you select text in a
12     GtkEntry. This also fixes bug #5460.
13     ---
14    
15     diff --git a/openbox/event.c b/openbox/event.c
16     index b9ec1c5..4d091bf 100644
17     --- a/openbox/event.c
18     +++ b/openbox/event.c
19     @@ -1495,7 +1495,8 @@ static void event_handle_client(ObClient *client, XEvent *e)
20     }
21     else if ((Atom)e->xclient.data.l[2] ==
22     OBT_PROP_ATOM(NET_WM_MOVERESIZE_CANCEL))
23     - moveresize_end(TRUE);
24     + if (moveresize_client)
25     + moveresize_end(TRUE);
26     } else if (msgtype == OBT_PROP_ATOM(NET_MOVERESIZE_WINDOW)) {
27     gint ograv, x, y, w, h;
28    

  ViewVC Help
Powered by ViewVC 1.1.13