11 years agoshow the focus cycle popup's icons in linear order when cycling in linear order ...
Dana Jansens [Fri, 16 Apr 2010 22:41:08 +0000 (18:41 -0400)]
show the focus cycle popup's icons in linear order when cycling in linear order (bug #2319)

11 years agoadd an option to next/previous window to only include hilited/flashing/urgent windows...
Dana Jansens [Fri, 16 Apr 2010 22:17:05 +0000 (18:17 -0400)]
add an option to next/previous window to only include hilited/flashing/urgent windows (feature req/bug #4341)

11 years agoLink libobrender, not openbox, to imlib2
Mikael Magnusson [Sun, 14 Mar 2010 14:28:27 +0000 (15:28 +0100)]
Link libobrender, not openbox, to imlib2

11 years agoadd some comments for binary search
Dana Jansens [Fri, 16 Apr 2010 15:46:52 +0000 (11:46 -0400)]
add some comments for binary search

11 years agostat() can give an error, handle that
Dana Jansens [Fri, 16 Apr 2010 15:41:13 +0000 (11:41 -0400)]
stat() can give an error, handle that

11 years agouse const Rect* not Rect const*
Dana Jansens [Fri, 16 Apr 2010 15:31:22 +0000 (11:31 -0400)]
use const Rect* not Rect const*

11 years agoadd BSEARCH() macros in obt/bsearch.h that to a binary search on an array, use it...
Dana Jansens [Tue, 30 Mar 2010 03:21:22 +0000 (23:21 -0400)]
add BSEARCH() macros in obt/bsearch.h that to a binary search on an array, use it when searching for a group in obt_paths_try_exec()

11 years agoparse some of the .desktop stuff into an ObtLink structure
Dana Jansens [Tue, 30 Mar 2010 02:38:05 +0000 (22:38 -0400)]
parse some of the .desktop stuff into an ObtLink structure

localized names still don't work.
most of the app-specific stuff isn't done yet.
categories aren't handled yet (to only show in/not show in some category)

11 years agoadd obt_paths_try_exec() that will see if an executable exists
Dana Jansens [Tue, 30 Mar 2010 02:32:07 +0000 (22:32 -0400)]
add obt_paths_try_exec() that will see if an executable exists

11 years agosave the LC_MESSAGES locale category
Dana Jansens [Tue, 30 Mar 2010 01:22:19 +0000 (21:22 -0400)]
save the LC_MESSAGES locale category

11 years agoif a launch time isnt there (like for client_activate) assume the window launched...
Dana Jansens [Tue, 30 Mar 2010 00:36:35 +0000 (20:36 -0400)]
if a launch time isnt there (like for client_activate) assume the window launched before the last desktop switch, not after. ie don't change desktops if you're not sure.

11 years agomake keypad enter do the same thing as return
Dana Jansens [Fri, 26 Mar 2010 02:17:05 +0000 (22:17 -0400)]
make keypad enter do the same thing as return

11 years agofigure out what type the value should be for each known .desktop key, and watch for...
Dana Jansens [Fri, 26 Mar 2010 02:03:55 +0000 (22:03 -0400)]
figure out what type the value should be for each known .desktop key, and watch for invalid keys

11 years agoAdd a new ObtLink type, which is going to be a generalization of a .desktop entry.
Dana Jansens [Fri, 26 Mar 2010 01:10:45 +0000 (21:10 -0400)]
Add a new ObtLink type, which is going to be a generalization of a .desktop entry.

Move the .desktop file parsing details into obt/ddparse.c, which generates
  some hash tables holding the data of the file.
Add a new obt/link.c which will build an ObtLink from a parsed .desktop file,
  and may support other ways to create these links in the unforseeable future

11 years agoignore the rendertest executable
Dana Jansens [Fri, 26 Mar 2010 01:09:20 +0000 (21:09 -0400)]
ignore the rendertest executable

11 years agoignore generated autostart script
Dana Jansens [Fri, 26 Mar 2010 01:08:55 +0000 (21:08 -0400)]
ignore generated autostart script

11 years agosave key values based on their value, but we dont know what values they have yet
Dana Jansens [Thu, 25 Mar 2010 23:31:57 +0000 (19:31 -0400)]
save key values based on their value, but we dont know what values they have yet

11 years agoadd an empty function to parse the Desktop Entry group in a .desktop file
Dana Jansens [Thu, 25 Mar 2010 02:09:58 +0000 (22:09 -0400)]
add an empty function to parse the Desktop Entry group in a .desktop file

11 years agoparse key/value pairs from the .desktop file and save them in a hashtable
Dana Jansens [Thu, 25 Mar 2010 01:58:49 +0000 (21:58 -0400)]
parse key/value pairs from the .desktop file and save them in a hashtable

11 years agoclose the .desktop file after parsing it
Dana Jansens [Thu, 25 Mar 2010 01:58:32 +0000 (21:58 -0400)]
close the .desktop file after parsing it

11 years agofree the path after done with it
Dana Jansens [Thu, 25 Mar 2010 01:50:10 +0000 (21:50 -0400)]
free the path after done with it

11 years agog_warning adds a \n
Dana Jansens [Thu, 25 Mar 2010 01:37:41 +0000 (21:37 -0400)]
g_warning adds a \n

11 years agowatch for groups in .desktop files and remember the current group. validate the names...
Dana Jansens [Thu, 25 Mar 2010 00:04:41 +0000 (20:04 -0400)]
watch for groups in .desktop files and remember the current group. validate the names, and make sure no duplicates and "Desktop Entry" comes first

11 years agoavoid ascii control characters in strings
Dana Jansens [Wed, 24 Mar 2010 23:49:23 +0000 (19:49 -0400)]
avoid ascii control characters in strings

11 years agoadd beginning of .desktop file parsing, grabs a line of text from the input file...
Dana Jansens [Wed, 24 Mar 2010 02:17:06 +0000 (22:17 -0400)]
add beginning of .desktop file parsing, grabs a line of text from the input file at a time and strips out any \0 characters

11 years agomake enum values match numbers in the spec, and make the .desktop file reader functio...
Dana Jansens [Wed, 24 Mar 2010 02:15:12 +0000 (22:15 -0400)]
make enum values match numbers in the spec, and make the .desktop file reader function take a list of paths to look for the file in

11 years agoinstall the obt/ddfile.h header
Dana Jansens [Wed, 24 Mar 2010 02:14:33 +0000 (22:14 -0400)]
install the obt/ddfile.h header

11 years agoadd function to give the list of autostart directories
Dana Jansens [Wed, 24 Mar 2010 00:22:11 +0000 (20:22 -0400)]
add function to give the list of autostart directories

11 years agoadd some functions for parsing a value in a .desktop file
Dana Jansens [Wed, 24 Mar 2010 00:12:16 +0000 (20:12 -0400)]
add some functions for parsing a value in a .desktop file

11 years agoallow non-normal windows to go to 0,0. and remove a debugging g_print
Dana Jansens [Tue, 23 Mar 2010 21:00:01 +0000 (17:00 -0400)]
allow non-normal windows to go to 0,0.  and remove a debugging g_print

11 years agoAdd menu seperator style to Clearlooks
David Barr [Tue, 9 Mar 2010 12:00:02 +0000 (13:00 +0100)]
Add menu seperator style to Clearlooks

The default themerc is quite old and does not include the slightly newer
option to theme the menu seperator, here is a patch to fix that and some
very trivial tweaks to overall theme to better match the metacity/gtk

11 years agoadd a function client_is_oldfullscreen() that determines if a window is an "oldschool...
Dana Jansens [Mon, 1 Mar 2010 21:30:06 +0000 (16:30 -0500)]
add a function client_is_oldfullscreen() that determines if a window is an "oldschool fullscreen window" or not.  use this throughout.  and allow oldschool fullscreen windows to move to 0,0 even with a strut there.

11 years agowhen an app tries to move to 0,0 and there is a strut there (java swing!), move it...
Dana Jansens [Mon, 1 Mar 2010 20:55:27 +0000 (15:55 -0500)]
when an app tries to move to 0,0 and there is a strut there (java swing!), move it to inside the strut instead (unless it is an oldschool fullscreen app)

11 years agomissing a g_slice_free
Dana Jansens [Fri, 26 Feb 2010 20:36:44 +0000 (15:36 -0500)]
missing a g_slice_free

11 years agolibexecdir is provided by automake, and gnome-settings-daemon is not always in /usr...
Dana Jansens [Wed, 24 Feb 2010 18:27:30 +0000 (13:27 -0500)]
libexecdir is provided by automake, and gnome-settings-daemon is not always in /usr/libexecdir, use the dir from automake

11 years agoType is a mandatory field of a .desktop, so add it to the old gnome-interfacing-deskt...
Dana Jansens [Wed, 24 Feb 2010 18:22:55 +0000 (13:22 -0500)]
Type is a mandatory field of a .desktop, so add it to the old gnome-interfacing-desktop file

11 years agoShow client menu on right click anywhere on a window frame (left and right were excluded)
Dana Jansens [Sun, 21 Feb 2010 18:40:01 +0000 (13:40 -0500)]
Show client menu on right click anywhere on a window frame (left and right were excluded)

11 years agoAdded shade-icon to client-menu
Tobias Gläßer [Sun, 21 Feb 2010 15:01:49 +0000 (16:01 +0100)]
Added shade-icon to client-menu

11 years agomake array large enough
Dana Jansens [Fri, 19 Feb 2010 22:17:14 +0000 (17:17 -0500)]
make array large enough

11 years agoget the modifier mask for a modifier key that is pressed/released more accurately...
Dana Jansens [Fri, 19 Feb 2010 21:58:33 +0000 (16:58 -0500)]
get the modifier mask for a modifier key that is pressed/released more accurately, using the table we built already for other purposes

11 years agosave the state of the modifiers only when starting an interactive action
Dana Jansens [Fri, 19 Feb 2010 20:53:36 +0000 (15:53 -0500)]
save the state of the modifiers only when starting an interactive action

11 years agomove the startup command launching into a helper function
Dana Jansens [Wed, 17 Feb 2010 21:15:08 +0000 (16:15 -0500)]
move the startup command launching into a helper function

11 years agorevamp the autostart functionality, so autostart apps launch after openbox.
Dana Jansens [Wed, 17 Feb 2010 21:11:36 +0000 (16:11 -0500)]
revamp the autostart functionality, so autostart apps launch after openbox.

add /usr/libexec/openbox-autostart which runs the global/user scripts and
  launches /usr/libexec/openbox-xdg-autostart (which runs .desktop autostart

make openbox-session call openbox with --startup option, to make openbox launch
  /usr/libexec/openbox-autostart *after* it is initialized.

add /etc/xdg/openbox/environment and ~/.config/openbox/environment files to let
  user change environment variables (locale) for their Openbox session, which
  openbox-session loads before running openbox.

11 years agodon't use a variable as a format string
Dana Jansens [Wed, 17 Feb 2010 16:44:12 +0000 (11:44 -0500)]
don't use a variable as a format string

11 years agoAdd skeleton for start of dot-desktop-file parser
Dana Jansens [Wed, 17 Feb 2010 03:08:03 +0000 (22:08 -0500)]
Add skeleton for start of dot-desktop-file parser

11 years agolower the default submenu show delay
Dana Jansens [Tue, 16 Feb 2010 13:19:00 +0000 (08:19 -0500)]
lower the default submenu show delay

11 years agoa couple more g_free() to g_slice_free()'s
Dana Jansens [Tue, 16 Feb 2010 21:41:21 +0000 (16:41 -0500)]
a couple more g_free() to g_slice_free()'s

11 years agomore using g_slice_new() instead of g_new()
Dana Jansens [Tue, 16 Feb 2010 21:26:18 +0000 (16:26 -0500)]
more using g_slice_new() instead of g_new()

11 years agomissed a g_free() that should be g_slice_free()
Dana Jansens [Tue, 16 Feb 2010 21:04:47 +0000 (16:04 -0500)]
missed a g_free() that should be g_slice_free()

11 years agodont trust the _NET_ACTIVE_WINDOW timestamp. (fixes bug #4519)
Dana Jansens [Mon, 15 Feb 2010 17:33:33 +0000 (12:33 -0500)]
dont trust the _NET_ACTIVE_WINDOW timestamp. (fixes bug #4519)

if we decide to focus the window, do not use their provided timestamp.
chromium gives a very old timestamp, which means we think we're focusing the
window but it never actually gets focus, leading to inconsistent behaviour by
openbox.  use the timestamp for making decisions about passing focus if you
want (we dont right now), but not for the XSetInputFocus call.

11 years agoRemove mismerge-added files
Mikael Magnusson [Sat, 13 Feb 2010 02:43:56 +0000 (03:43 +0100)]
Remove mismerge-added files

11 years agoinclude imlib2 as a dep of obrender in the pkg-config file if it's using it
Dana Jansens [Fri, 12 Feb 2010 20:13:39 +0000 (15:13 -0500)]
include imlib2 as a dep of obrender in the pkg-config file if it's using it

11 years agomake the obt .pc file do -lobt, not -lobrender
Dana Jansens [Fri, 12 Feb 2010 20:09:03 +0000 (15:09 -0500)]
make the obt .pc file do -lobt, not -lobrender

11 years agoremove a bunch of g_new()/g_free() by returning Rect const*'s from screen area functi...
Dana Jansens [Fri, 12 Feb 2010 19:36:53 +0000 (14:36 -0500)]
remove a bunch of g_new()/g_free() by returning Rect const*'s from screen area functions when possible

11 years agouse g_slice_new() instead of g_new() part 4
Dana Jansens [Fri, 12 Feb 2010 19:13:32 +0000 (14:13 -0500)]
use g_slice_new() instead of g_new() part 4

11 years agouse g_slice_new() instead of g_new() part 3
Dana Jansens [Fri, 12 Feb 2010 19:03:24 +0000 (14:03 -0500)]
use g_slice_new() instead of g_new() part 3

11 years agouse g_slice_new() instead of g_new() part 2
Dana Jansens [Fri, 12 Feb 2010 18:55:26 +0000 (13:55 -0500)]
use g_slice_new() instead of g_new() part 2

11 years agousing g_slice_new() instead of g_new() part 1
Dana Jansens [Fri, 12 Feb 2010 18:44:10 +0000 (13:44 -0500)]
using g_slice_new() instead of g_new() part 1

11 years agohave obt refresh the xlib keyboard stuff on mappingnotify events
Dana Jansens [Fri, 12 Feb 2010 18:31:49 +0000 (13:31 -0500)]
have obt refresh the xlib keyboard stuff on mappingnotify events

11 years agodestroy XIC's that belong to an XIM before closing the XIM, else Xlib will seggie!
Dana Jansens [Fri, 12 Feb 2010 13:11:27 +0000 (08:11 -0500)]
destroy XIC's that belong to an XIM before closing the XIM, else Xlib will seggie!

11 years agoCheck node->name for null
Mikael Magnusson [Fri, 12 Feb 2010 04:05:40 +0000 (05:05 +0100)]
Check node->name for null

Seems to happen sometimes with a well placed xml comment.

11 years agodont print warnings when reading keys which dont generate text
Dana Jansens [Thu, 11 Feb 2010 20:15:01 +0000 (15:15 -0500)]
dont print warnings when reading keys which dont generate text

11 years agomake control keys work in menus/dialogs/etc with the new obt code, using XLookup...
Dana Jansens [Thu, 11 Feb 2010 20:05:16 +0000 (15:05 -0500)]
make control keys work in menus/dialogs/etc with the new obt code, using XLookup stuff

11 years agoinitialize the action shutdown function to NULL
Dana Jansens [Thu, 11 Feb 2010 19:58:53 +0000 (14:58 -0500)]
initialize the action shutdown function to NULL

11 years agopass an input context to the interactive input function
Dana Jansens [Thu, 11 Feb 2010 19:39:09 +0000 (14:39 -0500)]
pass an input context to the interactive input function

11 years agomake menu input work with the new obt keyboard stuff.
Dana Jansens [Thu, 11 Feb 2010 19:17:59 +0000 (14:17 -0500)]
make menu input work with the new obt keyboard stuff.

create an Input Context for use during keyboard grabs, and use this to
  translate KeyPress events properly.
make the menu respond to KeyPress events, since these are the only ones that
  can be translated properly, but still execute things from KeyRelease events

11 years agomake the menu use the new obt stuff when reading keyboard input so it can handle...
Dana Jansens [Thu, 11 Feb 2010 18:59:15 +0000 (13:59 -0500)]
make the menu use the new obt stuff when reading keyboard input so it can handle input from the non-base group and composed input

11 years agomake obt translate keypress events to a valid utf8 character (note this makes openbox...
Dana Jansens [Thu, 11 Feb 2010 16:46:46 +0000 (11:46 -0500)]
make obt translate keypress events to a valid utf8 character (note this makes openbox not compile)

11 years agodon't strip the state for keyboard events
Dana Jansens [Thu, 11 Feb 2010 18:23:54 +0000 (13:23 -0500)]
don't strip the state for keyboard events

this allows translation of keys not in the base keyboard layout

11 years agoadd interface in obt to create an Input Context for a window
Dana Jansens [Thu, 11 Feb 2010 16:27:36 +0000 (11:27 -0500)]
add interface in obt to create an Input Context for a window

11 years agocreate an X Input Method in obt for the app to use for all input
Dana Jansens [Thu, 11 Feb 2010 16:16:17 +0000 (11:16 -0500)]
create an X Input Method in obt for the app to use for all input

11 years agoget xlib to reload the keyboard on MappingNotify events
Dana Jansens [Thu, 11 Feb 2010 16:00:41 +0000 (11:00 -0500)]
get xlib to reload the keyboard on MappingNotify events

11 years agoXKB header comes from obt
Dana Jansens [Thu, 11 Feb 2010 15:58:47 +0000 (10:58 -0500)]
XKB header comes from obt

11 years agocheck the xkb version before using it
Dana Jansens [Thu, 11 Feb 2010 15:58:16 +0000 (10:58 -0500)]
check the xkb version before using it

11 years agomake the execute action not segfault when using a prompt (bug #4543)
Dana Jansens [Thu, 11 Feb 2010 15:25:35 +0000 (10:25 -0500)]
make the execute action not segfault when using a prompt (bug #4543)

also save the client when using a prompt so it can be used if you choose "yes" from the prompt

11 years agoadd an optional shutdown function which actions can register
Dana Jansens [Thu, 11 Feb 2010 15:25:22 +0000 (10:25 -0500)]
add an optional shutdown function which actions can register

11 years agoi learnt what xkb does with the state.
Dana Jansens [Wed, 10 Feb 2010 02:03:01 +0000 (21:03 -0500)]
i learnt what xkb does with the state.

use the state from keyrelease events directly, rather than query the state (which is not as accurate!)

the xkb state (as opposed to the normally sent compat state) contains extra info like the keyboard group, the pointer buttons, etc.  so we can just strip that stuff out. (See section 2.2.2 of the XKB proto document)

11 years agodont assert when there is no valid key layout present
Dana Jansens [Tue, 9 Feb 2010 00:29:02 +0000 (19:29 -0500)]
dont assert when there is no valid key layout present

11 years agoUse correct ac variable in version.h.in
Mikael Magnusson [Wed, 10 Feb 2010 01:29:53 +0000 (02:29 +0100)]
Use correct ac variable in version.h.in

11 years agodon't link libobt into libobrender
Dana Jansens [Tue, 9 Feb 2010 15:59:58 +0000 (10:59 -0500)]
don't link libobt into libobrender

it makes "warning relinking" weird things happen when doing make install.
we already list it as dependency in the pkgconfig file anyway

11 years agofixing up obxprop manpage
Dana Jansens [Mon, 8 Feb 2010 20:04:35 +0000 (15:04 -0500)]
fixing up obxprop manpage

11 years agoMerge branch 'backport' into work
Dana Jansens [Mon, 8 Feb 2010 19:28:18 +0000 (14:28 -0500)]
Merge branch 'backport' into work

11 years agoadd doc/obxprop.1 to gitignore
Dana Jansens [Mon, 8 Feb 2010 19:27:49 +0000 (14:27 -0500)]
add doc/obxprop.1 to gitignore

11 years agoAdd obxprop manpage to install
Dana Jansens [Mon, 8 Feb 2010 19:17:09 +0000 (14:17 -0500)]
Add obxprop manpage to install

11 years agoUpdate the manpage for obxprop
Dana Jansens [Mon, 8 Feb 2010 18:55:29 +0000 (13:55 -0500)]
Update the manpage for obxprop

Specify that it allows you to specify properties on the command line.
Update the variable names to _OB_APP_*.

11 years agoMerge branch 'backport' into work
Dana Jansens [Fri, 5 Feb 2010 18:47:58 +0000 (13:47 -0500)]
Merge branch 'backport' into work

11 years agoInit all fonts to NULL, so if they arent in the config they use the default font
Dana Jansens [Thu, 28 Jan 2010 13:37:18 +0000 (08:37 -0500)]
Init all fonts to NULL, so if they arent in the config they use the default font

11 years agoAdd a hook to unset the client in the open menu frame instead of closing it
Mikael Magnusson [Mon, 18 Jan 2010 15:48:00 +0000 (16:48 +0100)]
Add a hook to unset the client in the open menu frame instead of closing it

Also nukes menu_frame_hide_all_client() as it is now unused.

11 years agoDon't close the menu when you held control even for execute
Mikael Magnusson [Mon, 18 Jan 2010 15:48:27 +0000 (16:48 +0100)]
Don't close the menu when you held control even for execute

11 years agoDon't alt-tab to skip_taskbar iconic windows if they have parents
Mikael Magnusson [Sat, 16 Jan 2010 18:32:44 +0000 (19:32 +0100)]
Don't alt-tab to skip_taskbar iconic windows if they have parents

11 years agomake xdg-autostart use the OPENBOX environment by default, so you can say OnlyShowIn...
Dana Jansens [Thu, 28 Jan 2010 01:01:24 +0000 (20:01 -0500)]
make xdg-autostart use the OPENBOX environment by default, so you can say OnlyShowIn=OPENBOX in a .desktop and it will work as expected

11 years agoFix bug #4492 better, the test in openbox-gnome-session needs to be inverted
Dana Jansens [Sun, 24 Jan 2010 05:07:56 +0000 (00:07 -0500)]
Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted

12 years agoadjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503)
Dana Jansens [Mon, 18 Jan 2010 21:08:23 +0000 (16:08 -0500)]
adjust who shows up in the alt-tab list using SKIP_TASKBAR (Fixes bug #4503)

allow window types != NORMAL to not show up in the alt-tab list
but don't allow DIALOG types to hide from the list
also any window which is DEMANDS_ATTENTION should appear in the list regardless
  of its SKIP_TASKBAR status

12 years agodon't use client_move() to end a move
Dana Jansens [Fri, 15 Jan 2010 22:49:54 +0000 (17:49 -0500)]
don't use client_move() to end a move

client_move() uses the client's current width/height, whereas all along we
  were using the width/height the client had at the start, so this causes
  client_configure() to behave differently at the end than during the move

12 years agoallow multiple escaped _'s in a menu label, and allow a real _ to come later in the...
Dana Jansens [Fri, 15 Jan 2010 21:40:29 +0000 (16:40 -0500)]
allow multiple escaped _'s in a menu label, and allow a real _ to come later in the label (Fixes bug #4355).

12 years agomake edge detection for maximized windows only look at the edges of screens
Dana Jansens [Fri, 15 Jan 2010 21:15:05 +0000 (16:15 -0500)]
make edge detection for maximized windows only look at the edges of screens

12 years agocatch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its stdin...
Dana Jansens [Fri, 15 Jan 2010 20:48:56 +0000 (15:48 -0500)]
catch the SIGTTOU and SIGTTIN signals when an app we launch tries to use its stdin/out (but we don't have one either).  Fixes bug #4072.

12 years agoif we get an event on a subwindow of root that we don't know about, but it is related...
Dana Jansens [Fri, 15 Jan 2010 20:07:42 +0000 (15:07 -0500)]
if we get an event on a subwindow of root that we don't know about, but it is related to a press we received on the root window, then process the event (Fixes bug #3702)

12 years agoRemember the maximized state of a window when it goes fullscreen and try restore...
Dana Jansens [Fri, 15 Jan 2010 19:50:36 +0000 (14:50 -0500)]
Remember the maximized state of a window when it goes fullscreen and try restore it after

12 years agoIf a window places itself at (0,0) and there are struts there, assume it is a bug...
Dana Jansens [Thu, 14 Jan 2010 23:38:40 +0000 (18:38 -0500)]
If a window places itself at (0,0) and there are struts there, assume it is a bug.  Also allow oldschool fullscreen windows that cover all monitors on a multihead setup to work properly

Added a test 'oldfullscreen' that makes a oldschool fullscreen window