This commit is contained in:
rhp 2001-07-07 18:43:19 +00:00
parent 944d730cd1
commit 8a2841a8ab
5 changed files with 21 additions and 9 deletions

View File

@ -1,3 +1,3 @@
SUBDIRS=src intl po
SUBDIRS=src

View File

@ -38,7 +38,7 @@ fi
changequote([,])dnl
ALL_LINGUAS=""
AM_GNU_GETTEXT
dnl AM_GNU_GETTEXT
## here we get the flags we'll actually use
PKG_CHECK_MODULES(METACITY, gtk+-2.0 >= 1.3.6)

View File

@ -2,6 +2,7 @@
INCLUDES=@METACITY_CFLAGS@ -DMETACITY_LIBEXECDIR=\"$(libexecdir)\" -DHOST_ALIAS=\"@HOST_ALIAS@\"
metacity_SOURCES= \
common.h \
core.c \
core.h \
display.c \

View File

@ -418,7 +418,7 @@ meta_window_new (MetaDisplay *display, Window xwindow,
window->type == META_WINDOW_TOOLBAR ||
window->type == META_WINDOW_MENU)
{
if ((window->size_hints.flags & PPosition) == 0)
if (window->size_hints.flags & PPosition)
{
window->placed = TRUE;
meta_verbose ("Not placing non-normal non-dialog window with PPosition set\n");
@ -1721,7 +1721,10 @@ meta_window_configure_request (MetaWindow *window,
meta_window_get_gravity_position (window, &x, &y);
if (FALSE && /* For now, always ignore program-specified positions. */
if ((window->type == META_WINDOW_DESKTOP ||
window->type == META_WINDOW_DOCK ||
window->type == META_WINDOW_TOOLBAR ||
window->type == META_WINDOW_MENU) &&
(window->size_hints.flags & PPosition))
{
if (event->xconfigurerequest.value_mask & CWX)

View File

@ -248,6 +248,14 @@ void meta_window_queue_move_resize (MetaWindow *window);
void meta_window_get_position (MetaWindow *window,
int *x,
int *y);
/* gets position we need to set to stay in current position,
* assuming position will be gravity-compensated. i.e.
* this is the position a client would send in a configure
* request.
*/
void meta_window_get_gravity_position (MetaWindow *window,
int *x,
int *y);
void meta_window_delete (MetaWindow *window,
Time timestamp);
void meta_window_focus (MetaWindow *window,