summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2003-06-12 05:55:06 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-06-12 05:55:06 +0000
commit0a20419628ab061c6442b2963e9ae6bceb2667a1 (patch)
treeb89965e94ac4a755d43f320b238d0f3e82f12155 /src/ui.h
parent2d4503ee593dbed1ca3b32729cee427b66103b4d (diff)
downloadmutter-0a20419628ab061c6442b2963e9ae6bceb2667a1.tar.gz
make raise-on-click explicitly only happen in click to focus mode.
2003-06-12 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): make raise-on-click explicitly only happen in click to focus mode. * src/window.c (update_move): apply patch from Jurg Billeter to allow you to "shake loose" maximized windows and move them between Xinerama heads. #93586 * src/display.c: delete event_queue_callback * src/display.h (struct _MetaDisplay): get rid of grab_current_window_pos and grab_current_root_[xy] as I could find absolutely no code using them for anything. They were just sort of randomly assigned to for no apparent reason. * src/display.c (event_callback): double-click timeout is per screen, so get the screen and pass screen->ui to meta_ui_get_double_click_timeout() * src/ui.c (meta_ui_get_double_click_timeout): take a MetaUI argument so we get the right settings for each screen (meta_ui_get_drag_threshold): new function
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui.h b/src/ui.h
index 171c342d1..6ed690416 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -165,7 +165,8 @@ gboolean meta_ui_parse_modifier (const char *accel,
gboolean meta_ui_window_is_widget (MetaUI *ui,
Window xwindow);
-int meta_ui_get_double_click_timeout (void);
+int meta_ui_get_double_click_timeout (MetaUI *ui);
+int meta_ui_get_drag_threshold (MetaUI *ui);
#include "tabpopup.h"