* bug#59377: 29.0.50; Sticky frame parameter has no effect
@ 2022-11-19 5:29 Michael Heerdegen
2022-11-19 7:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2022-11-19 5:29 UTC (permalink / raw)
To: 59377
Hello,
Debian and Openbox on X here.
When I set the `sticky` frame parameter of a frame to non-nil, like in
(display-buffer (get-buffer-create "Test")
`(display-buffer-pop-up-frame
( pop-up-frame-parameters
(sticky . t) (minibuffer . nil))))
there is no effect - the frame is only displayed on the current virtual
desktop. Same when I explicitly set the frame parameter of an existing
frame, e.g. with
(set-frame-parameter nil 'sticky t)
I would have expected that this works with Openbox.
TIA,
Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-19 5:29 bug#59377: 29.0.50; Sticky frame parameter has no effect Michael Heerdegen
@ 2022-11-19 7:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 6:25 ` Michael Heerdegen
0 siblings, 1 reply; 10+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-19 7:09 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 59377
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Hello,
>
> Debian and Openbox on X here.
>
> When I set the `sticky` frame parameter of a frame to non-nil, like in
>
> (display-buffer (get-buffer-create "Test")
> `(display-buffer-pop-up-frame
> ( pop-up-frame-parameters
> (sticky . t) (minibuffer . nil))))
>
> there is no effect - the frame is only displayed on the current virtual
> desktop. Same when I explicitly set the frame parameter of an existing
> frame, e.g. with
>
> (set-frame-parameter nil 'sticky t)
>
> I would have expected that this works with Openbox.
>
> TIA,
>
> Michael.
Thanks.
Can you please do the following?
First, run "xdpyinfo". Look for the screen you are running Emacs on,
and its root window. Then, type "xprop -id <id-of-root-window-here>",
and send the output of that command.
Second, run "xprop", click on Emacs after you set the `sticky'
parameter, and send its output here.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-19 7:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-20 6:25 ` Michael Heerdegen
2022-11-20 7:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2022-11-20 6:25 UTC (permalink / raw)
To: Po Lu; +Cc: 59377
[-- Attachment #1: Type: text/plain, Size: 94 bytes --]
Po Lu <luangruo@yahoo.com> writes:
> Can you please do the following?
See the attached file.
[-- Attachment #2: sticky-x.txt --]
[-- Type: text/plain, Size: 8058 bytes --]
bash-5.1:micha:~$ xprop -id 0x16d
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 30, 109, -2, 86, 3, -91, 0, 0, 5, 20, 1, 3, 106, 48, 27, 120, -22, -82, -59, -94, 87, 74, -100, 37, 18, 80, 84, -91, 75, 0, -77, 0, -127, -128, 113, 79, -127, -49, -127, 79, 1, 1, 1, 1, 1, 1, 26, 54, -128, -96, 112, 56, 31, 64, 48, 32, 37, 0, -35, 13, 17, 0, 0, 26, 2, 58, -128, 24, 113, 56, 45, 64, 88, 44, 69, 0, -35, 13, 17, 0, 0, 30, 0, 0, 0, -3, 0, 56, 75, 30, 83, 15, 0, 10, 32, 32, 32, 32, 32, 32, 0, 0, 0, -4, 0, 87, 50, 50, 52, 51, 10, 32, 32, 32, 32, 32, 32, 32, 0, -11
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x4600001
_XROOTPMAP_ID(PIXMAP): pixmap id # 0x4600001
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 4, 0
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x2200401
PULSE_COOKIE(STRING) = "d8fcb18b6bd0b8a725c82abc74aa1f70e8f4ebefef314e4e3de75f25461c124f8ccc58d1a6c2a80d8afda9eb095a5ed3d45fd3be9d8c53410bc28bfacd913f482abb2a000b593f6f947621d3434ee29b911c0728b113f5a8d77e4678543fc84b47d30f174f26c88268a3e81e5ed82961d4657d113d7063a48fca5ef173f7c7af2df31723d44dc5bbfcda38b5493fb4e0a377557706d5b77455366d557779e0b75e23311e8911e54213b8b8cd68455c70c72dbed3532387c2f6727804874e9cfea68a32a3d4ba886fcb482244f53dedbe251f4c22c3219d063b373ca789d8e2d7dcd08388561d62d4cf32fd173c2368fae475b1159e1bf8e6cdb7f6ceaf05dc44"
PULSE_SERVER(STRING) = "{83b4b24943333cae2b8a8f4e505c74f8}unix:/run/user/1000/pulse/native"
PULSE_ID(STRING) = "1000@83b4b24943333cae2b8a8f4e505c74f8/1046"
GDK_VISUALS(INTEGER) = 288, 355
RESOURCE_MANAGER(STRING) = "XTerm*Font:\t10x20\nXTerm*metaSendsEscape:\ttrue\nXTerm*background:\tblack\nXTerm*foreground:\twhite\n"
_NET_CLIENT_LIST(WINDOW): window id # 0xa00003, 0xa00007, 0xa0000d, 0xa00012, 0xa00016, 0x3000002, 0x400002c, 0x220013a, 0x2200401
_NET_SHOWING_DESKTOP(CARDINAL) = 0
_NET_CURRENT_DESKTOP(CARDINAL) = 0
_NET_DESKTOP_NAMES(UTF8_STRING) = "desktop 1", "desktop 2", "desktop 3", "desktop 4", "desktop 5", "desktop 6", "desktop 7", "desktop 8", "desktop 9", "desktop 10", "desktop 11", "desktop 12", "desktop 13", "desktop 14", "desktop 15", "desktop 16", "desktop 17", "desktop 18", "desktop 19", "desktop 20", "desktop 21", "desktop 22", "desktop 23", "desktop 24", "desktop 25", "desktop 26", "desktop 27", "desktop 28", "desktop 29", "desktop 30", "desktop 31", "desktop 32", "desktop 33", "desktop 34", "desktop 35", "desktop 36", "desktop 37", "desktop 38", "desktop 39", "desktop 40"
_NET_WORKAREA(CARDINAL) = 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080, 0, 0, 1828, 1080
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 40
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1920, 1080
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x3000002, 0x400002c, 0x220013a, 0x2200401, 0xa00003, 0xa00007, 0xa0000d, 0xa00012, 0xa00016
_OB_THEME(UTF8_STRING) = "Clearlooks"
_OB_VERSION(UTF8_STRING) = "3.6.1"
_NET_SUPPORTED(ATOM) = _NET_SUPPORTING_WM_CHECK, _NET_WM_FULL_PLACEMENT, _NET_CURRENT_DESKTOP, _NET_NUMBER_OF_DESKTOPS, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_VIEWPORT, _NET_ACTIVE_WINDOW, _NET_WORKAREA, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_DESKTOP_NAMES, _NET_CLOSE_WINDOW, _NET_DESKTOP_LAYOUT, _NET_SHOWING_DESKTOP, _NET_WM_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_ICON_NAME, _NET_WM_VISIBLE_ICON_NAME, _NET_WM_DESKTOP, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_ALLOWED_ACTIONS, _NET_WM_WINDOW_OPACITY, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_STATE, _NET_WM_STATE_MODAL, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_MOVERESIZE_WINDOW, _NET_WM_MOVERESIZE, _NET_WM_USER_TIME, _NET_FRAME_EXTENTS, _NET_REQUEST_FRAME_EXTENTS, _NET_RESTACK_WINDOW, _NET_STARTUP_ID, _NET_WM_SYNC_REQUEST, _NET_WM_SYNC_REQUEST_COUNTER, _NET_WM_PID, _NET_WM_PING, _KDE_WM_CHANGE_STATE, _KDE_NET_WM_FRAME_STRUT, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _OB_WM_ACTION_UNDECORATE, _OB_WM_STATE_UNDECORATED, _OPENBOX_PID, _OB_THEME, _OB_CONFIG_FILE, _OB_CONTROL, _OB_VERSION, _OB_APP_ROLE, _OB_APP_TITLE, _OB_APP_NAME, _OB_APP_CLASS, _OB_APP_GROUP_NAME, _OB_APP_GROUP_CLASS, _OB_APP_TYPE
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x40020b
_OPENBOX_PID(CARDINAL) = 1114
_XKB_RULES_NAMES(STRING) = "evdev", "evdev", "us", "", ""
XFree86_has_VT(INTEGER) = 1
XFree86_VT(INTEGER) = 1
bash-5.1:micha:~$ xprop
_NET_WM_ICON_GEOMETRY(CARDINAL) = 4294957306, 4294957298, 41, 41
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
XdndAware(ATOM) = BITMAP
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _OB_WM_ACTION_UNDECORATE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 1, 1, 20, 5
_NET_FRAME_EXTENTS(CARDINAL) = 1, 1, 20, 5
_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE
_OB_APP_TYPE(UTF8_STRING) = "normal"
_OB_APP_TITLE(UTF8_STRING) = "Copy"
_OB_APP_GROUP_CLASS(UTF8_STRING) =
_OB_APP_GROUP_NAME(UTF8_STRING) =
_OB_APP_CLASS(UTF8_STRING) = "Emacs"
_OB_APP_NAME(UTF8_STRING) = "emacs"
_OB_APP_ROLE(UTF8_STRING) =
_NET_WM_VISIBLE_ICON_NAME(UTF8_STRING) = "Copy"
_NET_WM_VISIBLE_NAME(UTF8_STRING) = "Copy"
_NET_WM_USER_TIME(CARDINAL) = 12947831
_NET_WM_SYNC_FENCES(CARDINAL) = 35653343, 35653344
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 35653342
_NET_WM_PID(CARDINAL) = 70996
WM_LOCALE_NAME(STRING) = "de_DE.utf8"
WM_CLIENT_MACHINE(STRING) = "drachen"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 0, 0
user specified size: 142 by 30
program specified minimum size: 14 by 2
program specified resize increment: 14 by 28
program specified base size: 14 by 2
window gravity: NorthWest
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 140, 30
_NET_WM_ICON_NAME(UTF8_STRING) = "Copy"
WM_ICON_NAME(STRING) = "Copy"
_NET_WM_NAME(UTF8_STRING) = "Copy"
WM_NAME(STRING) = "Copy"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_SAVE_YOURSELF, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x2200141
bitmap id # of mask for icon: 0x2200143
WM_CLASS(STRING) = "emacs", "Emacs"
bash-5.1:micha:~$
[-- Attachment #3: Type: text/plain, Size: 234 bytes --]
When I mark the frame (X window) with "Send to desktop -> All desktops"
in Openbox, then I see
_NET_WM_DESKTOP(CARDINAL) = 4294967295
instead of
_NET_WM_DESKTOP(CARDINAL) = 0
- just in case this is also relevant.
Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 6:25 ` Michael Heerdegen
@ 2022-11-20 7:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 7:45 ` Michael Heerdegen
0 siblings, 1 reply; 10+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-20 7:31 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 59377
Michael Heerdegen <michael_heerdegen@web.de> writes:
> _NET_SUPPORTED(ATOM) = _NET_SUPPORTING_WM_CHECK, _NET_WM_FULL_PLACEMENT, _NET_CURRENT_DESKTOP, _NET_NUMBER_OF_DESKTOPS, _NET_DESKTOP_GEOMETRY, _NET_DESKTOP_VIEWPORT, _NET_ACTIVE_WINDOW, _NET_WORKAREA, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_DESKTOP_NAMES, _NET_CLOSE_WINDOW, _NET_DESKTOP_LAYOUT, _NET_SHOWING_DESKTOP, _NET_WM_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_ICON_NAME, _NET_WM_VISIBLE_ICON_NAME, _NET_WM_DESKTOP, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_ALLOWED_ACTIONS, _NET_WM_WINDOW_OPACITY, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_STATE, _NET_WM_STATE_MODAL, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_ABOVE, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_MOVERESIZE_WINDOW, _NET_WM_MOVERESIZE, _NET_WM_USER_TIME, _NET_FRAME_EXTENTS, _NET_REQUEST_FRAME_EXTENTS, _NET_RESTACK_WINDOW, _NET_STARTUP_ID, _NET_WM_SYNC_REQUEST, _NET_WM_SYNC_REQUEST_COUNTER, _NET_WM_PID, _NET_WM_PING, _KDE_WM_CHANGE_STATE, _KDE_NET_WM_FRAME_STRUT, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _OB_WM_ACTION_UNDECORATE, _OB_WM_STATE_UNDECORATED, _OPENBOX_PID, _OB_THEME, _OB_CONFIG_FILE, _OB_CONTROL, _OB_VERSION, _OB_APP_ROLE, _OB_APP_TITLE, _OB_APP_NAME, _OB_APP_CLASS, _OB_APP_GROUP_NAME, _OB_APP_GROUP_CLASS, _OB_APP_TYPE
> _NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x40020b
This means your window manager does not support _NET_WM_STATE_STICKY.
Emacs only supports that method of making a frame sticky, and no others.
I guess Emacs could be made to send a _NET_WM_DESKTOP with the desktop
set to 0xffffffff when the window manager does not support
_NET_WM_STATE_STICKY, but it would be a lot of trouble. Since you're
trying to make some sort of popup, does the `override-redirect' frame
parameter work for you?
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 7:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-20 7:45 ` Michael Heerdegen
2022-11-20 9:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2022-11-20 7:45 UTC (permalink / raw)
To: Po Lu; +Cc: 59377
Po Lu <luangruo@yahoo.com> writes:
> This means your window manager does not support _NET_WM_STATE_STICKY.
> Emacs only supports that method of making a frame sticky, and no
> others.
Shouldn't we have that information in the manual?
> I guess Emacs could be made to send a _NET_WM_DESKTOP with the desktop
> set to 0xffffffff when the window manager does not support
> _NET_WM_STATE_STICKY, but it would be a lot of trouble. Since you're
> trying to make some sort of popup, does the `override-redirect' frame
> parameter work for you?
Hmm - that popup is not specific to Emacs so I would rather try to make
it work using `x-send-client-message', even if that works only in
openbox (and X...) then. How would the correct `x-send-client-message'
call look like?
Thanks,
Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 7:45 ` Michael Heerdegen
@ 2022-11-20 9:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 11:56 ` Michael Heerdegen
0 siblings, 1 reply; 10+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-20 9:41 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 59377
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Shouldn't we have that information in the manual?
No, it is a very low-level detail of X window manager implementations.
> Hmm - that popup is not specific to Emacs so I would rather try to make
> it work using `x-send-client-message', even if that works only in
> openbox (and X...) then. How would the correct `x-send-client-message'
> call look like?
(x-send-client-message frame 0 frame "_NET_WM_DESKTOP" 32
'(#xffffffff 1))
Bind `x-fast-protocol-requests' around the call for optimal performance.
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 9:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-20 11:56 ` Michael Heerdegen
2022-11-20 12:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2022-11-20 11:56 UTC (permalink / raw)
To: Po Lu; +Cc: 59377
Po Lu <luangruo@yahoo.com> writes:
> > Shouldn't we have that information in the manual?
>
> No, it is a very low-level detail of X window manager implementations.
That the feature doesn't work with standard WMs is not a detail. Maybe
say something like "if supported by your WM" or "not all WM are
supported" or so.
> (x-send-client-message frame 0 frame "_NET_WM_DESKTOP" 32
> '(#xffffffff 1))
Works well, thank you.
Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 11:56 ` Michael Heerdegen
@ 2022-11-20 12:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 13:03 ` Michael Heerdegen
0 siblings, 1 reply; 10+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-20 12:25 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 59377
Michael Heerdegen <michael_heerdegen@web.de> writes:
> That the feature doesn't work with standard WMs is not a detail. Maybe
> say something like "if supported by your WM" or "not all WM are
> supported" or so.
If Openbox does not support the hint, then it is not a ``standard window
manager'', as far as virtual desktops are concerned.
The manual already says:
‘sticky’
If non-‘nil’, the frame is visible on all virtual desktops on
systems with virtual desktops.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 12:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-20 13:03 ` Michael Heerdegen
2022-11-24 23:52 ` Stefan Kangas
0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2022-11-20 13:03 UTC (permalink / raw)
To: Po Lu; +Cc: 59377
Po Lu <luangruo@yahoo.com> writes:
> > That the feature doesn't work with standard WMs is not a detail. Maybe
> > say something like "if supported by your WM" or "not all WM are
> > supported" or so.
>
> If Openbox does not support the hint, then it is not a ``standard
> window manager'', as far as virtual desktops are concerned.
Maybe they are just virtual virtual desktops...
Ok, if you think that people who know more about the matter will not be
surprised, then it's all good, I cannot estimate.
In any case, thanks for helping.
Michael.
^ permalink raw reply [flat|nested] 10+ messages in thread
* bug#59377: 29.0.50; Sticky frame parameter has no effect
2022-11-20 13:03 ` Michael Heerdegen
@ 2022-11-24 23:52 ` Stefan Kangas
0 siblings, 0 replies; 10+ messages in thread
From: Stefan Kangas @ 2022-11-24 23:52 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: Po Lu, 59377-done
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Po Lu <luangruo@yahoo.com> writes:
>
>> > That the feature doesn't work with standard WMs is not a detail. Maybe
>> > say something like "if supported by your WM" or "not all WM are
>> > supported" or so.
>>
>> If Openbox does not support the hint, then it is not a ``standard
>> window manager'', as far as virtual desktops are concerned.
>
> Maybe they are just virtual virtual desktops...
>
> Ok, if you think that people who know more about the matter will not be
> surprised, then it's all good, I cannot estimate.
>
> In any case, thanks for helping.
So it seems like there is nothing more to do here, and I'm therefore
closing this bug report.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-11-24 23:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-19 5:29 bug#59377: 29.0.50; Sticky frame parameter has no effect Michael Heerdegen
2022-11-19 7:09 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 6:25 ` Michael Heerdegen
2022-11-20 7:31 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 7:45 ` Michael Heerdegen
2022-11-20 9:41 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 11:56 ` Michael Heerdegen
2022-11-20 12:25 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 13:03 ` Michael Heerdegen
2022-11-24 23:52 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).