Initialize size_hints.x and size_hints.y because kwm brokenly pays
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Initialize size_hints.x and size_hints.y because kwm brokenly pays attention to them. (Bug #1181 - Lars Heete <hel@admin.de>)
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_set_geometry_hints):
|
||||
Initialize size_hints.x and size_hints.y because kwm
|
||||
brokenly pays attention to them.
|
||||
(Bug #1181 - Lars Heete <hel@admin.de>)
|
||||
|
||||
Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
|
||||
|
||||
@@ -1102,7 +1102,15 @@ gdk_window_set_geometry_hints (GdkWindow *window,
|
||||
size_hints.flags = 0;
|
||||
|
||||
if (geom_mask & GDK_HINT_POS)
|
||||
size_hints.flags |= PPosition;
|
||||
{
|
||||
size_hints.flags |= PPosition;
|
||||
/* We need to initialize the following obsolete fields because KWM
|
||||
* apparently uses these fields if they are non-zero.
|
||||
* #@#!#!$!.
|
||||
*/
|
||||
size_hints.x = 0;
|
||||
size_hints.y = 0;
|
||||
}
|
||||
|
||||
if (geom_mask & GDK_HINT_MIN_SIZE)
|
||||
{
|
||||
|
||||
@@ -1102,7 +1102,15 @@ gdk_window_set_geometry_hints (GdkWindow *window,
|
||||
size_hints.flags = 0;
|
||||
|
||||
if (geom_mask & GDK_HINT_POS)
|
||||
size_hints.flags |= PPosition;
|
||||
{
|
||||
size_hints.flags |= PPosition;
|
||||
/* We need to initialize the following obsolete fields because KWM
|
||||
* apparently uses these fields if they are non-zero.
|
||||
* #@#!#!$!.
|
||||
*/
|
||||
size_hints.x = 0;
|
||||
size_hints.y = 0;
|
||||
}
|
||||
|
||||
if (geom_mask & GDK_HINT_MIN_SIZE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user