Bug 4521 - GTK's window-state-event reports sticky state wrongly
Status: RESOLVED INVALID
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: 3.4.10
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2010-01-30 09:10 EST by Nico Golde
Modified: 2010-01-30 09:39:53 EST
1 user (show)

See Also:


Attachments
stick.c (612 bytes, text/x-c-code)
2010-01-30 09:11 EST, Nico Golde

Description Nico Golde 2010-01-30 09:10:48 EST
From a Debian bug report (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567609)

With a simple GTK test program, the window-state-event signal is not                                                                                                                                                                                                                   
sent when I set a test window to be sticky or not to be sticky under                                                                                                                                                                                                                   
OpenBox.  Test program (stick.c) is attached.                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                       
$ ./stick                                                                                                                                                                                                                                                                              
<<< Right-click title bar, click "Send to desktop -> All desktops"                                                                                                                                                                                                                     
<<< Right-click title bar, click "Send to desktop -> Workspace 1"                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                       
Under XFWM or Metacity, the same test program prints out "Sticky? Yes."                                                                                                                                                                                                                
or "Sticky? No." when I toggle the sticky state (though not correctly;                                                                                                                                                                                                                 
see #567607 and #567608).

The test program is attached
Comment 1 Nico Golde 2010-01-30 09:11:48 EST
Created attachment 2285 [details]
stick.c
Comment 2 Mikachu 2010-01-30 09:39:53 EST
http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2505530

Sticky windows and windows on all desktops are _not_ the same thing. As you can't make a virtual desktop larger than the screen in openbox, we also don't care about sticky state.