summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 18:03:10 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-07 18:03:10 +0000
commitf290f3e46ee27cf48b9b6dbc0f35c0d8af6d0c00 (patch)
tree8dae765dd58f43d8bf6237309f9c4be80729f0f0 /chrome/common/render_messages.h
parentb48ff00372fd5e1d384d8ce0addca715affc1ce7 (diff)
downloadchromium_src-f290f3e46ee27cf48b9b6dbc0f35c0d8af6d0c00.zip
chromium_src-f290f3e46ee27cf48b9b6dbc0f35c0d8af6d0c00.tar.gz
chromium_src-f290f3e46ee27cf48b9b6dbc0f35c0d8af6d0c00.tar.bz2
Fix a bug where we don't maximize on titlebar double click in KWin.
GTK+ sends the following events on double click: GDK_BUTTON_PRESS GDK_BUTTON_RELEASE GDK_BUTTON_PRESS GDK_2BUTTON_PRESS GDK_BUTTON_RELEASE If we start a gtk_window_begin_move_drag on the second GDK_BUTTON_PRESS, the call to gtk_window_maximize fails. To work around this, we keep track of the last click and if it's going to be a double click, we don't call gtk_window_begin_move_drag. BUG=18401 Review URL: http://codereview.chromium.org/165102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
0 files changed, 0 insertions, 0 deletions