libwnck r1296 - in trunk: . doc doc/tmpl libwnck
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: libwnck r1296 - in trunk: . doc doc/tmpl libwnck
- Date: Sun, 10 Jun 2007 17:22:42 +0100 (BST)
Author: vuntz
Date: 2007-06-10 17:22:42 +0100 (Sun, 10 Jun 2007)
New Revision: 1296
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1296&view=rev
Modified:
trunk/ChangeLog
trunk/doc/libwnck-sections.txt
trunk/doc/tmpl/window.sgml
trunk/libwnck/window.c
trunk/libwnck/window.h
trunk/libwnck/xutils.c
trunk/libwnck/xutils.h
Log:
2007-06-10 Vincent Untz <vuntz gnome org>
Add support for _NET_FRAME_EXTENTS. This adds a new API.
Fix bug #351055.
* doc/libwnck-sections.txt: updated for
wnck_window_get_client_window_geometry()
* doc/tmpl/window.sgml: ditto
* libwnck/window.[ch]: (_wnck_window_create): we need to update the
information about frame.
(wnck_window_get_client_window_geometry): new, returns the geometry of
the window without the frame (that's the "real" X geometry)
(wnck_window_get_geometry): changed to return the geometry of the
window with its frame. That's a small change in the API meaning, but
we're unstable, aren't we? :-)
(wnck_window_is_in_viewport): take into account the frame of the
window
(_wnck_window_process_property_notify): check if we need to update the
frame info
(update_icon_name): move some code into xutils.c, to make this
function more like update_name()
(update_frame_extents): new, gets the frame info and emit a geometry
changed signal if the info changed
(force_update_now):
* libwnck/xutils.[ch]: (_wnck_get_icon_name): new, works like
_wnck_get_name()
(_wnck_get_frame_extents): new, gets the frame info from the
_NET_FRAME_EXTENTS hint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]