* difference between maximized and fullscreen?
@ 2009-06-28 7:26 joakim
2009-06-28 9:39 ` Jan Djärv
0 siblings, 1 reply; 14+ messages in thread
From: joakim @ 2009-06-28 7:26 UTC (permalink / raw)
To: Emacs Development
(frame-parameter nil 'fullscreen) returns 'fullboth when the frame is
maximized, and when the frame is full-screen.
How can I determine these separate states independently?
--
Joakim Verona
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-06-28 7:26 difference between maximized and fullscreen? joakim
@ 2009-06-28 9:39 ` Jan Djärv
[not found] ` <m3vdmgbku2.fsf@verona.se>
2009-06-30 2:29 ` John Yates
0 siblings, 2 replies; 14+ messages in thread
From: Jan Djärv @ 2009-06-28 9:39 UTC (permalink / raw)
To: joakim; +Cc: Emacs Development
joakim@verona.se skrev:
> (frame-parameter nil 'fullscreen) returns 'fullboth when the frame is
> maximized, and when the frame is full-screen.
>
> How can I determine these separate states independently?
>
You can't just yet (well, you can check the window properties). I will add
support for fullscreen and maximized soonish.
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
[not found] ` <m3vdmgbku2.fsf@verona.se>
@ 2009-06-28 16:25 ` Jan Djärv
2009-07-01 14:12 ` Jan Djärv
1 sibling, 0 replies; 14+ messages in thread
From: Jan Djärv @ 2009-06-28 16:25 UTC (permalink / raw)
To: joakim; +Cc: emacs-devel
joakim@verona.se skrev:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> joakim@verona.se skrev:
>>> (frame-parameter nil 'fullscreen) returns 'fullboth when the frame is
>>> maximized, and when the frame is full-screen.
>>>
>>> How can I determine these separate states independently?
>>>
>> You can't just yet (well, you can check the window properties). I will
>> add support for fullscreen and maximized soonish.
>
> Ok that would be very nice for my usecase.
> will it be possible to both read and write maximized and fullscreen separately?
>
Yes, that is the idea.
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-06-28 9:39 ` Jan Djärv
[not found] ` <m3vdmgbku2.fsf@verona.se>
@ 2009-06-30 2:29 ` John Yates
2009-06-30 14:40 ` Jan Djärv
2009-07-01 17:00 ` Jan Djärv
1 sibling, 2 replies; 14+ messages in thread
From: John Yates @ 2009-06-30 2:29 UTC (permalink / raw)
To: Jan Djärv; +Cc: Emacs Development
On Sun, Jun 28, 2009 at 5:39 AM, Jan Djärv<jan.h.d@swipnet.se> wrote:
> You can't just yet (well, you can check the window properties). I will add
> support for fullscreen and maximized soonish.
Jan,
While you are in can you provide a means to add _NET_WM_STATE_STICKY
to _NET_WM_STATE? I am having no luck adding it to my sole
minibuffer-only frame using x-change-window-property in an
after-make-frame-functions hook, though I am able to change the frame
type and strut properties.
/john
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-06-30 2:29 ` John Yates
@ 2009-06-30 14:40 ` Jan Djärv
2009-07-01 17:00 ` Jan Djärv
1 sibling, 0 replies; 14+ messages in thread
From: Jan Djärv @ 2009-06-30 14:40 UTC (permalink / raw)
To: John Yates; +Cc: Emacs Development
John Yates skrev:
> On Sun, Jun 28, 2009 at 5:39 AM, Jan Djärv<jan.h.d@swipnet.se> wrote:
>
>> You can't just yet (well, you can check the window properties). I will add
>> support for fullscreen and maximized soonish.
>
> Jan,
>
> While you are in can you provide a means to add _NET_WM_STATE_STICKY
> to _NET_WM_STATE? I am having no luck adding it to my sole
> minibuffer-only frame using x-change-window-property in an
> after-make-frame-functions hook, though I am able to change the frame
> type and strut properties.
>
That should be doable, at least it doesn't involve size changes...
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
[not found] ` <m3vdmgbku2.fsf@verona.se>
2009-06-28 16:25 ` Jan Djärv
@ 2009-07-01 14:12 ` Jan Djärv
1 sibling, 0 replies; 14+ messages in thread
From: Jan Djärv @ 2009-07-01 14:12 UTC (permalink / raw)
To: joakim; +Cc: Emacs-Devel
Hi.
I have added maximized now, please test it to see if it does what you need.
Thanks,
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-06-30 2:29 ` John Yates
2009-06-30 14:40 ` Jan Djärv
@ 2009-07-01 17:00 ` Jan Djärv
2009-07-01 17:05 ` Jan Djärv
2009-07-01 17:52 ` Drew Adams
1 sibling, 2 replies; 14+ messages in thread
From: Jan Djärv @ 2009-07-01 17:00 UTC (permalink / raw)
To: John Yates; +Cc: Emacs Development
Hello.
I added a frame parameter called sticky. Please try it.
Jan D.
John Yates skrev:
> On Sun, Jun 28, 2009 at 5:39 AM, Jan Djärv<jan.h.d@swipnet.se> wrote:
>
>> You can't just yet (well, you can check the window properties). I will add
>> support for fullscreen and maximized soonish.
>
> Jan,
>
> While you are in can you provide a means to add _NET_WM_STATE_STICKY
> to _NET_WM_STATE? I am having no luck adding it to my sole
> minibuffer-only frame using x-change-window-property in an
> after-make-frame-functions hook, though I am able to change the frame
> type and strut properties.
>
> /john
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-07-01 17:00 ` Jan Djärv
@ 2009-07-01 17:05 ` Jan Djärv
2009-07-01 17:52 ` Drew Adams
1 sibling, 0 replies; 14+ messages in thread
From: Jan Djärv @ 2009-07-01 17:05 UTC (permalink / raw)
To: John Yates; +Cc: Emacs Development
> John Yates skrev:
>> While you are in can you provide a means to add _NET_WM_STATE_STICKY
>> to _NET_WM_STATE? I am having no luck adding it to my sole
>> minibuffer-only frame using x-change-window-property in an
>> after-make-frame-functions hook, though I am able to change the frame
>> type and strut properties.
BTW, x-change-window-property isn't the right way to change _NET_WM_STATE.
You must send a client message to the root window, the window manager
intercepts the message and then changes the property on your window.
See http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html.
x-send-client-message could do the job.
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: difference between maximized and fullscreen?
2009-07-01 17:00 ` Jan Djärv
2009-07-01 17:05 ` Jan Djärv
@ 2009-07-01 17:52 ` Drew Adams
2009-07-01 20:10 ` Jan Djärv
1 sibling, 1 reply; 14+ messages in thread
From: Drew Adams @ 2009-07-01 17:52 UTC (permalink / raw)
To: 'Jan Djärv', 'John Yates'
Cc: 'Emacs Development'
> I added a frame parameter called sticky. Please try it.
1. I haven't been following this thread. Please ignore if I misunderstand.
Does this mean that the current frame size (and position?) can be "pinned"
(locked), so that frame sizing (and positioning?) functions have no effect
(unless the `sticky' frame parameter is reset to nil)?
That could be interesting. But it might be even better to have a frame-local
variable to control such locking, instead of a frame parameter. That way, a
function could `let'-bind the variable, to inhibit frame movements and resizing
for a given `let' scope (duration). A user could still unconditionally lock a
frame, but would do so by setting the variable instead of a frame parameter.
----
2. We might even have a user option whose value is a list of frame parameters
(not their values) that are to be controlled by this locking. By default, the
list could be just the size and position parameters, but other parameters might
be made susceptible also.
----
3. BTW, I see that the Elisp manual (node Frame-Local Variables) suggests that
frame-local vars are more or less deprecated (since 22.2). Why? The only reason
given is that they "have not proven very useful." The same could be said for
lots of Emacs features that have never been used much. That's hardly been a
sufficient reason to deprecate.
I've never used frame-local variables, myself, but it seems like they could be
useful, as suggested above. `let' binding could be handier than calling
`modify-frame-parameters' explicitly to set and then reset (and perhaps wrapping
with `unwind-protect', to ensure restoration).
Now if there is some additional reason for deprecating - some _problems_ that
arise from having frame-local vars, then that is a different matter. But the
only reason given seems pretty weak: lack of use of a feature is not much of a
reason to remove it. Especially since this feature was introduced only a short
while before it was deprecated (IIUC, it was introduced in Emacs 22.1 and
deprecated in Emacs 22.2?).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-07-01 17:52 ` Drew Adams
@ 2009-07-01 20:10 ` Jan Djärv
2009-07-01 23:12 ` Drew Adams
0 siblings, 1 reply; 14+ messages in thread
From: Jan Djärv @ 2009-07-01 20:10 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Emacs Development', 'John Yates'
Drew Adams skrev:
>> I added a frame parameter called sticky. Please try it.
>
> 1. I haven't been following this thread. Please ignore if I misunderstand.
>
> Does this mean that the current frame size (and position?) can be "pinned"
> (locked), so that frame sizing (and positioning?) functions have no effect
> (unless the `sticky' frame parameter is reset to nil)?
No. It means that in the presence of multiple virtual desktops, the frame
will appear in all of them.
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: difference between maximized and fullscreen?
2009-07-01 20:10 ` Jan Djärv
@ 2009-07-01 23:12 ` Drew Adams
2009-07-02 4:36 ` tomas
2009-07-02 6:26 ` Jan Djärv
0 siblings, 2 replies; 14+ messages in thread
From: Drew Adams @ 2009-07-01 23:12 UTC (permalink / raw)
To: 'Jan Djärv'
Cc: 'Emacs Development', 'John Yates'
=
> >> I added a frame parameter called sticky. Please try it.
> >
> > 1. Does this mean that the current frame size (and position?)
> > can be "pinned" (locked), so that frame sizing (and positioning?)
> > functions have no effect (unless the `sticky' frame parameter
> > is reset to nil)?
>
> No. It means that in the presence of multiple virtual
> desktops, the frame will appear in all of them.
I see.
FWIW - In that case, perhaps some other name should be used than "sticky",
something that more directly reflects the functionality (of displaying on all
virtual desktops).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-07-01 23:12 ` Drew Adams
@ 2009-07-02 4:36 ` tomas
2009-07-02 5:36 ` Stephen J. Turnbull
2009-07-02 6:26 ` Jan Djärv
1 sibling, 1 reply; 14+ messages in thread
From: tomas @ 2009-07-02 4:36 UTC (permalink / raw)
To: Drew Adams
Cc: 'Jan Djärv', 'John Yates',
'Emacs Development'
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Jul 01, 2009 at 04:12:29PM -0700, Drew Adams wrote:
[...]
> > No. It means that in the presence of multiple virtual
> > desktops, the frame will appear in all of them.
>
> I see.
>
> FWIW - In that case, perhaps some other name should be used than "sticky",
> something that more directly reflects the functionality (of displaying on all
> virtual desktops).
FWIW[2] that seems to be "standard" window manager jargon (the metaphor
being that the window "sticks" to the glass in your CRT from behind).
Thus it might be unwise to invent something new.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFKTDlIBcgs9XrR2kYRAokuAJ98o2CrCmL8MiyQ3YxlfwQh283oPQCePSLT
itDqdqzu85sgrvydp86CbCM=
=6/jI
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-07-02 4:36 ` tomas
@ 2009-07-02 5:36 ` Stephen J. Turnbull
0 siblings, 0 replies; 14+ messages in thread
From: Stephen J. Turnbull @ 2009-07-02 5:36 UTC (permalink / raw)
To: tomas
Cc: Jan Djärv, 'Emacs Development', Drew Adams,
'John Yates'
tomas@tuxteam.de writes:
> FWIW[2] that seems to be "standard" window manager jargon (the
> metaphor being that the window "sticks" to the glass in your CRT
> from behind). Thus it might be unwise to invent something new.
The use of "sticky window" to describe this feature goes back to at
least 1995 when I started using fvwm. (I don't claim that fvwm
invented it, it's just the first wm I used that supported this
feature. I think Windowmaker also supported it, and called it "sticky
window", too.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: difference between maximized and fullscreen?
2009-07-01 23:12 ` Drew Adams
2009-07-02 4:36 ` tomas
@ 2009-07-02 6:26 ` Jan Djärv
1 sibling, 0 replies; 14+ messages in thread
From: Jan Djärv @ 2009-07-02 6:26 UTC (permalink / raw)
To: Drew Adams; +Cc: 'John Yates', 'Emacs Development'
Drew Adams skrev:
> =
>>>> I added a frame parameter called sticky. Please try it.
>>> 1. Does this mean that the current frame size (and position?)
>>> can be "pinned" (locked), so that frame sizing (and positioning?)
>>> functions have no effect (unless the `sticky' frame parameter
>>> is reset to nil)?
>> No. It means that in the presence of multiple virtual
>> desktops, the frame will appear in all of them.
>
> I see.
>
> FWIW - In that case, perhaps some other name should be used than "sticky",
> something that more directly reflects the functionality (of displaying on all
> virtual desktops).
Sticky is what has been used for this for as long as there has been virtual
desktops AFAIK. Olvwm used sticky back in 1992. It is even in the desktop
standards document. It won't be changed.
Jan D.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2009-07-02 6:26 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-28 7:26 difference between maximized and fullscreen? joakim
2009-06-28 9:39 ` Jan Djärv
[not found] ` <m3vdmgbku2.fsf@verona.se>
2009-06-28 16:25 ` Jan Djärv
2009-07-01 14:12 ` Jan Djärv
2009-06-30 2:29 ` John Yates
2009-06-30 14:40 ` Jan Djärv
2009-07-01 17:00 ` Jan Djärv
2009-07-01 17:05 ` Jan Djärv
2009-07-01 17:52 ` Drew Adams
2009-07-01 20:10 ` Jan Djärv
2009-07-01 23:12 ` Drew Adams
2009-07-02 4:36 ` tomas
2009-07-02 5:36 ` Stephen J. Turnbull
2009-07-02 6:26 ` Jan Djärv
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.