The copy dialog currently isn't transient, while many of the other
dialogs are. This makes running rawstudio rather awkward when running
in fullscreen mode through a window manager method (F11 etc.). The
copy dialog would appear under the main window, have focus, but you
couldn't see it. This change makes the copy dialog transient to the
main window, so that window managers can place it on top. Tested with
enlightenment.

Auke Kok

Signed-off-by: Auke Kok <[email protected]>

---
 src/rs-actions.c |    1 +
 1 file changed, 1 insertion(+)

Index: src/rs-actions.c
===================================================================
--- src/rs-actions.c    (revision 4174)
+++ src/rs-actions.c    (working copy)
@@ -565,6 +565,7 @@

        rs_conf_get_integer(CONF_PASTE_MASK, &mask);
        dialog = create_copy_dialog(mask);
+       gtk_window_set_transient_for(GTK_WINDOW(dialog), 
GTK_WINDOW(rs->window));
        gtk_widget_show_all(dialog);

        if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK)

_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to