diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 13:11:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 13:11:28 +0000 |
commit | 966be5b1be31c7280ab65dc98a19cedf3935ad55 (patch) | |
tree | ea8e07891d30585cb7b838e5b9751e25780ef477 /crashrep/source | |
parent | 0c195f81596f0e262e9d6a1600120e4db2fdfb8e (diff) |
INTEGRATION: CWS crashrep09 (1.1.10); FILE MERGED
2003/06/27 14:27:50 hro 1.1.10.1: #110227# Send an XEvent to wkae up that silly gtk main loop
Diffstat (limited to 'crashrep/source')
-rwxr-xr-x | crashrep/source/unx/interface.cxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/crashrep/source/unx/interface.cxx b/crashrep/source/unx/interface.cxx index 9c9cc57cb1bd..d264eaa5f9bd 100755 --- a/crashrep/source/unx/interface.cxx +++ b/crashrep/source/unx/interface.cxx @@ -159,6 +159,24 @@ void WizardDialog::hide_sendingstatus() if( m_pStatusDialog ) { gtk_dialog_response( GTK_DIALOG(m_pStatusDialog), GTK_RESPONSE_OK ); + + XEvent event; + + memset( &event, 0, sizeof(event) ); + + event.xexpose.type = Expose; + event.xexpose.display = GDK_DISPLAY(); + event.xexpose.window = GDK_WINDOW_XWINDOW( m_pStatusDialog->window ); + event.xexpose.width = event.xexpose.height = 10; + + XSendEvent( + GDK_DISPLAY(), + GDK_WINDOW_XWINDOW( m_pStatusDialog->window ), + True, + ExposureMask, + &event ); + + XFlush( GDK_DISPLAY() ); } } |