Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package hyprland-protocols for 
openSUSE:Factory checked in at 2025-06-11 16:21:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyprland-protocols (Old)
 and      /work/SRC/openSUSE:Factory/.hyprland-protocols.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyprland-protocols"

Wed Jun 11 16:21:35 2025 rev:5 rq:1284387 version:0.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyprland-protocols/hyprland-protocols.changes    
2025-02-24 15:50:28.379533255 +0100
+++ 
/work/SRC/openSUSE:Factory/.hyprland-protocols.new.19631/hyprland-protocols.changes
 2025-06-11 16:22:45.627045421 +0200
@@ -1,0 +2,8 @@
+Tue Jun  3 12:38:27 UTC 2025 - Michal Hrusecky <mic...@hrusecky.net>
+
+- Update to version 0.6.4:
+  * Add hyprland-toplevel-mapping-v1 to meson build
+- Update to version 0.6.3:
+  * Add toplevel mapping protocol
+
+-------------------------------------------------------------------

Old:
----
  hyprland-protocols-0.6.2.tar.gz

New:
----
  hyprland-protocols-0.6.4.tar.gz

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

Other differences:
------------------
++++++ hyprland-protocols.spec ++++++
--- /var/tmp/diff_new_pack.FXjJ1V/_old  2025-06-11 16:22:46.307073799 +0200
+++ /var/tmp/diff_new_pack.FXjJ1V/_new  2025-06-11 16:22:46.311073966 +0200
@@ -20,7 +20,7 @@
 Summary:        Wayland extension protocol for Hyprland
 Group:          Development/Libraries/Other
 License:        BSD-3-Clause
-Version:        0.6.2
+Version:        0.6.4
 Release:        0
 URL:            https://github.com/hyprwm/hyprland-protocols
 Source0:        
https://github.com/hyprwm/hyprland-protocols/archive/refs/tags/v%{version}.tar.gz#/hyprland-protocols-%{version}.tar.gz

++++++ hyprland-protocols-0.6.2.tar.gz -> hyprland-protocols-0.6.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hyprland-protocols-0.6.2/README.md 
new/hyprland-protocols-0.6.4/README.md
--- old/hyprland-protocols-0.6.2/README.md      2025-02-01 16:10:29.000000000 
+0100
+++ new/hyprland-protocols-0.6.4/README.md      2025-04-03 23:14:34.000000000 
+0200
@@ -16,6 +16,7 @@
 - `hyprland_ctm_control` -> for managing CTMs of displays. See 
