summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 343655a)
raw | patch | inline | side by side (parent: 343655a)
author | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 12 Nov 2007 22:32:29 +0000 (22:32 +0000) | ||
committer | gustav_b <gustav_b@users.sourceforge.net> | |
Mon, 12 Nov 2007 22:32:29 +0000 (22:32 +0000) |
focus. Instead, focus will be given to the widget in the desktop that
had focus the last time.
had focus the last time.
src/widgets/desktop-widget.cpp | patch | blob | history |
index fe807fd26b260242ed5bc4aad6e8dc5e513b8450..3562e7b2a8a63307f55c5dc03ef0d62f28e5d124 100644 (file)
@@ -1173,11 +1173,8 @@ sp_desktop_widget_adjustment_value_changed (GtkAdjustment *adj, SPDesktopWidget
bool SPDesktopWidget::onFocusInEvent(GdkEventFocus*)
{
inkscape_activate_desktop (desktop);
-
- /* give focus to canvas widget */
- gtk_widget_grab_focus (GTK_WIDGET (canvas));
- return false;
+ return false;
}
static gdouble