Hello community,

here is the log from the commit of package marco for openSUSE:Factory checked 
in at 2014-11-02 16:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/marco (Old)
 and      /work/SRC/openSUSE:Factory/.marco.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "marco"

Changes:
--------
--- /work/SRC/openSUSE:Factory/marco/marco.changes      2014-10-05 
20:32:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.marco.new/marco.changes 2014-11-02 
16:45:45.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Oct 29 17:05:11 UTC 2014 - [email protected]
+
+- Add marco-1.8.2-fix-the-resizing-of-CSD-windows.patch; the windows
+  can't be resized if builded with CSD
+
+-------------------------------------------------------------------

New:
----
  marco-1.8.2-fix-the-resizing-of-CSD-windows.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ marco.spec ++++++
--- /var/tmp/diff_new_pack.c9Votu/_old  2014-11-02 16:45:47.000000000 +0100
+++ /var/tmp/diff_new_pack.c9Votu/_new  2014-11-02 16:45:47.000000000 +0100
@@ -24,6 +24,8 @@
 Url:            http://mate-desktop.org/
 Group:          System/GUI/Other
 Source:         
http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM marco-1.8.2-fix-the-resizing-of-CSD-windows.patch 
--resizing doesn't work with CSD
+Patch:          %{name}-%{version}-fix-the-resizing-of-CSD-windows.patch
 %glib2_gsettings_schema_requires
 
 BuildRequires:  fdupes
@@ -79,6 +81,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 %configure \

++++++ marco-1.8.2-fix-the-resizing-of-CSD-windows.patch ++++++
>From 75e7c40a57d31c6e9ac640804af9cf73df5ea44f Mon Sep 17 00:00:00 2001
From: monsta <[email protected]>
Date: Fri, 24 Oct 2014 15:19:23 +0400
Subject: [PATCH] Fix the resizing of CSD windows

---
 src/ui/frames.c | 33 ++++++++++-----------------------
 1 file changed, 10 insertions(+), 23 deletions(-)

diff --git a/src/ui/frames.c b/src/ui/frames.c
index 57b7318..75359de 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1627,7 +1627,6 @@ meta_frames_button_press_event (GtkWidget      *widget,
             control == META_FRAME_CONTROL_RESIZE_W))
     {
       MetaGrabOp op;
-      gboolean titlebar_is_onscreen;
 
       op = META_GRAB_OP_NONE;
 
@@ -1662,28 +1661,16 @@ meta_frames_button_press_event (GtkWidget      *widget,
           break;
         }
 
-      meta_core_get (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), 
frame->xwindow,
-                     META_CORE_IS_TITLEBAR_ONSCREEN, &titlebar_is_onscreen,
-                     META_CORE_GET_END);
-
-      if (!titlebar_is_onscreen)
-        meta_core_show_window_menu (GDK_DISPLAY_XDISPLAY 
(gdk_display_get_default ()),
-                                    frame->xwindow,
-                                    event->x_root,
-                                    event->y_root,
-                                    event->button,
-                                    event->time);
-      else
-        meta_core_begin_grab_op (GDK_DISPLAY_XDISPLAY (gdk_display_get_default 
()),
-                                 frame->xwindow,
-                                 op,
-                                 TRUE,
-                                 TRUE,
-                                 event->button,
-                                 0,
-                                 event->time,
-                                 event->x_root,
-                                 event->y_root);
+      meta_core_begin_grab_op (GDK_DISPLAY_XDISPLAY (gdk_display_get_default 
()),
+                               frame->xwindow,
+                               op,
+                               TRUE,
+                               TRUE,
+                               event->button,
+                               0,
+                               event->time,
+                               event->x_root,
+                               event->y_root);
     }
   else if (control == META_FRAME_CONTROL_TITLE &&
            event->button == 1)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to