Hello community,

here is the log from the commit of package bspwm for openSUSE:Factory checked 
in at 2018-04-13 12:50:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bspwm (Old)
 and      /work/SRC/openSUSE:Factory/.bspwm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bspwm"

Fri Apr 13 12:50:35 2018 rev:6 rq:595808 version:0.9.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/bspwm/bspwm.changes      2018-03-30 
12:07:58.468537088 +0200
+++ /work/SRC/openSUSE:Factory/.bspwm.new/bspwm.changes 2018-04-13 
12:51:01.696817576 +0200
@@ -1,0 +2,9 @@
+Wed Apr 11 21:37:19 UTC 2018 - avin...@opensuse.org
+
+- Update to 0.9.5
+  * Fix resize by mouse behavioral change
+  * Disable 4 default options (IGNORE_EWMH_FOCUS,
+    REMOVE_DISABLED_MONITORS, REMOVE_UNPLUGGED_MONITORS,
+    MERGE_OVERLAPPING_MONITORS)
+
+-------------------------------------------------------------------

Old:
----
  bspwm-0.9.4.tar.gz

New:
----
  bspwm-0.9.5.tar.gz

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

Other differences:
------------------
++++++ bspwm.spec ++++++
--- /var/tmp/diff_new_pack.MudnBz/_old  2018-04-13 12:51:02.728780188 +0200
+++ /var/tmp/diff_new_pack.MudnBz/_new  2018-04-13 12:51:02.728780188 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           bspwm
-Version:        0.9.4
+Version:        0.9.5
 Release:        0
 Summary:        A tiling window manager based on binary space partitioning
 License:        BSD-2-Clause

++++++ bspwm-0.9.4.tar.gz -> bspwm-0.9.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/VERSION new/bspwm-0.9.5/VERSION
--- old/bspwm-0.9.4/VERSION     2018-03-28 10:34:36.000000000 +0200
+++ new/bspwm-0.9.5/VERSION     2018-04-08 18:57:29.000000000 +0200
@@ -1 +1 @@
-0.9.4
\ No newline at end of file
+0.9.5
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/doc/bspwm.1 new/bspwm-0.9.5/doc/bspwm.1
--- old/bspwm-0.9.4/doc/bspwm.1 2018-03-28 10:34:36.000000000 +0200
+++ new/bspwm-0.9.5/doc/bspwm.1 2018-04-08 18:57:29.000000000 +0200
@@ -2,12 +2,12 @@
 .\"     Title: bspwm
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\"      Date: 03/28/2018
+.\"      Date: 04/08/2018
 .\"    Manual: Bspwm Manual
-.\"    Source: Bspwm 0.9.4
+.\"    Source: Bspwm 0.9.5
 .\"  Language: English
 .\"
-.TH "BSPWM" "1" "03/28/2018" "Bspwm 0\&.9\&.4" "Bspwm Manual"
+.TH "BSPWM" "1" "04/08/2018" "Bspwm 0\&.9\&.5" "Bspwm Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -1264,8 +1264,7 @@
 .PP
 \fIignore_ewmh_focus\fR
 .RS 4
-Ignore EWMH focus requests coming from applications\&. Defaults to
-\fItrue\fR\&.
+Ignore EWMH focus requests coming from applications\&.
 .RE
 .PP
 \fIignore_ewmh_fullscreen\fR
@@ -1290,20 +1289,17 @@
 .PP
 \fIremove_disabled_monitors\fR
 .RS 4
-Consider disabled monitors as disconnected\&. Defaults to
-\fItrue\fR\&.
+Consider disabled monitors as disconnected\&.
 .RE
 .PP
 \fIremove_unplugged_monitors\fR
 .RS 4
-Remove unplugged monitors\&. Defaults to
-\fItrue\fR\&.
+Remove unplugged monitors\&.
 .RE
 .PP
 \fImerge_overlapping_monitors\fR
 .RS 4
-Merge overlapping monitors (the bigger remains)\&. Defaults to
-\fItrue\fR\&.
+Merge overlapping monitors (the bigger remains)\&.
 .RE
 .SS "Monitor and Desktop Settings"
 .PP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/doc/bspwm.1.asciidoc 
