Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
xdg-desktop-portal-gnome
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GNOME
xdg-desktop-portal-gnome
Commits
fc0c6bcd
Unverified
Commit
fc0c6bcd
authored
Apr 16, 2023
by
Iain Lane
Browse files
Options
Downloads
Patches
Plain Diff
Refresh patch
parent
ea1f576d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/patches/screencast-Duplicate-monitor-and-window-stream-info.patch
+17
-18
17 additions, 18 deletions
...screencast-Duplicate-monitor-and-window-stream-info.patch
with
17 additions
and
18 deletions
debian/patches/screencast-Duplicate-monitor-and-window-stream-info.patch
+
17
−
18
View file @
fc0c6bcd
...
...
@@ -9,7 +9,6 @@ and used to produce restore data.
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal-gnome/+bug/2012341
Bug-Upstream: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/76
Origin: upstream, commit:a46d3b338ed362e6dfad359db3d9a505bff0dc9c
---
src/displaystatetracker.c | 15 ++++++++++++++-
src/displaystatetracker.h | 4 ++++
...
...
@@ -69,10 +68,10 @@ index 1c3a7dc..e438dda 100644
const char * monitor_get_match_string (Monitor *monitor);
diff --git a/src/screencast.c b/src/screencast.c
index
01b1ada
..
1
16b
7f7
100644
index
e54bcd3
..
a
16b
8c3
100644
--- a/src/screencast.c
+++ b/src/screencast.c
@@ -47
1
,6 +47
1
,24 @@
find_best_window_by_app_id_and_title (const char *app_id,
@@ -47
2
,6 +47
2
,24 @@
find_best_window_by_app_id_and_title (const char *app_id,
return best_match;
}
...
...
@@ -97,7 +96,7 @@ index 01b1ada..116b7f7 100644
static gboolean
restore_stream_from_data (ScreenCastSession *screen_cast_session)
@@ -48
8
,7 +50
6
,8 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
@@ -48
9
,7 +50
7
,8 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
if (!screen_cast_session->restored.data)
return FALSE;
...
...
@@ -107,7 +106,7 @@ index 01b1ada..116b7f7 100644
g_variant_get (screen_cast_session->restored.data,
RESTORE_VARIANT_TYPE,
@@ -51
4
,7 +53
3
,7 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
@@ -51
5
,7 +53
4
,7 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
info = g_new0 (ScreenCastStreamInfo, 1);
info->type = SCREEN_CAST_SOURCE_TYPE_MONITOR;
...
...
@@ -116,7 +115,7 @@ index 01b1ada..116b7f7 100644
info->id = id;
g_ptr_array_add (streams, info);
}
@@ -5
39
,7 +55
8
,7 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
@@ -5
40
,7 +55
9
,7 @@
restore_stream_from_data (ScreenCastSession *screen_cast_session)
info = g_new0 (ScreenCastStreamInfo, 1);
info->type = SCREEN_CAST_SOURCE_TYPE_WINDOW;
...
...
@@ -136,7 +135,7 @@ index d50340c..bffd9a9 100644
+
+void screen_cast_stream_info_free (ScreenCastStreamInfo *info);
diff --git a/src/screencastwidget.c b/src/screencastwidget.c
index
86a4296..7ced4c3
100644
index
339a9f3..d84a0da
100644
--- a/src/screencastwidget.c
+++ b/src/screencastwidget.c
@@ -101,9 +101,10 @@
create_window_widget (Window *window)
...
...
@@ -169,7 +168,7 @@ index 86a4296..7ced4c3 100644
g_string_append (string, monitor_get_display_name (monitor));
@@ -59
4
,7 +
598
,8 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
@@ -59
9
,7 +
603
,8 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
uint32_t id = 0;
GList *l;
...
...
@@ -179,7 +178,7 @@ index 86a4296..7ced4c3 100644
selected_monitor_rows =
gtk_list_box_get_selected_rows (GTK_LIST_BOX (self->monitor_list));
@@ -6
15
,7 +62
0
,7 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
@@ -6
20
,7 +62
5
,7 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
{
info = g_new0 (ScreenCastStreamInfo, 1);
info->type = SCREEN_CAST_SOURCE_TYPE_MONITOR;
...
...
@@ -188,7 +187,7 @@ index 86a4296..7ced4c3 100644
info->id = id++;
g_ptr_array_add (streams, info);
}
@@ -6
36
,7 +64
1
,7 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
@@ -6
41
,7 +64
6
,7 @@
screen_cast_widget_get_selected_streams (ScreenCastWidget *self)
info = g_new0 (ScreenCastStreamInfo, 1);
info->type = SCREEN_CAST_SOURCE_TYPE_WINDOW;
...
...
@@ -198,10 +197,10 @@ index 86a4296..7ced4c3 100644
g_ptr_array_add (streams, info);
}
diff --git a/src/shellintrospect.c b/src/shellintrospect.c
index
c2b288d..bd816f8
100644
index
6b007b4..d6352a7
100644
--- a/src/shellintrospect.c
+++ b/src/shellintrospect.c
@@ -62,7 +62,7 @@
static guint signals[N_SIGNALS];
@@ -62,7 +62,7 @@
G_DEFINE_TYPE (ShellIntrospect, shell_introspect, G_TYPE_OBJECT)
static ShellIntrospect *_shell_introspect;
...
...
@@ -210,8 +209,8 @@ index c2b288d..bd816f8 100644
window_free (Window *window)
{
g_free (window->title);
@@ -
70
,6 +
70
,19 @@
window_
free
(Window *window)
g_free (
window
)
;
@@ -
88
,6 +
88
,19 @@
window_
get_id
(Window *window)
return
window
->id
;
}
+Window *
...
...
@@ -231,12 +230,12 @@ index c2b288d..bd816f8 100644
get_windows_cb (GObject *source_object,
GAsyncResult *res,
diff --git a/src/shellintrospect.h b/src/shellintrospect.h
index
f63ecee..ea4188f
100644
index
b187c4d..f5333b0
100644
--- a/src/shellintrospect.h
+++ b/src/shellintrospect.h
@@ -
34
,6 +
34
,10 @@
void shell_introspect_ref_listeners (ShellIntrospect *shell_introspect)
;
void shell_introspect_unref_listeners (ShellIntrospect *shell_introsp
ect)
;
@@ -
28
,6 +
28
,10 @@
typedef struct _Window Window
;
G_DECLARE_FINAL_TYPE (ShellIntrospect, shell_introspect,
SHELL, INTROSPECT, GObj
ect)
+void window_free (Window *window);
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment