halifax-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[halifax-bugs] ghfaxviewer window position (with patch)


From: Dominik Brettnacher
Subject: [halifax-bugs] ghfaxviewer window position (with patch)
Date: Mon, 10 Sep 2001 00:20:48 +0200 (CEST)

Hi,

I am using icewm and I have the problem that ghfaxviewer does not save its
position correctly, i.e. the icewm titlebar and frames are not taken into
account. This leads to the effect that ghfaxviewer "moves" to the
upper-left of the screen by some pixels with every start of the
application.

I use this patch in order to correct this behaviour, your mileage may
vary:

--- src/setup.c.orig    Fri Apr 27 22:11:15 2001
+++ src/setup.c Mon Sep 10 00:08:31 2001
@@ -143,7 +143,7 @@

   gerror = NULL;

-  gdk_window_get_root_origin (window, &x, &y);
+  gdk_window_get_position (window, &x, &y);
   gdk_window_get_size (window, &width, &height);

   gconf_client_set_int (gc_client,

-- 
Dominik - http://www.brettnacher.org/users/dominik/

"My brain is built of paths and slides and ladders and lasers and I have
 invited all of you to enter its pavillon. My brain, as you enter, will
 smell of tangerines and brand-new running shoes."
                        -- Douglas Coupland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]