new/bspwm-0.9.5/doc/bspwm.1.asciidoc
--- old/bspwm-0.9.4/doc/bspwm.1.asciidoc        2018-03-28 10:34:36.000000000 
+0200
+++ new/bspwm-0.9.5/doc/bspwm.1.asciidoc        2018-04-08 18:57:29.000000000 
+0200
@@ -722,7 +722,7 @@
        Handle the next *mapping_events_count* mapping notify events. A 
negative value implies that every event needs to be handled.
 
 'ignore_ewmh_focus'::
-       Ignore EWMH focus requests coming from applications. Defaults to 'true'.
+       Ignore EWMH focus requests coming from applications.
 
 'ignore_ewmh_fullscreen'::
        Block the fullscreen state transitions that originate from an EWMH 
request. The possible values are: *none*, *all*, or a comma separated list of 
the following values: *enter*, *exit*.
@@ -734,13 +734,13 @@
        Apply ICCCM window size hints.
 
 'remove_disabled_monitors'::
-       Consider disabled monitors as disconnected. Defaults to 'true'.
+       Consider disabled monitors as disconnected.
 
 'remove_unplugged_monitors'::
-       Remove unplugged monitors. Defaults to 'true'.
+       Remove unplugged monitors.
 
 'merge_overlapping_monitors'::
-       Merge overlapping monitors (the bigger remains). Defaults to 'true'.
+       Merge overlapping monitors (the bigger remains).
 
 Monitor and Desktop Settings
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/src/monitor.c 
new/bspwm-0.9.5/src/monitor.c
--- old/bspwm-0.9.4/src/monitor.c       2018-03-28 10:34:36.000000000 +0200
+++ new/bspwm-0.9.5/src/monitor.c       2018-04-08 18:57:29.000000000 +0200
@@ -460,7 +460,7 @@
                return false;
        }
 
-       monitor_t *m, *mm = NULL;
+       monitor_t *last_wired = NULL;
 
        int len = xcb_randr_get_screen_resources_outputs_length(sres);
        xcb_randr_output_t *outputs = 
xcb_randr_get_screen_resources_outputs(sres);
@@ -470,7 +470,7 @@
                cookies[i] = xcb_randr_get_output_info(dpy, outputs[i], 
XCB_CURRENT_TIME);
        }
 
