~azzar1/unity/lp-1165097

« back to all changes in this revision

Viewing changes to services/panel-service.c

  • Committer: Neil Jagdish Patel
  • Date: 2011-06-21 14:28:40 UTC
  • mfrom: (1242.2.14 the-big-reshuffle)
  • Revision ID: neil.patel@canonical.com-20110621142840-y348glj6d7npj6m2
[merge] Update the build system

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        return GDK_FILTER_CONTINUE;
229
229
                        
230
230
                        //FIXME-GTK3 - is this compatible? drawable is gone from gdk3
231
 
      Window     xwindow = gdk_x11_window_get_xid (window);
232
 
      //Window     xwindow = gdk_x11_drawable_get_xid (GDK_DRAWABLE (window));
 
231
      //Window     xwindow = gdk_x11_window_get_xid (window);
 
232
      Window     xwindow = gdk_x11_drawable_get_xid (GDK_DRAWABLE (window));
233
233
 
234
234
      if (xwindow == 0)
235
235
        return GDK_FILTER_CONTINUE;
248
248
                     &win_y,
249
249
                     &mask_return);
250
250
 
251
 
      gdk_window_get_geometry (window, &x, &y, &width, &height);
 
251
      gdk_window_get_geometry (window, &x, &y, &width, &height, NULL);
252
252
      gdk_window_get_origin (window, &x, &y);
253
253
 
254
254
      if (x_root > x
271
271
  // DONT HATE ME
272
272
  // --------------------------------------------------------------------------
273
273
  //FIXME-GTK3 - i'm not porting this, fix your code :P
274
 
  /*
 
274
  
275
275
  else if (e->type == 6)
276
276
    {
277
277
      int       x_root=0, y_root=0;
299
299
          g_signal_emit (self, _service_signals[ACTIVE_MENU_POINTER_MOTION], 0);
300
300
        }
301
301
    }
302
 
  */
303
302
  // -> I HATE YOU
304
303
  // /DONT HATE ME
305
304
  // /FIXME