[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/android bb3ceb6e04 2/6: * src/frame.c (make_monitor_attribute_li
From: |
Po Lu |
Subject: |
feature/android bb3ceb6e04 2/6: * src/frame.c (make_monitor_attribute_list): Allow source to be NULL. |
Date: |
Fri, 13 Jan 2023 03:09:26 -0500 (EST) |
branch: feature/android
commit bb3ceb6e04ac90158c16ac80f1c4a8adbbb3384d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
* src/frame.c (make_monitor_attribute_list): Allow source to be NULL.
---
src/frame.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/frame.c b/src/frame.c
index 36a256f1f3..286c9a2cb7 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -6138,8 +6138,11 @@ make_monitor_attribute_list (struct MonitorInfo
*monitors,
mi->work.width, mi->work.height);
geometry = list4i (mi->geom.x, mi->geom.y,
mi->geom.width, mi->geom.height);
- attributes = Fcons (Fcons (Qsource, build_string (source)),
- attributes);
+
+ if (source)
+ attributes = Fcons (Fcons (Qsource, build_string (source)),
+ attributes);
+
attributes = Fcons (Fcons (Qframes, AREF (monitor_frames, i)),
attributes);
#ifdef HAVE_PGTK
- feature/android updated (2fa5583d96 -> a02f52cc9e), Po Lu, 2023/01/13
- feature/android 0b61fd7700 3/6: * java/AndroidManifest.xml: Remove file that is now generated., Po Lu, 2023/01/13
- feature/android 7e35af1a10 4/6: * .gitignore: Add AndroidManifest.xml., Po Lu, 2023/01/13
- feature/android 24910d3f37 5/6: Fix crashes in Android port, Po Lu, 2023/01/13
- feature/android bb3ceb6e04 2/6: * src/frame.c (make_monitor_attribute_list): Allow source to be NULL.,
Po Lu <=
- feature/android a02f52cc9e 6/6: Merge remote-tracking branch 'origin/master' into feature/android, Po Lu, 2023/01/13
- feature/android f9732131cf 1/6: Update Android port, Po Lu, 2023/01/13