From what I can see, the bug is not in gnome-power-manager, but in gnome-session.
I can see in original file gnome-session/gsm-logout-dialog.c at line 142:
gtk_window_set_keep_above (GTK_WINDOW (logout_dialog), TRUE);
There is no logic surrounding it that could cause this window to be not kept above. Also, this file (gsm-logout-dialog.c) is affected by debian/patches/80_new_upstream_session_dialog.patch, but I don't see anything that could cause the bug.
From what I can see, the bug is not in gnome-power- manager, but in gnome-session.
I can see in original file gnome-session/ gsm-logout- dialog. c at line 142:
There is no logic surrounding it that could cause this window to be not kept above. Also, this file (gsm-logout- dialog. c) is affected by debian/ patches/ 80_new_ upstream_ session_ dialog. patch, but I don't see anything that could cause the bug.