Tk Source Code

View Ticket
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
Adds support for -topmost, -zoomed, and -fullscreen wm
attributes on X11.  Implementation is based on the EWMH spec.
User Comments: dkf added on 2009-07-29 20:07:39:

IP - Comment Removed:

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 

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 

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 

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