summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-08-30 04:01:38 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-30 04:01:38 +0000
commit3e1c68b88a5e4d0fd688929fafe280efe73734f8 (patch)
tree396fd512ff3ceb5a0e712dc3c6d9519dc9a7633d /src/ui.h
parent6d31d4756e219696b9ae7cdee986eca452883005 (diff)
downloadmetacity-3e1c68b88a5e4d0fd688929fafe280efe73734f8.tar.gz
metacity-3e1c68b88a5e4d0fd688929fafe280efe73734f8.tar.bz2
avoid focusing a window on tab popup popdown
2001-08-29 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): avoid focusing a window on tab popup popdown * src/screen.c (meta_screen_ensure_tab_popup): compute frame outline size here
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/ui.h b/src/ui.h
index 6f6adbf..11417c0 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -101,6 +101,7 @@ void meta_image_window_set_position (MetaImageWindow *iw,
int x,
int y);
+/* FIXME these lack a display arg */
GdkPixbuf* meta_gdk_pixbuf_get_from_window (GdkPixbuf *dest,
Window xwindow,
int src_x,
@@ -128,27 +129,10 @@ void meta_ui_pop_delay_exposes (MetaUI *ui);
GdkPixbuf* meta_ui_get_default_window_icon (MetaUI *ui);
-typedef struct _MetaTabEntry MetaTabEntry;
-typedef struct _MetaTabPopup MetaTabPopup;
-
-struct _MetaTabEntry
-{
- Window xwindow;
- const char *title;
- GdkPixbuf *icon;
- int x, y, width, height;
-};
-
-MetaTabPopup* meta_ui_tab_popup_new (const MetaTabEntry *entries);
-void meta_ui_tab_popup_free (MetaTabPopup *popup);
-void meta_ui_tab_popup_set_showing (MetaTabPopup *popup,
- gboolean showing);
-void meta_ui_tab_popup_forward (MetaTabPopup *popup);
-void meta_ui_tab_popup_backward (MetaTabPopup *popup);
-Window meta_ui_tab_popup_get_selected (MetaTabPopup *popup);
-void meta_ui_tab_popup_select (MetaTabPopup *popup,
- Window xwindow);
+gboolean meta_ui_window_should_not_cause_focus (Display *xdisplay,
+ Window xwindow);
+#include "tabpopup.h"
#endif