How to make GtkDialog in the center of only one monitor when the transient-for parent is showed in all monitors

Hi Experts,

I create a window, and let it be fullscreen in two monitors, and then prompt a GtkDialog spewed from the window, however the dialog is showed in the center of the two monitors. Is there any method to make it be centered in only one monitor?

OS version: Ubuntu 22.04
Gtk version: 3.24

Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.