~apinheiro/unity/bug844927

« back to all changes in this revision

Viewing changes to services/panel-service.c

  • Committer: Neil Jagdish Patel
  • Date: 2011-06-20 20:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 1244.
  • Revision ID: neil.patel@canonical.com-20110620204603-jpbleobgonwwpsaj
Initial go at making things sane again

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