From 9a3f05a780f8cbfeb68626552d25c48ab0245ca3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 16:04:08 +0000 Subject: don't make interactive desktop cycling switch until you release the mods. this is needed because otherwise focus moves around during the grab and applications get confused. :| change the pager popup to resize based on the layout so the squares can be bigger --- openbox/popup.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbox/popup.h') diff --git a/openbox/popup.h b/openbox/popup.h index 0bf2f500..f96ad664 100644 --- a/openbox/popup.h +++ b/openbox/popup.h @@ -49,6 +49,8 @@ struct _ObPopup gint h; gint minw; gint maxw; + guint iconwm; /* icon width multiplier. multiplied by the normal width */ + guint iconhm; /* icon height multiplier. multipled by the normal height */ gboolean mapped; gboolean delay_mapped; @@ -120,6 +122,7 @@ void icon_popup_delay_show(ObIconPopup *self, gulong usec, #define icon_popup_text_width_to_strings(p, s, n) \ popup_text_width_to_strings((p)->popup,(s),(n)) #define icon_popup_set_text_align(p, j) popup_set_text_align((p)->popup,(j)) +void icon_popup_icon_size_multiplier(ObIconPopup *self, guint wm, guint hm); ObPagerPopup *pager_popup_new(); void pager_popup_free(ObPagerPopup *self); @@ -138,5 +141,6 @@ void pager_popup_delay_show(ObPagerPopup *self, gulong usec, #define pager_popup_text_width_to_strings(p, s, n) \ popup_text_width_to_strings((p)->popup,(s),(n)) #define pager_popup_set_text_align(p, j) popup_set_text_align((p)->popup,(j)) +void pager_popup_icon_size_multiplier(ObPagerPopup *self, guint wm, guint hm); #endif -- cgit v1.2.3