From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1348: set-frame-width and set-frame-position seem buggy on at least MSWindows Date: Tue, 02 Dec 2008 16:54:11 +0100 Message-ID: <49355A23.8030001@gmx.at> References: 4922BD1F.2080604@gmx.at <492DBE0C.1030707@gmx.de> <492EA390.1020206@gmx.at> <492EDCC9.7070806@gmx.de> <492EF976.1070108@gmx.at> <49319B2E.20006@gmx.de> <49325AAA.5090606@gmx.at> <1228089264.493327b06fd4e@webmail.freedom2surf.net> <49339200.7080603@gmx.at> <1228119737.49339eb964cc6@webmail.freedom2surf.net> <4933AFA5.5020109@gmx.at> <4934D1AF.50905@gmx.de> Reply-To: martin rudalics , 1348@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228234249 15449 80.91.229.12 (2 Dec 2008 16:10:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 16:10:49 +0000 (UTC) Cc: 1348@emacsbugs.donarmstrong.com, jasonr@f2s.com To: grischka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 17:11:52 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7Xqk-00034K-EF for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 17:11:46 +0100 Original-Received: from localhost ([127.0.0.1]:53373 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7XpZ-000284-Q9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 11:10:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7XpL-000232-9S for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:10:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7XpJ-00022B-GR for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:10:18 -0500 Original-Received: from [199.232.76.173] (port=57329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7XpJ-00021x-5A for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:10:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51464) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7XpI-0007dU-KG for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:10:16 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2GACm5022014; Tue, 2 Dec 2008 08:10:13 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB2G55JK020148; Tue, 2 Dec 2008 08:05:05 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Dec 2008 16:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1348 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1348-submit@emacsbugs.donarmstrong.com id=B1348.122823350418024 (code B ref 1348); Tue, 02 Dec 2008 16:05:05 +0000 Original-Received: (at 1348) by emacsbugs.donarmstrong.com; 2 Dec 2008 15:58:24 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mB2FwJS7018014 for <1348@emacsbugs.donarmstrong.com>; Tue, 2 Dec 2008 07:58:21 -0800 Original-Received: (qmail invoked by alias); 02 Dec 2008 15:58:14 -0000 Original-Received: from 62-47-63-5.adsl.highway.telekom.at (EHLO [62.47.63.5]) [62.47.63.5] by mail.gmx.net (mp029) with SMTP; 02 Dec 2008 16:58:14 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19f1s1nbbZfEr+4xtbn0/tqfyZop0ehwNXHPQ3NVB 72P6QqqzWeCYlR User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <4934D1AF.50905@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 02 Dec 2008 11:10:18 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22842 Archived-At: > Below is a patch that fixes the problem on windows. > > As to X, it turned out that there is actually something > similar, it calls itself "x_sync_with_move". > > Have fun. Thanks. I'm running Emacs now with your patch and will inform you if and when I find any problems. But please be a bit less cryptic, at least when talking to illiterate people like me ;-) > + if (-100 != sd) [....] > + w32_read_socket(-100, 0, NULL); I suppose the -100 means to not handle "some" asynchronous resize requests while the WM handles ours. So - if a maximize, iconify, restore group request is enqueued we'd drop most (or some) of it? - if another asynchronous (not in the maximize, iconify, restore group) size-related request is enqueued, we'd honor it - "instead" of ours? - if a non-size-related request is in the queue we'd honor it - even it has some of our code re-resize frames? - if there's another frame we don't care about the record_asynch_buffer_change (); stuff? martin