-       for (m = mon_head; m != NULL; m = m->next) {
+       for (monitor_t *m = mon_head; m != NULL; m = m->next) {
                m->wired = false;
        }
 
@@ -481,23 +481,23 @@
                                xcb_randr_get_crtc_info_reply_t *cir = 
xcb_randr_get_crtc_info_reply(dpy, xcb_randr_get_crtc_info(dpy, info->crtc, 
XCB_CURRENT_TIME), NULL);
                                if (cir != NULL) {
                                        xcb_rectangle_t rect = 
(xcb_rectangle_t) {cir->x, cir->y, cir->width, cir->height};
-                                       mm = 
get_monitor_by_randr_id(outputs[i]);
-                                       if (mm != NULL) {
-                                               update_root(mm, &rect);
-                                               mm->wired = true;
+                                       last_wired = 
get_monitor_by_randr_id(outputs[i]);
+                                       if (last_wired != NULL) {
+                                               update_root(last_wired, &rect);
+                                               last_wired->wired = true;
                                        } else {
                                                char *name = (char *) 
xcb_randr_get_output_info_name(info);
                                                size_t len = (size_t) 
xcb_randr_get_output_info_name_length(info);
                                                char *name_copy = 
copy_string(name, len);
-                                               mm = make_monitor(name_copy, 
&rect, XCB_NONE);
+                                               last_wired = 
make_monitor(name_copy, &rect, XCB_NONE);
                                                free(name_copy);
-                                               mm->randr_id = outputs[i];
-                                               add_monitor(mm);
+                                               last_wired->randr_id = 
outputs[i];
+                                               add_monitor(last_wired);
                                        }
                                }
                                free(cir);
                        } else if (!remove_disabled_monitors && 
info->connection != XCB_RANDR_CONNECTION_DISCONNECTED) {
-                               m = get_monitor_by_randr_id(outputs[i]);
+                               monitor_t *m = 
get_monitor_by_randr_id(outputs[i]);
                                if (m != NULL) {
                                        m->wired = true;
                                }
@@ -514,7 +514,7 @@
 
        /* handle overlapping monitors */
        if (merge_overlapping_monitors) {
-               m = mon_head;
+               monitor_t *m = mon_head;
                while (m != NULL) {
                        monitor_t *next = m->next;
                        if (m->wired) {
@@ -522,8 +522,8 @@
                                while (mb != NULL) {
                                        monitor_t *mb_next = mb->next;
                                        if (m != mb && mb->wired && 
contains(m->rectangle, mb->rectangle)) {
-                                               if (mm == mb) {
-                                                       mm = m;
+                                               if (last_wired == mb) {
+                                                       last_wired = m;
                                                }
                                                if (next == mb) {
                                                        next = mb_next;
@@ -540,11 +540,11 @@
 
        /* merge and remove disconnected monitors */
        if (remove_unplugged_monitors) {
-               m = mon_head;
+               monitor_t *m = mon_head;
                while (m != NULL) {
                        monitor_t *next = m->next;
                        if (!m->wired) {
-                               merge_monitors(m, mm);
+                               merge_monitors(m, last_wired);
                                remove_monitor(m);
                        }
                        m = next;
@@ -552,7 +552,7 @@
        }
 
        /* add one desktop to each new monitor */
-       for (m = mon_head; m != NULL; m = m->next) {
+       for (monitor_t *m = mon_head; m != NULL; m = m->next) {
                if (m->desk == NULL) {
                        add_desktop(m, make_desktop(NULL, XCB_NONE));
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/src/pointer.c 
new/bspwm-0.9.5/src/pointer.c
--- old/bspwm-0.9.4/src/pointer.c       2018-03-28 10:34:36.000000000 +0200
+++ new/bspwm-0.9.5/src/pointer.c       2018-04-08 18:57:29.000000000 +0200
@@ -282,7 +282,11 @@
                        if (pac == ACTION_MOVE) {
                                move_client(&loc, dx, dy);
                        } else {
-                               resize_client(&loc, rh, e->root_x, e->root_y, 
false);
+                               if (honor_size_hints) {
+                                       resize_client(&loc, rh, e->root_x, 
e->root_y, false);
+                               } else {
+                                       resize_client(&loc, rh, dx, dy, true);
+                               }
                        }
                        last_motion_x = e->root_x;
                        last_motion_y = e->root_y;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bspwm-0.9.4/src/settings.h 
new/bspwm-0.9.5/src/settings.h
--- old/bspwm-0.9.4/src/settings.h      2018-03-28 10:34:36.000000000 +0200
+++ new/bspwm-0.9.5/src/settings.h      2018-04-08 18:57:29.000000000 +0200
@@ -52,16 +52,16 @@
 #define POINTER_FOLLOWS_MONITOR     false
 #define CLICK_TO_FOCUS              XCB_BUTTON_INDEX_1
 #define SWALLOW_FIRST_CLICK         false
-#define IGNORE_EWMH_FOCUS           true
+#define IGNORE_EWMH_FOCUS           false
 #define IGNORE_EWMH_FULLSCREEN      0
 
 #define CENTER_PSEUDO_TILED         true
 #define HONOR_SIZE_HINTS            false
 #define MAPPING_EVENTS_COUNT        1
 
-#define REMOVE_DISABLED_MONITORS    true
-#define REMOVE_UNPLUGGED_MONITORS   true
-#define MERGE_OVERLAPPING_MONITORS  true
+#define REMOVE_DISABLED_MONITORS    false
+#define REMOVE_UNPLUGGED_MONITORS   false
+#define MERGE_OVERLAPPING_MONITORS  false
 
 char external_rules_command[MAXLEN];
 char status_prefix[MAXLEN];


Reply via email to