int dest_y_return;
IntPtr child;
- Console.Write ("MenuToScreen ({0}, {1}) =>", x, y);
-
Xlib.XTranslateCoordinates (display.Handle,
WholeWindow, display.RootWindow.Handle,
x, y, out dest_x_return, out dest_y_return, out child);
x = dest_x_return;
y = dest_y_return;
-
- Console.WriteLine ("({0}, {1})", x, y);
}
public virtual void PropertyChanged (XEvent xevent)
PerformNCCalc ();
display.SendMessage (Handle, Msg.WM_WINDOWPOSCHANGED, IntPtr.Zero, IntPtr.Zero);
InvalidateNC ();
- }\r
-\r
- [MonoTODO]\r
- public void RequestAdditionalWM_NCMessages (bool hover, bool leave)\r
- {\r
- // Missing messages won't crash anything so just don't generate them for the moment.\r
- // throw new NotImplementedException( );\r
+ }
+
+ [MonoTODO]
+ public void RequestAdditionalWM_NCMessages (bool hover, bool leave)
+ {
+ // Missing messages won't crash anything so just don't generate them for the moment.
+ // throw new NotImplementedException( );
}
public void FrameExtents (out int left, out int top)
int dest_y_return;
IntPtr child;
- Console.Write ("ClientToScreen ({0}, {1}) =>", x, y);
Xlib.XTranslateCoordinates (display.Handle,
ClientWindow, display.RootWindow.Handle,
x, y, out dest_x_return, out dest_y_return, out child);
x = dest_x_return;
y = dest_y_return;
-
- Console.WriteLine ("({0}, {1})", x, y);
}
public void ScreenToClient (ref int x, ref int y)
int dest_y_return;
IntPtr child;
- Console.Write ("ScreenToClient ({0}, {1}) =>", x, y);
Xlib.XTranslateCoordinates (display.Handle,
display.RootWindow.Handle, ClientWindow,
x, y, out dest_x_return, out dest_y_return, out child);
x = dest_x_return;
y = dest_y_return;
-
- Console.WriteLine ("({0}, {1})", x, y);
}
int dest_y_return;
IntPtr child;
- Console.Write ("ScreenToMenu ({0}, {1}) =>", x, y);
-
- Console.WriteLine ("x,y = {0},{1}", X, Y);
-
Xlib.XTranslateCoordinates (display.Handle,
display.RootWindow.Handle, WholeWindow,
x, y, out dest_x_return, out dest_y_return, out child);
x = dest_x_return;
y = dest_y_return;
-
- Console.WriteLine ("({0}, {1})", x, y);
}
public void ScrollWindow (Rectangle area, int XAmount, int YAmount, bool with_children)
{
+ try {
+ Queue.Lock ();
+
IntPtr gc;
XGCValues gc_values;
}
Xlib.XFreeGC (display.Handle, gc);
+ }
+ finally {
+ Queue.Unlock ();
+ }
}