All pastes #577079 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-19 19:35 UTC
rendered paste body
Index: display.c                                                                                                             
===================================================================                                                          
--- display.c   (revision 3256)                                                                                              
+++ display.c   (working copy)                                                                                               
@@ -1662,7 +1662,7 @@                                                                                                        
               if (!unmodified)                                                                                              
                 begin_move = TRUE;                                                                                          
             }                                                                                                               
-          else if (!unmodified && event->xbutton.button == 2)                                                               
+          else if (!unmodified && event->xbutton.button == 3)                                                               
             {                                                                                                               
               if (window->has_resize_func)                                                                                  
                 {                                                                                                           
@@ -1711,7 +1711,7 @@                                                                                                        
                                                 event->xbutton.y_root);                                                     
                 }                                                                                                           
             }                                                                                                               
-          else if (event->xbutton.button == 3)                                                                              
+          else if (event->xbutton.button == 2)                                                                              
             {                                                                                                               
               if (meta_prefs_get_raise_on_click ())                                                                         
                 meta_window_raise (window);