awesome/objects
Uli Schlachter b909068430 Set _NET_WM_DESKTOP for sticky windows specially (#2653)
Today I learnt that _NET_WM_STATE_STICKY means something else than I
previously thought.

ICCCM and EWMH support virtual desktops that are larger than the actual
screen. The idea is that one can scroll through this virtual desktop,
which means that e.g. all windows move to the left, so one can see the
windows that are further to the right.

_NET_WM_STATE_STICKY indicates that a window is sticky. This means that
it does not scroll with the virtual desktop, but instead sticks to its
current position.

In AwesomeWM, we use a different definition. A sticky window is always
visible, even when it is not tagged with any of the currently selected
tags. This behaviour is indicated in EWMH with a special value of
_NET_WM_DESKTOP. This commit updates the code to actually set this
special value.

This fixes attaching tabs in Google Chrome when the "target window" is
sticky (in the AwesomeWM sense).

Fixes: https://github.com/awesomeWM/awesome/issues/2652
Signed-off-by: Uli Schlachter <psychon@znc.in>
2019-02-16 13:51:29 -05:00
..
button.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c Set _NET_WM_DESKTOP for sticky windows specially (#2653) 2019-02-16 13:51:29 -05:00
client.h Add support for motif wm hints 2018-08-03 19:19:43 +02:00
drawable.c Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c Remove systray_cleanup() from drawin_systray_kickout() (#2301) 2018-07-20 14:11:09 +03:00
drawin.h Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
key.c Use existing xkbcommon functionality instead of XKeysymToString 2019-01-21 01:08:48 -05:00
key.h Use existing xkbcommon functionality instead of XKeysymToString 2019-01-21 01:08:48 -05:00
screen.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
screen.h client_resize(): Stop trying to force on screen 2017-05-15 08:15:38 +02:00
selection_getter.c property: Remove unused int return 2019-02-11 10:13:13 +01:00
selection_getter.h property: Remove unused int return 2019-02-11 10:13:13 +01:00
selection_watcher.c selection watcher: Actually watch selections 2019-02-06 10:27:59 +01:00
selection_watcher.h Prepare a selection watcher interface 2019-02-06 09:30:16 +01:00
tag.c doc: Add missing C-object documentation and fix some papercuts. 2018-07-25 18:26:11 -04:00
tag.h Attempt at better handling of NET_CURRENT_DESKTOP property. 2016-06-04 16:42:54 +03:00
window.c Make alpha work on window borders 2018-03-03 10:57:48 +01:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00