(declare-function x-frame-list-z-order "xfns.c" (&optional display))
(declare-function w32-frame-list-z-order "w32fns.c" (&optional display))
(declare-function ns-frame-list-z-order "nsfns.m" (&optional display))
-(declare-function pgtk-frame-list-z-order "pgtkfns.c" (&optional display))
+;; TODO: implement this on PGTK.
+;; (declare-function pgtk-frame-list-z-order "pgtkfns.c" (&optional display))
(declare-function haiku-frame-list-z-order "haikufns.c" (&optional display))
(defun frame-list-z-order (&optional display)
((eq frame-type 'ns)
(ns-frame-list-z-order display))
((eq frame-type 'pgtk)
- (pgtk-frame-list-z-order display))
+ ;; This is currently not supported on PGTK.
+ ;; (pgtk-frame-list-z-order display)
+ nil)
((eq frame-type 'haiku)
(haiku-frame-list-z-order display)))))
(defvar pgtk-use-im-context-on-new-connection)
(declare-function pgtk-use-im-context "pgtkim.c")
-(declare-function pgtk-hide-emacs "pgtkfns.c" (on))
(defun pgtk-drag-n-drop (event &optional new-frame force-text)
"Edit the files listed in the drag-n-drop EVENT.