[hyprsunset](https://github.com/hyprwm/hyprsunset)
 - `hyprland_surface` -> for setting hyprland specific wl_surface properties.
 - `hyprland_lock_notify` -> for notifying a client about the screen being 
locked and unlocked.
+- `hyprland_toplevel_mapping` -> for mapping toplevels to hyprland IDs.
 
 # Contributing
 Adding new protocols is *discouraged*, as most things you think of can already 
be done one way or another.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hyprland-protocols-0.6.2/VERSION 
new/hyprland-protocols-0.6.4/VERSION
--- old/hyprland-protocols-0.6.2/VERSION        2025-02-01 16:10:29.000000000 
+0100
+++ new/hyprland-protocols-0.6.4/VERSION        2025-04-03 23:14:34.000000000 
+0200
@@ -1 +1 @@
-0.6.2
+0.6.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hyprland-protocols-0.6.2/meson.build 
new/hyprland-protocols-0.6.4/meson.build
--- old/hyprland-protocols-0.6.2/meson.build    2025-02-01 16:10:29.000000000 
+0100
+++ new/hyprland-protocols-0.6.4/meson.build    2025-04-03 23:14:34.000000000 
+0200
@@ -9,6 +9,7 @@
 
 protocols = {
   'hyprland-toplevel-export': ['v1'],
+  'hyprland-toplevel-mapping': ['v1'],
   'hyprland-global-shortcuts': ['v1'],
   'hyprland-focus-grab': ['v1'],
   'hyprland-ctm-control': ['v1'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hyprland-protocols-0.6.2/protocols/hyprland-toplevel-mapping-v1.xml 
new/hyprland-protocols-0.6.4/protocols/hyprland-toplevel-mapping-v1.xml
--- old/hyprland-protocols-0.6.2/protocols/hyprland-toplevel-mapping-v1.xml     
1970-01-01 01:00:00.000000000 +0100
+++ new/hyprland-protocols-0.6.4/protocols/hyprland-toplevel-mapping-v1.xml     
2025-04-03 23:14:34.000000000 +0200
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<protocol name="hyprland_toplevel_mapping_v1">
+  <copyright>
+    Copyright © 2025 WhySoBad
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, 
this
+    list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above copyright 
notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+    3. Neither the name of the copyright holder nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
ARE
+    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 
LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
LIABILITY,
+    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
USE
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+  </copyright>
+
+  <description summary="mapping of toplevels to windows">
+    This protocol allows clients to retrieve the mapping of toplevels to 
hyprland window addresses.
+  </description>
+
+  <interface name="hyprland_toplevel_mapping_manager_v1" version="1">
+    <description summary="manager to request toplevel mappings">
+      This object is a manager which offers requests to retrieve a window 
address
+      for a toplevel.
+    </description>
+
+    <request name="get_window_for_toplevel">
+      <description summary="get window address for toplevel">
+        Get the window address for a toplevel.
+      </description>
+      <arg
+        name="handle"
+        type="new_id"
+        interface="hyprland_toplevel_window_mapping_handle_v1"
+      />
+      <arg
+        name="toplevel"
+        type="object"
+        interface="ext_foreign_toplevel_handle_v1"
+        summary="toplevel to get the window address for"
+      />
+    </request>
+
+    <request name="get_window_for_toplevel_wlr">
+      <description summary="get window address for wlr toplevel">
+        Get the window address for a wlr toplevel.
+      </description>
+      <arg
+        name="handle"
+        type="new_id"
+        interface="hyprland_toplevel_window_mapping_handle_v1"
+      />
+      <arg
+        name="toplevel"
+        type="object"
+        interface="zwlr_foreign_toplevel_handle_v1"
+        summary="wlr toplevel to get the window address for"
+      />
+    </request>
+
+    <request name="destroy" type="destructor">
+      <description summary="destroy the manager">
+        All objects created by the manager will still remain valid, until 
their appropriate destroy
+        request has been called.
+      </description>
+    </request>
+  </interface>
+
+  <interface name="hyprland_toplevel_window_mapping_handle_v1" version="1">
+    <description summary="toplevel to window mapping">
+      This object represents a mapping of a (wlr) toplevel to a window address.
+
+      Once created, the `window_address` event will be sent containing the 
address of the window
+      associated with the toplevel.
+      Should the mapping fail, the `failed` event will be sent.
+    </description>
+
+    <event name="window_address">
+      <description summary="address of the window">
+        The full 64bit window address. The `address` field contains the lower 
32 bits whilst the
+        `address_hi` contains the upper 32 bits
+      </description>
+      <arg
+        name="address_hi"
+        type="uint"
+        summary="upper 32 bits of the window address"
+      />
+      <arg
+        name="address"
+        type="uint"
+        summary="lower 32 bits of the window address"
+      />
+    </event>
+
+    <event name="failed">
+      <description summary="mapping failed">
+        The mapping of the toplevel to a window address failed. Most likely 
the window does not
+        exist (anymore).
+      </description>
+    </event>
+
+    <request name="destroy" type="destructor">
+      <description summary="destroy handle">
+        Destroy the handle. This request can be sent at any time by the client.
+      </description>
+    </request>
+  </interface>
+</protocol>
\ No newline at end of file

Reply via email to