[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/pgtk fde74fa 028/100: implement pgtk-frame-list-z-order same as
From: |
Yuuki Harano |
Subject: |
feature/pgtk fde74fa 028/100: implement pgtk-frame-list-z-order same as frame-list. |
Date: |
Tue, 24 Nov 2020 08:02:30 -0500 (EST) |
branch: feature/pgtk
commit fde74fa8b9ac3886ca8370e3aaea562fa8408ced
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <fejfighter@gmail.com>
implement pgtk-frame-list-z-order same as frame-list.
* src/pgtkfns.c (Fpgtk_frame_list_z_order): return frame list as it's
the same
---
src/pgtkfns.c | 26 ++++----------------------
1 file changed, 4 insertions(+), 22 deletions(-)
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index a8f8176..52fc656 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -1487,30 +1487,12 @@ DEFUN ("pgtk-frame-list-z-order",
Fpgtk_frame_list_z_order,
If TERMINAL is non-nil and specifies a live frame, return the child
frames of that frame in Z (stacking) order.
-Frames are listed from topmost (first) to bottommost (last). */)
+Frames are listed from topmost (first) to bottommost (last).
+
+On PGTK, this function is identical to frame-list. */)
(Lisp_Object terminal)
{
- Lisp_Object frames = Qnil;
-#if 0
- PGTKWindow *parent = nil;
-
- if (FRAMEP (terminal) && FRAME_LIVE_P (XFRAME (terminal)))
- parent = [FRAME_PGTK_VIEW (XFRAME (terminal)) window];
-
- for (PGTKWindow *win in [[NSApp orderedWindows] reverseObjectEnumerator])
- {
- Lisp_Object frame;
-
- /* Check against [win parentWindow] so that it doesn't match itself. */
- if (parent == nil || pgtk_window_is_ancestor (parent, [win
parentWindow]))
- {
- XSETFRAME (frame, ((EmacsView *)[win delegate])->emacsframe);
- frames = Fcons(frame, frames);
- }
- }
-#endif
-
- return frames;
+ return Fframe_list();
}
DEFUN ("pgtk-frame-restack", Fpgtk_frame_restack, Spgtk_frame_restack, 2, 3, 0,
- feature/pgtk 72f79d8 060/100: * src/pgtkselect.c: change coding style, (continued)
- feature/pgtk 72f79d8 060/100: * src/pgtkselect.c: change coding style, Yuuki Harano, 2020/11/24
- feature/pgtk 806b764 039/100: Before sleep, dispatch draw events., Yuuki Harano, 2020/11/24
- feature/pgtk 209c611 063/100: * src/pgtkterm.h: Remove unused code, Yuuki Harano, 2020/11/24
- feature/pgtk 04bfe70 048/100: implement popup/context menu, Yuuki Harano, 2020/11/24
- feature/pgtk d899fc1 087/100: Fix tooltips don't hide on events, Yuuki Harano, 2020/11/24
- feature/pgtk 640f770 088/100: Fix mouse cursor doesn't appear on motion events on xwidgets, Yuuki Harano, 2020/11/24
- feature/pgtk d437aab 092/100: Avoid gtk warnings on X, Yuuki Harano, 2020/11/24
- feature/pgtk 886fcb2 096/100: Update copyright dates for PGTK files, Yuuki Harano, 2020/11/24
- feature/pgtk d6ef9af 100/100: Fix crash when .schema.xml is not installed, Yuuki Harano, 2020/11/24
- feature/pgtk 12cc104 009/100: Cleanup x_* to gui_ to match upstream work, Yuuki Harano, 2020/11/24
- feature/pgtk fde74fa 028/100: implement pgtk-frame-list-z-order same as frame-list.,
Yuuki Harano <=
- feature/pgtk c9e6b44 044/100: Some work toward posframe on wayland, Yuuki Harano, 2020/11/24
- feature/pgtk 964dfcf 062/100: * src/pgtkgui.h: change coding style, Yuuki Harano, 2020/11/24
- feature/pgtk da3c351 019/100: border_color/pixel width, Yuuki Harano, 2020/11/24
- feature/pgtk 014d56f 052/100: * src/pgtkterm.c: Remove incorrect mark_object call., Yuuki Harano, 2020/11/24
- feature/pgtk bc35a1e 032/100: Make multipdisplay work by limiting selection while enabed, Yuuki Harano, 2020/11/24
- feature/pgtk d68633b 056/100: * src/pgtkterm.c (pgtk_defined_color): support gtk special colors, Yuuki Harano, 2020/11/24
- feature/pgtk 6957f94 024/100: Add PGTK support for fullscreen, Yuuki Harano, 2020/11/24
- feature/pgtk ae3bb14 029/100: implement restacking and cleanup frame z order, Yuuki Harano, 2020/11/24
- feature/pgtk 49645df 047/100: minimize gtkutil.c differences., Yuuki Harano, 2020/11/24
- feature/pgtk d2a29e8 040/100: emacsclient should use both of DISPLAY and WAYLAND_DISPLAY., Yuuki Harano, 2020/11/24