From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: resize windows horizontally with the mouse Date: Thu, 30 Jan 2014 08:53:33 +0100 Message-ID: <52EA04FD.1090306@gmx.at> References: <87a9eervp7.fsf@web.de> <52E9FA94.2080108@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391068435 6099 80.91.229.3 (30 Jan 2014 07:53:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 07:53:55 +0000 (UTC) Cc: Darren Hoo , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 30 08:54:02 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W8mRl-0004Zz-RI for ged-emacs-devel@m.gmane.org; Thu, 30 Jan 2014 08:54:01 +0100 Original-Received: from localhost ([::1]:46870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mRl-0006Rz-FW for ged-emacs-devel@m.gmane.org; Thu, 30 Jan 2014 02:54:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mRc-0006QM-Fm for emacs-devel@gnu.org; Thu, 30 Jan 2014 02:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8mRV-0006Of-1e for emacs-devel@gnu.org; Thu, 30 Jan 2014 02:53:52 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:52276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mRU-0006OO-OL for emacs-devel@gnu.org; Thu, 30 Jan 2014 02:53:44 -0500 Original-Received: from [62.47.45.230] ([62.47.45.230]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MWwp6-1Vnzwh2Bca-00VxMK for ; Thu, 30 Jan 2014 08:53:43 +0100 In-Reply-To: X-Provags-ID: V03:K0:NUkIVc4foGZmX3Xu4LEN3yOTt0Ob+zVJgqPhxut95eFHOa7Fthf HSoFWM3u/w8Js0KpPK8g+lbaYuAxaIr7JdLoaxu8AQZN2dj4fqL3BoKWsOlajzRcXYKxorc vBWNDFmpLK2sXuxuUP+FJfxuxHxC4a5wzVWsNYKaD5jg8nHP02zwXxGQvnN9qgbIX+q/pGb nrrU3+/X98OfUXnxmaisw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169234 Archived-At: > GTK+3. I see. What does (frame-parameter nil 'scroll-bar-width) give? Can you try to trace the following function in gtkutil.c static void update_theme_scrollbar_width (void) { #ifdef HAVE_GTK3 GtkAdjustment *vadj; #else GtkObject *vadj; #endif GtkWidget *wscroll; int w = 0, b = 0; vadj = gtk_adjustment_new (XG_SB_MIN, XG_SB_MIN, XG_SB_MAX, 0.1, 0.1, 0.1); wscroll = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, GTK_ADJUSTMENT (vadj)); g_object_ref_sink (G_OBJECT (wscroll)); gtk_widget_style_get (wscroll, "slider-width", &w, "trough-border", &b, NULL); gtk_widget_destroy (wscroll); g_object_unref (G_OBJECT (wscroll)); w += 2*b; if (w < 16) w = 16; scroll_bar_width_for_theme = w; } and look what values w and b are set to? IIRC the rounding to 16 is responsible for a similar gap on my GTK+3 Emacs. > Can and will. Fine. Thanks, martin