metacity r3186 - in trunk: . src
- From: newren svn gnome org
- To: svn-commits-list gnome org
- Subject: metacity r3186 - in trunk: . src
- Date: Tue, 10 Apr 2007 00:00:56 +0100 (BST)
Author: newren
Date: 2007-04-10 00:00:55 +0100 (Tue, 10 Apr 2007)
New Revision: 3186
ViewCVS link: http://svn.gnome.org/viewcvs/metacity?rev=3186&view=rev
Modified:
trunk/ChangeLog
trunk/src/display.c
trunk/src/screen.c
trunk/src/window.c
trunk/src/window.h
Log:
2007-04-09 Elijah Newren <newren gmail com>
Add support for _NET_MOVERESIZE_WINDOW. #344521.
* src/display.c (handle_net_moveresize_window, event_callback):
Remove handle_net_moveresize_window() and the call to it; this
code was highly buggy, though to be fair it was never tested and
had simply been put into the code in commented out form.
* src/screen.c (set_supported_hint):
add atom_net_moveresize_window
* src/window.[ch]:
(meta_window_configure_request, meta_window_move_resize_request):
Split out the moving/resize part of the configure request and put
it into meta_window_move_resize_request
(meta_window_client_message):
check for NET_MOVERESIZE_WINDOW messages and call
meta_window_move_resize_request() with the appropriate parameters
to handle them
(meta_window_move_resize_internal):
fix some of the big comment at this function -- it wasn't quite
right, use the passed in gravity instead of
window->size_hints.win_gravity when calling adjust_for_gravity()
to make sure the correct adjustments are used.
(meta_window_get_gravity_position,
meta_window_get_geometry, meta_window_move_resize_request):
add a gravity parameter to meta_window_get_gravity_position and
have it use that gravity instead of window->size_hints.win_gravity
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]