Tk Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.
Ticket UUID: 1062022
Title: TIP 231: Support for [wm attributes] on X11
Type: Support Version: None
Submitter: jenglish Created on: 2004-11-07 18:33:40
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-07-29 20:07:39
Resolution: Closed By: jenglish
    Closed on: 2005-11-16 02:47:20
Description:
Adds support for -topmost, -zoomed, and -fullscreen wm
attributes on X11.  Implementation is based on the
freedesktop.org EWMH spec.
User Comments: dkf added on 2009-07-29 20:07:39:

IP - Comment Removed: 130.88.1.31

dkf added on 2008-12-07 19:25:07:

data_type - 212997

jenglish added on 2005-11-16 09:47:21:

File Added - 156420: tk-wmattributes.patch

jenglish added on 2005-11-16 09:47:20:
Logged In: YES 
user_id=68433

Final version of patch committed.  Take 3 fixes a bug with
[wm attributes -alpha] -- the actual state was never updated
to reflect the requested state, and the request state wasn't
correctly limited to the range [0,1].

There are still a few issues with state transitions (see
below), but it's close enough for now.

jenglish added on 2005-11-10 03:34:28:

File Added - 155602: tk-wmattributes.patch

jenglish added on 2005-11-10 03:34:27:
Logged In: YES 
user_id=68433

Updated patch (take 2): 

[wm attributes] now works for withdrawn windows.
Patch refreshed to apply to current CVS HEAD.

There are still some unpredictable interactions with [wm
withdraw] / [wm deiconify] if the user maximizes the window
or sets the 'Stay on top' attribute (for example: program
sets [wm attributes . -zoomed 1]; user unmaximizes window;
program withdraws window; program shows window ==> window is
maximized again.)

jenglish added on 2004-11-08 01:37:14:
Logged In: YES 
user_id=68433

In the current implementation, setting [wm attributes] only
works if the window is currently mapped.

jenglish added on 2004-11-08 01:33:40:

File Added - 107946: tk-wmattributes.patch

Attachments: